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

Added check on no readgroups

parent fb9a86be
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ trait MultisampleMappingTrait extends MultiSampleQScript
if (readGroup.getSample != sampleId) logger.warn("Sample ID readgroup in bam file is not the same")
if (readGroup.getLibrary != libId) logger.warn("Library ID readgroup in bam file is not the same")
readGroup.getSample == sampleId && readGroup.getLibrary == libId
})
}) && readGroups.nonEmpty
if (!readGroupOke || !dictOke) {
if (!readGroupOke && !correctReadgroups) Logging.addError(
......
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