Package htsjdk.samtools
Class HtsgetBAMFileReader.BAMQueryMultipleIntervalsIteratorFilter
java.lang.Object
htsjdk.samtools.HtsgetBAMFileReader.BAMQueryMultipleIntervalsIteratorFilter
- All Implemented Interfaces:
SamRecordFilter
- Enclosing class:
- HtsgetBAMFileReader
public static class HtsgetBAMFileReader.BAMQueryMultipleIntervalsIteratorFilter
extends Object
implements SamRecordFilter
Filters out records that do not match any of the given intervals and query type.
-
Constructor Summary
ConstructorsConstructorDescriptionBAMQueryMultipleIntervalsIteratorFilter(List<Locatable> intervals, boolean contained) -
Method Summary
-
Constructor Details
-
BAMQueryMultipleIntervalsIteratorFilter
-
-
Method Details
-
filterOut
Description copied from interface:SamRecordFilterDetermines whether a SAMRecord matches this filter- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
record- the SAMRecord to evaluate- Returns:
- true if the SAMRecord matches the filter, otherwise false
-
filterOut
Description copied from interface:SamRecordFilterDetermines whether a pair of SAMRecords matches this filter- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
first- the first SAMRecord to evaluatesecond- the second SAMRecord to evaluate- Returns:
- true if the pair of records matches filter, otherwise false
-