changeset 3:b4427dbb6ced draft default tip

Convert tool to use $GALAXY_SLOTS if available.
author Nate Coraor <nate@bx.psu.edu>
date Thu, 16 Jan 2014 13:11:51 -0500
parents 24fa4e22021a
children
files bwa_color_wrapper.xml bwa_wrapper.xml
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bwa_color_wrapper.xml	Tue Dec 17 09:20:58 2013 -0500
+++ b/bwa_color_wrapper.xml	Thu Jan 16 13:11:51 2014 -0500
@@ -6,7 +6,7 @@
   <parallelism method="basic"></parallelism>
   <command interpreter="python">
     bwa_wrapper.py 
-      --threads="4"
+      --threads="\${GALAXY_SLOTS:-4}"
       --color-space
 
       ## reference source
--- a/bwa_wrapper.xml	Tue Dec 17 09:20:58 2013 -0500
+++ b/bwa_wrapper.xml	Thu Jan 16 13:11:51 2014 -0500
@@ -6,7 +6,7 @@
   <parallelism method="basic"></parallelism>
   <command interpreter="python">
     bwa_wrapper.py 
-      --threads="4"
+      --threads="\${GALAXY_SLOTS:-4}"
 
       #if $input1.ext == "fastqillumina":
             --illumina1.3