malariagen_data.ag3.Ag3.site_annotations#

Ag3.site_annotations(region: str | Region | Mapping, site_mask: str | None = None, inline_array: bool = True, chunks: str | Tuple[int, ...] = 'native') Dataset#

Load site annotations.

Parameters#

regionstr or Region or Mapping

Region of the reference genome. Can be a contig name, region string (formatted like “{contig}:{start}-{end}”), or identifier of a genome feature such as a gene or transcript.

site_maskstr or None, optional

Which site filters mask to apply. See the site_mask_ids property for available values.

inline_arraybool, optional, default: True

Passed through to dask from_array().

chunksstr or tuple of int, optional, default: ‘native’

If ‘auto’ let dask decide chunk size. If ‘native’ use native zarr chunks. Also, can be a target size, e.g., ‘200 MiB’, or a tuple of integers.

Returns#

Dataset

A dataset of site annotations.