Commit 67f8439a authored by pjvan_thof's avatar pjvan_thof
Browse files

Fixing paired flag for library metrics

parent f67a022c
...@@ -236,7 +236,7 @@ trait MultisampleMappingTrait extends MultiSampleQScript with Reference { qscrip ...@@ -236,7 +236,7 @@ trait MultisampleMappingTrait extends MultiSampleQScript with Reference { qscrip
bamMetrics.libId = Some(libId) bamMetrics.libId = Some(libId)
bamMetrics.inputBam = bamFile.get bamMetrics.inputBam = bamFile.get
bamMetrics.outputDir = new File(libDir, "metrics") bamMetrics.outputDir = new File(libDir, "metrics")
bamMetrics.paired = inputR2.isDefined bamMetrics.paired = inputR2.isDefined || inputBam.isDefined
add(bamMetrics) add(bamMetrics)
if (config("execute_bam2wig", default = true)) add(Bam2Wig(qscript, bamFile.get)) if (config("execute_bam2wig", default = true)) add(Bam2Wig(qscript, bamFile.get))
......
Supports Markdown
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