viola.Bedpe.filter
- Bedpe.filter(ls_query, query_logic)
Filter Bedpe object by the list of queries. Return object is also an instance of the Bedpe object
- Parameters
ls_query (str or List[str]) – A query or a list of query.
query_logic (str, default 'and') – Two options are allowed; (‘and’, ‘or’). If ‘and’ is specified, SV records that meet all the queries will be returned. If ‘or’ is specified, SV records that meet at lease one query will be returned.
Returnes –
---------- –
Bedpe – A Bedpe object that includes SV records filtered by queries.