Fixing typo in DPP
platform and library were exchanged when rebuilding the read group information
This commit is contained in:
parent
65a9159ac6
commit
e253f6f05d
|
|
@ -164,7 +164,7 @@ class DataProcessingPipeline extends QScript {
|
|||
for (rg <- readGroups) {
|
||||
val intermediateInBam: File = if (index == readGroups.length) { inBam } else { swapExt(outBam, ".bam", index+1 + "-rg.bam") }
|
||||
val intermediateOutBam: File = if (index > 1) {swapExt(outBam, ".bam", index + "-rg.bam") } else { outBam}
|
||||
val readGroup = new ReadGroup(rg.getReadGroupId, rg.getPlatform, rg.getLibrary, rg.getPlatformUnit, rg.getSample, rg.getSequencingCenter, rg.getDescription)
|
||||
val readGroup = new ReadGroup(rg.getReadGroupId, rg.getLibrary, rg.getPlatform, rg.getPlatformUnit, rg.getSample, rg.getSequencingCenter, rg.getDescription)
|
||||
add(addReadGroup(intermediateInBam, intermediateOutBam, readGroup))
|
||||
index = index - 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue