Mercurial > repos > deepakjadmin > r_caret_test1
comparison PaDEL/temp.dir/padel.pl.original @ 0:a4a2ad5a214e draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Thu, 05 Nov 2015 02:37:56 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a4a2ad5a214e |
---|---|
1 $input=$ARGV[0]; | |
2 $all_coordinates=$ARGV[1]; | |
3 $fingerprint=$ARGV[2]; | |
4 $output=$ARGV[3]; | |
5 system("mkdir tmp"); | |
6 system("cp $input tmp/file.sdf"); | |
7 $command="/usr/bin/java -jar ~/galaxy-dist/tools/PaDEL/PaDEL-Descriptor.jar -dir tmp -2d -file $output"; | |
8 if($all_coordinates == 1 && $fingerprint==0) | |
9 { | |
10 $command = $command." -3d"; | |
11 } | |
12 elsif($fingerprint==1 && $all_coordinates==0) | |
13 { | |
14 $command = $command." -fingerprints"; | |
15 } | |
16 elsif ($all_coordinates==1 && $fingerprint==1) | |
17 { | |
18 $command = $command." -3d -fingerprints"; | |
19 } | |
20 system("$command"); | |
21 |