Skip to content
Snippets Groups Projects
Commit a952d8c4 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Convert mapping to sortsam for pipes

parent 9a3356a5
No related branches found
No related tags found
No related merge requests found
......@@ -337,10 +337,10 @@ class Mapping(val root: Configurable) extends QScript with SummaryQScript with S
val sortSam = new SortSam(this)
sortSam.output = output
if (config("use_pipes", default = true).asBoolean) {
val samtoolsSort = new SamtoolsSort(this)
samtoolsSort.outputFormat = Some("bam")
samtoolsSort.output = output
add(bwaCommand | samtoolsSort, chunking || !skipMarkduplicates)
//val samtoolsSort = new SamtoolsSort(this)
//samtoolsSort.outputFormat = Some("bam")
//samtoolsSort.output = output
add(bwaCommand | sortSam, chunking || !skipMarkduplicates)
} else {
bwaCommand.output = swapExt(output.getParent, output, ".bam", ".sam")
add(bwaCommand)
......
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