Commit 1658c07f authored by bow's avatar bow
Browse files

Merge branch 'fix-readgroup' into 'develop'

Fix for #184

Fix for #184

See merge request !206
parents 64c8de96 2196bd9d
......@@ -476,9 +476,9 @@ class Mapping(val root: Configurable) extends QScript with SummaryQScript with S
RG += "PU:" + platformUnit + "\\t"
RG += "SM:" + sampleId.get + "\\t"
if (readgroupSequencingCenter.isDefined) RG += "CN:" + readgroupSequencingCenter.get + "\\t"
if (readgroupDescription.isDefined) RG += "DS" + readgroupDescription.get + "\\t"
if (readgroupDate != null) RG += "DT" + readgroupDate + "\\t"
if (predictedInsertsize.isDefined) RG += "PI" + predictedInsertsize.get + "\\t"
if (readgroupDescription.isDefined) RG += "DS:" + readgroupDescription.get + "\\t"
if (readgroupDate != null) RG += "DT:" + readgroupDate + "\\t"
if (predictedInsertsize.isDefined) RG += "PI:" + predictedInsertsize.get + "\\t"
RG.substring(0, RG.lastIndexOf("\\t"))
}
......
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