Get Variant Annotation Details
myvariant.variants.infoRetrieve comprehensive annotation for a single genetic variant by its dbSNP rsID (e.g. "rs671") or HGVS genomic notation. Returns complete annotation from 30+ integrated databases: ClinVar clinical significance and disease conditions, CADD pathogenicity scores (raw + PHRED), gnomAD exome and genome allele frequencies across ancestry groups (AFR, EUR, EAS, AMR, ASJ), SnpEff predicted functional consequences with HGVS coding and protein notations, dbSNP allele frequency data, COSMIC somatic mutation records, CIViC clinical interpretations, and genomic coordinates in both GRCh37 (hg19) and GRCh38 (hg38). Essential for variant interpretation pipelines, pharmacogenomics analysis, and clinical variant classification (ACMG guidelines).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated annotation fields to retrieve. Default: dbsnp,clinvar,cadd,gnomad_exome,gnomad_genome,snpeff,vcf,chrom,hg19. Optional: dbnsfp (functional predictions), cosmic (somatic), civic (clinical), gwassnps (GWAS associations), hg38 (GRCh38 coordinates). Use "all" for complete annotation. | |
| variant_id | Yes | Variant identifier — dbSNP rsID (e.g. "rs58991260"), or HGVS genomic notation (e.g. "chr7:g.140453134A>T" — use URL-encoded form when needed). rsIDs are preferred as they are stable across assemblies. Obtain IDs from myvariant.search results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |