filter_intervals(vds, intervals, *, split_reference_blocks=False, keep=True)¶
Filter intervals in a
VariantDataset) – Dataset in VariantDataset representation.
bool) – If true, remove reference data outside the given intervals by segmenting reference blocks at interval boundaries. Results in a smaller result, but this filter mode is more computationally expensive to evaluate.
bool) – Whether to keep, or filter out (default) rows that fall within any interval in intervals.