hail.vds.filter_variants

hail.vds.filter_variants(vds, variants_table, *, keep=True)[source]

Filter variants in a VariantDataset, without removing reference data.

Parameters:
  • vds (VariantDataset) – Dataset in VariantDataset representation.

  • variants_table (Table) – Variants to filter on.

  • keep (bool) – Whether to keep (default), or filter out the variants from variants_table.

Returns:

VariantDataset.