Package htsjdk.samtools.filter
Class AlignedFilter
java.lang.Object
htsjdk.samtools.filter.AlignedFilter
- All Implemented Interfaces:
SamRecordFilter
Filter to either include or exclude aligned reads
$Id$
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AlignedFilter
public AlignedFilter(boolean includeAligned)
-
-
Method Details
-
filterOut
Determines whether a SAMRecord matches this filter- Specified by:
filterOut
in interfaceSamRecordFilter
- Parameters:
record
- the SAMRecord to evaluate- Returns:
- true if the SAMRecord matches the filter, otherwise false
-
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:
- true if the SAMRecords matches the filter, otherwise false
-