viola.Bedpe.filter_by_id

Bedpe.filter_by_id(arrlike_id)

Filter Bedpe object according to the list of SV ids. Return object is also an instance of the Bedpe object

Parameters

arrlike_id (list-like) – SV ids which you want to keep.

Returns

A Bedpe object with the SV id specified in the arrlike_id argument. All records associated with SV ids that are not in the arrlike_id will be discarded.

Return type

Bedpe