hail.vds.filter_intervals
- hail.vds.filter_intervals(vds, intervals, *, split_reference_blocks=False, keep=True)[source]
Filter intervals in a
VariantDataset
.- Parameters:
vds (
VariantDataset
) – Dataset in VariantDataset representation.intervals (
Table
orArrayExpression
of typetinterval
) – Intervals to filter on.split_reference_blocks (
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.keep (
bool
) – Whether to keep, or filter out (default) rows that fall within any interval in intervals.
- Returns: