viola.MultiVcf.filter_by_id

MultiVcf.filter_by_id(arrlike_id)

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

Parameters

arrlike_id (list-like) – Global ids which you would like to keep.

Returns

A MultiBedpe 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

MultiBedpe