0
|
1 <tool id="aaapadel001" name="PaDEL">
|
|
2 <description>"PaDEL Descriptor Calculation Tool"</description>
|
|
3 <command interpreter="">
|
|
4 #if '.smi' in $input.name
|
|
5 /bin/mkdir $input.extra_files_path;
|
|
6 ln -s $input $input.extra_files_path/molecule.smi;
|
|
7 /usr/bin/java -jar $__root_dir__/tools/PaDEL/PaDEL-Descriptor.jar -dir $input.extra_files_path/molecule.smi -2d $detectaromaticity $removesalt $standardizenitro $convert3d $retain3d $coordinate $fingerprint $retainorder -file $descriptor -log > $log ;
|
|
8 /bin/rm -rf $input.extra_files_path;
|
|
9 #else
|
|
10 /usr/bin/java -jar $__root_dir__/tools/PaDEL/PaDEL-Descriptor.jar -dir $input -2d $detectaromaticity $removesalt $standardizenitro $convert3d $retain3d $coordinate $fingerprint $retainorder -file $descriptor -log >$log
|
|
11 #end if
|
|
12 </command>
|
|
13
|
|
14 <inputs>
|
|
15 <param format="sdf" name="input" type="data" label="sdf/smile/mol2 file" optional= "false"/>
|
|
16
|
|
17 <param name="detectaromaticity" type="select" label="Detect the aroamaticity">
|
|
18 <option value = "-detectaromaticity" selected="TRUE" >YES</option>
|
|
19 <option value = "" >NO</option>
|
|
20 </param>
|
|
21
|
|
22 <param name="removesalt" type="select" label="Remove salt">
|
|
23 <option value = "-removesalt" selected="TRUE" >YES</option>
|
|
24 <option value = "" >NO</option>
|
|
25 </param>
|
|
26
|
|
27 <param name="standardizenitro" type="select" label="Standardize nitro groups">
|
|
28 <option value = "-standardizenitro" selected="TRUE" >YES</option>
|
|
29 <option value = "" >NO</option>
|
|
30 </param>
|
|
31
|
|
32 <param name="convert3d" type="select" label="convert in 3D">
|
|
33 <option value = "" selected="TRUE" >NO</option>
|
|
34 <option value = "-convert3d" >YES</option>
|
|
35 </param>
|
|
36
|
|
37 <param name="retain3d" type="select" label="Retain 3D coordinates">
|
|
38 <option value = "" selected="TRUE" >NO</option>
|
|
39 <option value = "-retain3d" >YES</option>
|
|
40
|
|
41 </param>
|
|
42
|
|
43 <param name="coordinate" type="select" label="calculate 3d descriptors">
|
|
44 <option value = "" selected="TRUE" >NO</option>
|
|
45 <option value = "-3d" >YES</option>
|
|
46 </param>
|
|
47
|
|
48 <param name="fingerprint" type="select" label="calculate fingerprints">
|
|
49 <option value = "" selected="TRUE" >NO</option>
|
|
50 <option value = "-fingerprints">YES</option>
|
|
51 </param>
|
|
52
|
|
53
|
|
54 <param name="retainorder" type="select" label="Retain molecules order">
|
|
55 <option value = "-retainorder" selected="TRUE">YES</option>
|
|
56 <option value = "" >NO</option>
|
|
57 </param>
|
|
58
|
|
59
|
|
60
|
|
61 <!--
|
|
62 <param name="3d" type="checkbox" label="Include 3D descriptors" description="add 3D descriptor" value="1" default="0" />
|
|
63 <param name="fingerprint" type="checkbox" label="Include PubChem fingerprints" description="calculate 881 fingerprints" value="1" default="0" />
|
|
64 -->
|
|
65 </inputs>
|
|
66
|
|
67 <outputs>
|
|
68 <data format="csv" name="descriptor" label="Descriptors File of $input.name "/>
|
|
69 <data format="txt" name="log" label="Log File of $input.name"/>
|
|
70 </outputs>
|
|
71
|
|
72 <help>
|
|
73 Input may be any sdf,smile or mol2 file and output file will be in CSV format.
|
|
74 </help>
|
|
75
|
|
76 </tool>
|