rnaglib.transforms.FilterTransform¶
- class rnaglib.transforms.FilterTransform(parallel=False, num_workers=-1)[source]¶
Reject items from a dataset based on some conditions. The
forward()
method returns True/False for the given RNA and the__call__()
method returns the RNAs which pass theforward()
filter.- __init__(parallel=False, num_workers=-1)¶
Methods
__init__
([parallel, num_workers])forward
(data)Returns true/ or false on the given RNA