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 the forward() filter.

__init__(parallel=False, num_workers=-1)

Methods

__init__([parallel, num_workers])

forward(data)

Returns true/ or false on the given RNA