public static final class FilterSam.ScriptFilter extends Object implements FilterSam.Filter
| Constructor and Description |
|---|
ScriptFilter(String script)
Create a new script filter with the specified script.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(SamRecord record)
Return true if the specified SAM record should be accepted by this filter.
|
public ScriptFilter(String script)
script - scriptpublic boolean accept(SamRecord record)
FilterSam.Filteraccept in interface FilterSam.Filterrecord - SAM recordCopyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).