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