annotate galaxy-tools/rdock.xml @ 0:4eb3f9cb2a51 draft

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