query_variants#
- AtlasClient.query_variants(variants, *, requested_scorers, ontology_terms=None, gene_ids=None, gene_names=None, progress_bar=True, max_workers=10)[source]#
Returns the scores for multiple Variants.
- Parameters:
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.progress_bar (
bool(default:True)) – Whether to show a progress bar.max_workers (
int(default:10)) – Maximum number of concurrent requests.
- Return type:
- Returns:
Mapping from scorer name to an
AnnDataof variant scores, with one observation per variant (or per variant and gene for gene-level scorers). Seequery_variantfor the layout.