Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/how_do_i.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ Call :py:func:`display_genotypes`:

sg.display_genotypes(ds, max_variants=10)

Get the reference allele?
----------------------

The specification for [VCFs stored in Zarr](https://github.com/pystatgen/vcf-zarr-spec/blob/main/vcf_zarr_spec.md)
places the REF allele as the first allele in the ``variant_allele`` array. For example, the following will print out all the REF alleles

.. ipython:: python

ds.variant_allele[:,0].values

Subset the variables?
---------------------
Expand Down