Repository 'hyphy_gard'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/hyphy_gard

Changeset 2:728d5b0af60f (2020-02-14)
Previous changeset 1:a03d87763f51 (2020-02-13) Next changeset 3:bff9a82d630d (2020-02-16)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit f14f2bae2b27dc04e574803c7d4442a64cfe43e4"
modified:
hyphy_gard.xml
macros.xml
b
diff -r a03d87763f51 -r 728d5b0af60f hyphy_gard.xml
--- a/hyphy_gard.xml Thu Feb 13 15:00:59 2020 -0500
+++ b/hyphy_gard.xml Fri Feb 14 16:43:58 2020 -0500
[
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<tool id="hyphy_gard" name="HyPhy-GARD" version="@VERSION@+galaxy0">
+<tool id="hyphy_gard" name="HyPhy-GARD" version="@VERSION@+galaxy1">
     <description>Genetic Algorithm for Recombination Detection</description>
     <macros>
         <import>macros.xml</import>
@@ -7,7 +7,7 @@
     <expand macro="requirements"/>
     <command detect_errors="exit_code"><![CDATA[
         ln -s '$input_file' gard_input.fa &&
-        @HYPHY_INVOCATION@ gard
+        @HYPHYMPI@ gard
             --alignment ./gard_input.fa
             --type '$datatype.value'
             #if str($datatype.value) == 'Codon':
b
diff -r a03d87763f51 -r 728d5b0af60f macros.xml
--- a/macros.xml Thu Feb 13 15:00:59 2020 -0500
+++ b/macros.xml Fri Feb 14 16:43:58 2020 -0500
[
@@ -80,6 +80,7 @@
             <yield/>
         </requirements>
     </xml>
+    <token name="@HYPHYMPI@">mpirun -np \${GALAXY_SLOTS:-1} HYPHYMPI</token>
     <token name="@HYPHY_ENVIRONMENT@"><![CDATA[export HYPHY=`which hyphy` &&
 export HYPHY_PATH=`dirname \$HYPHY` &&
 export HYPHY_LIB=`readlink -f \$HYPHY_PATH/../lib/hyphy` &&]]></token>