annotate rdock.xml @ 2:0faa03a92843 draft default tip

Uploaded
author dzesikah
date Fri, 26 Aug 2016 10:19:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
1 <tool id="rdock" name="rdock" version="1.0">
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
2 <description>tail-to-head</description>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
3 <command>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
4 <![CDATA[
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
5 cat $inputmol2 > inputmol2.mol2; cat $inputprm | sed "s|RECEPTOR_FILE.*|RECEPTOR_FILE inputmol2.mol2|g" | sed "s|REF_MOL.*|REF_MOL ligand.sd|g" > new.prm;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
6 cp -r $__tool_directory__/tools/rdock/data .;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
7 mkdir data/ligands;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
8 cp $inputsd data/ligands/ligand.sd;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
9 LD_LIBRARY_PATH=$__tool_directory__/tools/rdock/lib $__tool_directory__/tools/rdock/bin/rbcavity -r new.prm -was > /tmp/rbcavity.log;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
10 LD_LIBRARY_PATH=$__tool_directory__/tools/rdock/lib $__tool_directory__/tools/rdock/bin/rbdock -r new.prm -p dock.prm -n 100 -i $inputsd -o output_docking_out > /tmp/docking_out.log;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
11 PERL5LIB=$__tool_directory__/tools/rdock/lib/ LD_LIBRARY_PATH=$__tool_directory__/tools/rdock/lib $__tool_directory__/tools/rdock/bin/sdsort -n -f'SCORE' output_docking_out.sd > sorted.sd;
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
12 PYTHONPATH=/usr/lib/python2.7/dist-packages/ $__tool_directory__/tools/rdock/bin/sdrmsd $inputsd sorted.sd > $output_rdock
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
13 ]]>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
14 </command>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
15 <inputs>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
16 <param name="inputprm" format="prm" type="data" label="PRM file" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
17 <param name="inputmol2" format="mol2" type="data" label="MOL2 file" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
18 <param name="inputsd" format="sd" type="data" label="SD file" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
19 </inputs>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
20 <outputs>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
21 <data name="output_rdock" format="data" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
22 </outputs>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
23 <tests>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
24 <test>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
25 <param name="inputprm" value="rdock/1sj0_rdock.prm" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
26 <param name="inputmol2" value="rdock/1sj0_rdock.mol2" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
27 <param name="inputsd" value="rdock/1sj0_ligand.sd" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
28 <output name="output_rdock">
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
29 <assert_contents>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
30 <has_n_columns n="2" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
31 </assert_contents>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
32 </output>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
33 </test>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
34 <test>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
35 <param name="inputprm" value="rdock/1nem_rdock.prm" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
36 <param name="inputmol2" value="rdock/1nem_rdock.mol2" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
37 <param name="inputsd" value="rdock/1nem_lig.sd" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
38 <output name="output_rdock">
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
39 <assert_contents>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
40 <has_n_columns n="2" />
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
41 </assert_contents>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
42 </output>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
43 </test>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
44 </tests>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
45 <help>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
46 rDock tool
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
47 </help>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
48 <citations>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
49 <citation type="doi">doi:10.1371/journal.pcbi.1003571</citation>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
50 </citations>
0faa03a92843 Uploaded
dzesikah
parents:
diff changeset
51 </tool>