diff raxml.xml @ 33:d2a97acb9cfc draft

planemo upload commit 34bbc567766bf5b1986ee91bb3e46c542a45e658-dirty
author tiagoantao
date Fri, 13 Nov 2015 10:58:55 -0500
parents 4218b973668e
children 40feb8095aee
line wrap: on
line diff
--- a/raxml.xml	Fri Nov 13 10:38:37 2015 -0500
+++ b/raxml.xml	Fri Nov 13 10:58:55 2015 -0500
@@ -5,12 +5,14 @@
   </requirements>
   <command interpreter="python">raxml.py
     ## Required parameters 
-    ## binary is hard-coded to the pthreads enabled raxml executable
-    --binary "raxmlHPC-PTHREADS"
+    ## binary is hard-coded to the pthreads enabled raxml executable if threads > 1
     ## (-T)
     ## Cannot have --threads 1
-    #if $getVar("GALAXY_SLOTS", None) is not None:
-    --threads \${GALAXY_SLOTS:-5}
+    #if $getVar("GALAXY_SLOTS", 1) == 1:
+        --binary "raxmlHPC"
+    else:
+        --binary "raxmlHPC-PTHREADS"
+        --threads \${GALAXY_SLOTS:-5}
     #end if
     ## (-s)
     --source $infile