public class IntervalKeepPairFilter extends java.lang.Object implements SamRecordFilter
| Constructor and Description |
|---|
IntervalKeepPairFilter(java.util.List<Interval> intervals)
Prepare to filter out SAMRecords that do not overlap the given list of
intervals
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterOut(SAMRecord record)
Determines whether a SAMRecord matches this filter.
|
boolean |
filterOut(SAMRecord first,
SAMRecord second)
Determines whether a pair of SAMRecord matches this filter
|
public IntervalKeepPairFilter(java.util.List<Interval> intervals)
intervals - public boolean filterOut(SAMRecord record)
IntervalFilter if you want to keep these reads, but NOTE: the
resulting bam may not be valid.filterOut in interface SamRecordFilterrecord - the SAMRecord to evaluatepublic boolean filterOut(SAMRecord first, SAMRecord second)
filterOut in interface SamRecordFilterfirst - the first SAMRecord to evaluatesecond - the second SAMRecord to evaluate