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