Re-allowing blacklist by read group id.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3571 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
f003703912
commit
c671864228
|
|
@ -58,7 +58,11 @@ public class ReadGroupBlackListFilter implements SamRecordFilter {
|
|||
|
||||
SAMReadGroupRecord samReadGroupRecord = samRecord.getReadGroup();
|
||||
if (samReadGroupRecord != null) {
|
||||
Object attribute = samReadGroupRecord.getAttribute(attributeType);
|
||||
Object attribute;
|
||||
if ("ID".equals(attributeType) || "RG".equals(attributeType))
|
||||
attribute = samReadGroupRecord.getId();
|
||||
else
|
||||
attribute = samReadGroupRecord.getAttribute(attributeType);
|
||||
if (attribute != null && filterEntry.getValue().contains(attribute))
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue