lookup_variant_references

read-onlyidempotent

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

rs_ids
string[]
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

items
object[]
required
items[].rs_id
string
required
items[].variants
object[]
required

Empty when the reference has no record.

items[].variants[].alternates
string[]
required
items[].variants[].chromosome
string
required
items[].variants[].position
integer
required

GRCh38 position.

items[].variants[].reference
string
required
not_found
string[]
required

Requested rsIDs with no reference record.