|
0
|
1 <tool id="PaDEL789xsf1" name="PaDEL">
|
|
|
2 <requirements>
|
|
|
3 <requirement type="set_environment">PADEL_PATH</requirement>
|
|
|
4
|
|
|
5 </requirements>
|
|
|
6
|
|
|
7
|
|
|
8 <description>"PaDEL Descriptor Calculation Tool"</description>
|
|
|
9 <command interpreter="">
|
|
|
10 #if '.smi' in $input.name
|
|
|
11 /bin/mkdir $input.extra_files_path;
|
|
|
12 ln -s $input $input.extra_files_path/molecule.smi;
|
|
2
|
13 /usr/bin/java -jar \$PADEL_PATH/PaDEL-Descriptor.jar -dir $input.extra_files_path/molecule.smi $coordinate2d -maxruntime $maxruntime -waitingjobs $maxjob -threads $thread-$detectaromaticity $removesalt $standardizenitro $convert3d $retain3d $coordinate3d $fingerprint $retainorder -file $descriptor -log > $log ;
|
|
0
|
14 /bin/rm -rf $input.extra_files_path;
|
|
|
15 #else
|
|
2
|
16 /usr/bin/java -jar \$PADEL_PATH/PaDEL-Descriptor.jar -dir $input $coordinate2d -maxruntime $maxruntime -waitingjobs $maxjob -threads $thread $detectaromaticity $removesalt $standardizenitro $convert3d $retain3d $coordinate3d $fingerprint $retainorder -file $descriptor -log >$log
|
|
0
|
17 #end if
|
|
|
18 </command>
|
|
|
19
|
|
|
20 <inputs>
|
|
|
21 <param format="sdf" name="input" type="data" label="sdf/smile/mol2 file" optional= "false"/>
|
|
|
22
|
|
|
23 <param name="detectaromaticity" type="select" label="Detect the aroamaticity">
|
|
|
24 <option value = "-detectaromaticity" selected="TRUE" >YES</option>
|
|
|
25 <option value = "" >NO</option>
|
|
|
26 </param>
|
|
|
27
|
|
|
28 <param name="removesalt" type="select" label="Remove salt">
|
|
|
29 <option value = "-removesalt" selected="TRUE" >YES</option>
|
|
|
30 <option value = "" >NO</option>
|
|
|
31 </param>
|
|
|
32
|
|
|
33 <param name="standardizenitro" type="select" label="Standardize nitro groups">
|
|
|
34 <option value = "-standardizenitro" selected="TRUE" >YES</option>
|
|
|
35 <option value = "" >NO</option>
|
|
|
36 </param>
|
|
2
|
37
|
|
|
38 <param name="maxruntime" type="integer" value="300000" label="Set run time for individual molecule" help="in miliseconds" >
|
|
|
39 <validator type="empty_field" message="This field can't be left blank"/>
|
|
|
40 </param>
|
|
|
41
|
|
|
42 <param name="thread" type="integer" value="8" label="Workers for the job" help="set number of threads -1 for maximun " >
|
|
|
43 <validator type="empty_field" message="This field can't be left blank"/>
|
|
|
44 </param>
|
|
|
45
|
|
|
46
|
|
|
47 <param name="maxjob" type="integer" value="-1" label="Maximum waiting job per thread. " help="put -1 for maximum uitility or put positive inetger values upto 50" >
|
|
|
48 <validator type="empty_field" message="This field can't be left blank"/>
|
|
|
49 </param>
|
|
|
50
|
|
0
|
51
|
|
|
52 <param name="convert3d" type="select" label="convert in 3D">
|
|
|
53 <option value = "" selected="TRUE" >NO</option>
|
|
|
54 <option value = "-convert3d" >YES</option>
|
|
|
55 </param>
|
|
|
56
|
|
2
|
57
|
|
|
58
|
|
0
|
59 <param name="retain3d" type="select" label="Retain 3D coordinates">
|
|
|
60 <option value = "" selected="TRUE" >NO</option>
|
|
|
61 <option value = "-retain3d" >YES</option>
|
|
2
|
62
|
|
0
|
63
|
|
|
64 </param>
|
|
|
65
|
|
1
|
66 <param name="coordinate3d" type="select" label="calculate 3d descriptors">
|
|
0
|
67 <option value = "" selected="TRUE" >NO</option>
|
|
|
68 <option value = "-3d" >YES</option>
|
|
|
69 </param>
|
|
1
|
70
|
|
|
71 <param name="coordinate2d" type="select" label="calculate 2d descriptors">
|
|
|
72 <option value = "" >NO</option>
|
|
|
73 <option value = "-2d" selected="TRUE" >YES</option>
|
|
|
74 </param>
|
|
|
75
|
|
0
|
76
|
|
|
77 <param name="fingerprint" type="select" label="calculate fingerprints">
|
|
|
78 <option value = "" selected="TRUE" >NO</option>
|
|
|
79 <option value = "-fingerprints">YES</option>
|
|
|
80 </param>
|
|
|
81
|
|
|
82
|
|
|
83 <param name="retainorder" type="select" label="Retain molecules order">
|
|
|
84 <option value = "-retainorder" selected="TRUE">YES</option>
|
|
|
85 <option value = "" >NO</option>
|
|
|
86 </param>
|
|
|
87
|
|
|
88
|
|
|
89
|
|
|
90 <!--
|
|
|
91 <param name="3d" type="checkbox" label="Include 3D descriptors" description="add 3D descriptor" value="1" default="0" />
|
|
|
92 <param name="fingerprint" type="checkbox" label="Include PubChem fingerprints" description="calculate 881 fingerprints" value="1" default="0" />
|
|
|
93 -->
|
|
|
94 </inputs>
|
|
|
95
|
|
|
96 <outputs>
|
|
|
97 <data format="csv" name="descriptor" label="Descriptors File of $input.name "/>
|
|
|
98 <data format="txt" name="log" label="Log File of $input.name"/>
|
|
|
99 </outputs>
|
|
|
100
|
|
|
101 <help>
|
|
|
102 Input may be any sdf,smile or mol2 file and output file will be in CSV format.
|
|
|
103 </help>
|
|
|
104
|
|
|
105 </tool>
|