Package htsjdk.samtools.filter
Class InvertFilter
java.lang.Object
htsjdk.samtools.filter.InvertFilter
- All Implemented Interfaces:
SamRecordFilter
Wraps an existing filter and inverts it. If the wrapped
filter would have filtered something out this will keep it and vice versa.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InvertFilter
Constructor- Parameters:
filter
- the filter that this Filter inverts
-
-
Method Details
-
filterOut
Determines whether a SAMRecord matches this filter- Specified by:
filterOut
in interfaceSamRecordFilter
- Parameters:
record
- the SAMRecord to evaluate- Returns:
- inverts the result from filter
-
filterOut
Determines whether a pair of SAMRecord matches this filter- Specified by:
filterOut
in interfaceSamRecordFilter
- Parameters:
first
- the first SAMRecord to evaluatesecond
- the second SAMRecord to evaluate- Returns:
- inverts the result from filter
-