VariantDataset¶
-
class
hail.vds.
VariantDataset
[source]¶ Class for representing cohort-level genomic data.
This class facilitates a sparse, split representation of genomic data in which reference block data and variant data are contained in separate
MatrixTable
objects.- Parameters
reference_data (
MatrixTable
) – MatrixTable containing only reference block data.variant_data (
MatrixTable
) – MatrixTable containing only variant data.
Attributes
Dataset reference genome.
Methods
Write to path and then read from path.
Create a VariantDataset from a sparse MatrixTable containing variant and reference data.
The number of samples present.
Eagerly checks necessary representational properties of the VDS.
Write to path.
-
static
from_merged_representation
(mt, *, ref_block_fields=(), infer_ref_block_fields=True)[source]¶ Create a VariantDataset from a sparse MatrixTable containing variant and reference data.
-
property
reference_genome
¶ Dataset reference genome.
- Returns