Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
b3e8c237
Commit
b3e8c237
authored
Mar 04, 2016
by
Wai Yi Leung
Browse files
Merge branch 'fix-readgroup_check' into 'develop'
Added check on no readgroups Fixes #289 See merge request !342
parents
fb9a86be
39c422cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/MultisampleMappingTrait.scala
View file @
b3e8c237
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment