query_interval#
- AtlasClient.query_interval(interval, *, requested_scorers, ontology_terms=None, gene_ids=None, gene_names=None, progress_bar=True, max_workers=10)[source]#
Returns the scores for all Variants within an Interval.
- Parameters:
interval (
Interval) – Genomic interval to query. Scores are returned for all single nucleotide variants within the interval.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. Seequery_variantfor the layout.