Loosen a restriction on isOriginalRead()
* no longer needs to satisfy ReadAndIntervalOverlap.OVERLAP_CONTAINED
This commit is contained in:
parent
07822d6c0f
commit
6c6a324583
|
|
@ -663,7 +663,7 @@ public class ReduceReadsWalker extends ReadWalker<LinkedList<GATKSAMRecord>, Red
|
||||||
* @return Returns true if the read is the original read that went through map().
|
* @return Returns true if the read is the original read that went through map().
|
||||||
*/
|
*/
|
||||||
private boolean isOriginalRead(LinkedList<GATKSAMRecord> list, GATKSAMRecord read) {
|
private boolean isOriginalRead(LinkedList<GATKSAMRecord> list, GATKSAMRecord read) {
|
||||||
return isWholeGenome() || (list.getFirst().equals(read) && ReadUtils.getReadAndIntervalOverlapType(read, intervalList.first()) == ReadUtils.ReadAndIntervalOverlap.OVERLAP_CONTAINED);
|
return isWholeGenome() || list.getFirst().equals(read);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue