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