Commit b14d290d authored by Wai Yi Leung's avatar Wai Yi Leung

Add mergejob

parent 07c70b86
......@@ -251,11 +251,12 @@ trait GearsTrait extends MultiSampleQScript with SummaryQScript { qscript =>
if (inFiles.size == 1) inFiles.head
else {
val mergedBam = createFile(".merged.bam")
val job = new MergeSamFiles(qscript)
job.input = inFiles
job.output = mergedBam
job.sortOrder = mergeSortOrder
job.output
val mergejob = new MergeSamFiles(qscript)
mergejob.input = inFiles
mergejob.output = mergedBam
mergejob.sortOrder = mergeSortOrder
add(mergejob)
mergejob.output
}
}
......
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