lookup_variant_references
Look up reference genome coordinates and alleles for SNP rsIDs.
Returns items, one per requested rsID, each with the variants the public reference records for it: chromosome, GRCh38 position, reference allele, and alternates. rsIDs with no record are listed in not_found.
This is reference data only: it does not read any sample. Use it to turn rsIDs into coordinates, then pass those to query_variants (positions) to see the observed genotypes. Send up to 100 rsIDs in one call rather than one call per SNP.
Parameters
| Parameter | Description |
|---|---|
rs_idsstring[] required | SNP rsIDs to look up, such as ['rs429358', 'rs7412']. Use this for reference coordinates and alleles by rsID. This does not query the user's uploaded sample genotypes. |
Response
| Field | Description |
|---|---|
itemsobject[] required | |
items[].rs_idstring required | |
items[].variantsobject[] required | Empty when the reference has no record. |
items[].variants[].alternatesstring[] required | |
items[].variants[].chromosomestring required | |
items[].variants[].positioninteger required | GRCh38 position. |
items[].variants[].referencestring required | |
not_foundstring[] required | Requested rsIDs with no reference record. |