rnaglib.transforms.SizeFilter¶
- class rnaglib.transforms.SizeFilter(min_size=0, max_size=-1, **kwargs)[source]¶
Reject RNAs that are not in the given size bounds.
- Parameters:
min_size (
int
) – smallest allowed number of residuesmax_size (
int
) – largest allowed number of residues. Default -1 which means no upper bound.
Methods
__init__
([min_size, max_size])forward
(rna_dict)Returns true/ or false on the given RNA