Commit 946ea4c2 authored by Peter van 't Hof's avatar Peter van 't Hof

Fixed outputDirs

parent 60fc26c3
......@@ -57,7 +57,10 @@ class ShivaSvCalling(val root: Configurable) extends QScript with SummaryQScript
require(inputBams.nonEmpty, "No input bams found")
require(callers.nonEmpty, "must select at least 1 SV caller, choices are: " + callersList.map(_.name).mkString(", "))
callers.foreach(add)
callers.foreach { caller =>
caller.outputDir = new File(outputDir, caller.name)
add(caller)
}
addSummaryJobs()
}
......
......@@ -87,6 +87,7 @@ trait ShivaVariantcallingTrait extends SummaryQScript
for (caller <- callers) {
caller.inputBams = inputBams
caller.namePrefix = namePrefix
caller.outputDir = new File(outputDir, caller.name)
add(caller)
addStats(caller.outputFile, caller.name)
val normalize: Boolean = config("execute_vt_normalize", default = false, submodule = caller.configName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment