public static final class FilterFasta.LengthFilter extends Object implements FilterFasta.Filter
| Constructor and Description |
|---|
LengthFilter(int length)
Create a new length filter with the specified length.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.biojava.bio.seq.Sequence sequence)
Return true if the specified FASTA sequence record should be accepted by this filter.
|
public LengthFilter(int length)
length - lengthpublic boolean accept(org.biojava.bio.seq.Sequence sequence)
FilterFasta.Filteraccept in interface FilterFasta.Filtersequence - FASTA sequence recordCopyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).