Repository 'rxdock_rbcavity'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/rxdock_rbcavity

Changeset 2:7fac8e7a12d5 (2020-06-03)
Previous changeset 1:583dcdbdbf42 (2020-04-25) Next changeset 3:0848d3b1a46f (2020-07-28)
Commit message:
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/rxdock commit 4a2d8ff54cacd0a755154760729058ab3cf28ee1"
modified:
rbcavity.xml
rxdock_macros.xml
removed:
rbdock.py
b
diff -r 583dcdbdbf42 -r 7fac8e7a12d5 rbcavity.xml
--- a/rbcavity.xml Sat Apr 25 08:58:47 2020 -0400
+++ b/rbcavity.xml Wed Jun 03 12:56:49 2020 -0400
b
@@ -1,4 +1,4 @@
-<tool id="rxdock_rbcavity" name="rxDock cavity definition" version="0.1">
+<tool id="rxdock_rbcavity" name="rxDock cavity definition" version="0.1.5">
     <description>- generate the active site definition needed for rxDock docking</description>
     <macros>
         <import>rxdock_macros.xml</import>
b
diff -r 583dcdbdbf42 -r 7fac8e7a12d5 rbdock.py
--- a/rbdock.py Sat Apr 25 08:58:47 2020 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
[
@@ -1,28 +0,0 @@
-import subprocess
-import argparse
-
-def main():
-    parser = argparse.ArgumentParser(description='Simple wrapper for rbdock')
-    parser.add_argument('-n', '--num', type=int, help='Number of docking poses to generate')
-    parser.add_argument('-s', '--seed', type=int, help='Random seed')
-    args = parser.parse_args()
-
-    cmd = ['rbdock', '-i', 'ligands.sdf', '-r', 'receptor.prm', '-p', 'dock.prm', '-n', str(args.num), '-o', 'rdock_output']
-    if args.seed != None:
-        cmd += ['-s', str(args.seed)]
-
-    ps = subprocess.Popen(cmd, stdout=subprocess.PIPE)
-
-    error_counter = 0
-    for stdout_line in iter(ps.stdout.readline, ''):
-        if 'RBT_DOCKING_ERROR' in str(stdout_line):
-                error_counter += 1
-                if error_counter == 10:
-                    print(ps.stdout)
-                    exit(23)
-        if ps.poll() != None:
-            print(ps.stdout)
-            exit(int(ps.poll()))
-
-if __name__ == "__main__":
-    main()
b
diff -r 583dcdbdbf42 -r 7fac8e7a12d5 rxdock_macros.xml
--- a/rxdock_macros.xml Sat Apr 25 08:58:47 2020 -0400
+++ b/rxdock_macros.xml Wed Jun 03 12:56:49 2020 -0400
b
@@ -6,7 +6,7 @@
     </xml>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="2013.1.0_b93747f3">rxdock</requirement>
+            <requirement type="package" version="2013.1.1_148c5bd1">rxdock</requirement>
         </requirements>
     </xml>
 </macros>