annotate padelnew.xml @ 0:c43eeb92e459 draft default tip

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