# HG changeset patch # User marpiech # Date 1472471858 14400 # Node ID c7b5489be9550e7efac1ac44541f0e265e9e94b8 planemo upload diff -r 000000000000 -r c7b5489be955 rdock.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rdock.xml Mon Aug 29 07:57:38 2016 -0400 @@ -0,0 +1,51 @@ + + tail-to-head + + inputmol2.mol2; cat $inputprm | sed "s|RECEPTOR_FILE.*|RECEPTOR_FILE inputmol2.mol2|g" | sed "s|REF_MOL.*|REF_MOL ligand.sd|g" > new.prm; + cp -r $__tool_directory__/tools/rdock/data .; + mkdir data/ligands; + cp $inputsd data/ligands/ligand.sd; + LD_LIBRARY_PATH=$__tool_directory__/tools/rdock/lib $__tool_directory__/tools/rdock/bin/rbcavity -r new.prm -was > /tmp/rbcavity.log; + 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; + 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; + PYTHONPATH=/usr/lib/python2.7/dist-packages/ $__tool_directory__/tools/rdock/bin/sdrmsd $inputsd sorted.sd > $output_rdock + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + rDock tool + + + doi:10.1371/journal.pcbi.1003571 + +