Skip to content
Snippets Groups Projects
Commit eff9c5cd authored by bow's avatar bow
Browse files

Fix wrong threads setting in Bowtie and Bwa wrappers

parent 544eb3a0
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Bowtie(val root: Configurable) extends BiopetCommandLineFunction {
/** return commandline to execute */
def cmdLine = {
required(executable) +
optional("--threads", nCoresRequest) +
optional("--threads", threads) +
conditional(sam, "--sam") +
conditional(best, "--best") +
conditional(strata, "--strata") +
......
......@@ -51,6 +51,7 @@ class BwaAln(val root: Configurable) extends Bwa {
/** Returns command to execute */
def cmdLine = required(executable) +
required("aln") +
optional("-t", threads) +
optional("-n", n) +
optional("-o", o) +
optional("-e", e) +
......
......@@ -77,7 +77,7 @@ class BwaMem(val root: Configurable) extends Bwa {
required("mem") +
optional("-k", k) +
optional("-r", r) +
optional("-t", nCoresRequest) +
optional("-t", threads) +
optional("-R", R) +
conditional(M, "-M") +
conditional(S, "-S") +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment