public class ReadNameFilter extends Object implements SamRecordFilter
Constructor and Description |
---|
ReadNameFilter(File readNameFilterFile,
boolean includeReads) |
ReadNameFilter(Set<String> readNameFilterSet,
boolean includeReads) |
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 SAMRecords matches this filter
|
public ReadNameFilter(File readNameFilterFile, boolean includeReads)
public boolean filterOut(SAMRecord record)
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