Enhance tophats to utilize GALAXY_SLOTS configuration when available.

This commit is contained in:
John Chilton
2013-11-05 13:46:06 -06:00
parent cfb194f0a0
commit 1614f791c1
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
tophat2
## Change this to accommodate the number of threads you have available.
--num-threads 4
--num-threads \${GALAXY_SLOTS:-4}
## Set params.
#if $params.settingsType == "full":
+1 -1
View File
@@ -6,7 +6,7 @@
<command interpreter="python">
tophat_wrapper.py
## Change this to accommodate the number of threads you have available.
--num-threads="4"
--num-threads="\${GALAXY_SLOTS:-4}"
## base- or color-space
--color-space
+1 -2
View File
@@ -10,8 +10,7 @@
<command interpreter="python">
tophat_wrapper.py
## Change this to accommodate the number of threads you have available.
--num-threads="4"
--num-threads="\${GALAXY_SLOTS:-4}"
## Provide outputs.
--junctions-output=$junctions
--hits-output=$accepted_hits