Behave intelligently in the deepest levels of GATK record filtration when
we find a read flagged as 'mapped' in the unmapped region at the end of the file. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5365 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
7a22f19366
commit
5d4bbf41fb
|
|
@ -974,11 +974,11 @@ public class SAMDataSource {
|
|||
}
|
||||
}
|
||||
else {
|
||||
// Unmapped read filter; just check getReadUnmappedFlag().
|
||||
if(!candidateRead.getReadUnmappedFlag())
|
||||
continue;
|
||||
nextRead = candidateRead;
|
||||
break;
|
||||
// Found an unmapped read. We're done.
|
||||
if(candidateRead.getReadUnmappedFlag()) {
|
||||
nextRead = candidateRead;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// No more reads available. Stop the search.
|
||||
|
|
|
|||
Loading…
Reference in New Issue