query_variant#
- AtlasClient.query_variant(variant, *, requested_scorers, ontology_terms=None, gene_ids=None, gene_names=None)[source]#
Returns the scores for a single Variant.
- Parameters:
variant (
Variant) – Variant to query.requested_scorers (
Sequence[str]) – Names of the variant scorers to retrieve.ontology_terms (
Sequence[OntologyTerm|str] |None(default:None)) – Optional ontology terms (or CURIE strings) used to filter tracks.gene_ids (
Sequence[str] |None(default:None)) – Optional Ensembl gene IDs used to filter gene-level scores.gene_names (
Sequence[str] |None(default:None)) – Optional gene symbols used to filter gene-level scores.
- Return type:
- Returns:
Mapping from scorer name to an
AnnDataof variant scores, with raw scores in.X, variant and gene metadata in.obs, track metadata in.var, scorer information in.unsand, when available, calibrated scores in the'quantiles'layer.