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 SamRecordFilterrecord - the SAMRecord to evaluatepublic boolean filterOut(SAMRecord first, SAMRecord second)
filterOut in interface SamRecordFilterfirst - the first SAMRecord to evaluatesecond - the second SAMRecord to evaluate