Additional Endpoints
Explore genes and reference sequences, find variants in a region, and transform coordinates between assemblies.
| Method | Endpoint | Description |
|---|---|---|
| GET | /genes | List or search genes. |
| GET | /gene/{GNid} | Get a gene by its registry ID. |
| GET | /gene?HGNC.symbol={symbol} | Get a gene by HGNC symbol. |
| GET | /alleles?gene={symbol} | Find variants intersecting a gene. |
| GET | /alleles?refseq={sequence} | Find variants on a reference sequence. |
| GET | /refseqs | Find reference sequences by name or gene. |
| GET, POST | /coordinateTransform | Map coordinates between assemblies. |
Modifiers
Parameters apply only to the endpoints that support them.
| Parameter | Purpose |
|---|---|
fields | Select response fields; see Response fields. |
skip, limit | Skip records and limit the number returned. |
batch | Set the batch size for gene variant queries. |
begin, end | Specify the genomic region. |
refGenome | Specify the reference assembly when using a chromosome name. |
alignment | Choose left, right, or explicit alignment for shiftable variants. |
Query by gene
Use /genes to list known genes. Gene names are updated from the HGNC and MANE repositories.
Fetch the full gene list. Large responses may take time to load.
curl -X GET "https://reg.genome.network/genes"Use skip and limit to page through the gene list.
curl -X GET "https://reg.genome.network/genes?skip=1000&limit=10"Search by registry gene ID, HGNC symbol, or name:
curl -X GET "https://reg.genome.network/gene/GN017955"curl -X GET "https://reg.genome.network/gene?HGNC.symbol=LAMTOR5"curl -X GET "https://reg.genome.network/genes?name=LAMTOR5"Use fields to return only the gene details you need.
curl -X GET "https://reg.genome.network/genes?name=LAMTOR5&fields=none+locus+externalRecords.HGNC.symbol"HGNC and MANE updates can replace gene symbols. Gene searches accept deprecated names, while variant output uses current names. For example, searching for TB2 returns the symbol REEP5:
curl -X GET "https://reg.genome.network/genes?name=TB2&fields=none+externalRecords.HGNC.symbol"To query all variants that intersect a gene:
curl -X GET "https://reg.genome.network/alleles?gene=LAMTOR5"Use batch, skip, and limit to browse variants in smaller groups.
curl -X GET "https://reg.genome.network/alleles?gene=LAMTOR5&batch=100&skip=1000&limit=100"Gene symbols and intersections
Variant queries require the current gene symbol: use REEP5, not its deprecated name TB2.
Results include variants in exons and introns across a gene's transcripts. Inspect transcriptAlleles for transcript associations. A 30-nucleotide buffer around transcript exons can produce an association even when a variant does not directly intersect an exon.
Variants are returned in ascending genomic coordinate order (5′ to 3′).
Query by reference sequence and region
Query variants using a molecular reference sequence or a chromosome and reference assembly (GRCh38, GRCh37, or NCBI36).
Genomic regions
Provide begin and end for chromosomal sequences, for example begin=0&end=100000. Omitting the region produces an error. Molecular sequence queries can omit the region, but larger sequences take longer to process.
There is no fixed genomic range limit. Use fields to reduce response size. Results for this endpoint are streamed in batches of 64k variants.
curl -X GET "https://reg.genome.network/alleles?refseq=NM_020706.2&limit=10"curl -X GET "https://reg.genome.network/alleles?refseq=NM_020706.2&limit=10&fields=none+@id"curl -X GET "https://reg.genome.network/alleles?refseq=NM_020706.2&limit=10&fields=none+@id+communityStandardTitle"curl -X GET "https://reg.genome.network/alleles?refseq=NC_000001.11&limit=10&begin=0&end=100000"This example intentionally omits the region and returns an error:
curl -X GET "https://reg.genome.network/alleles?refseq=NC_000001.11"curl -X GET "https://reg.genome.network/alleles?refseq=chr1&refGenome=GRCh38&begin=0&end=100000&skip=100&limit=10"Set alignment to left, right, or explicit for shiftable variants.
curl -X GET "https://reg.genome.network/alleles?refseq=chr1&refGenome=GRCh38&begin=0&end=100000&alignment=left&skip=100&limit=10"Reference sequence details
Use /refseqs to find reference sequences by name or gene:
curl -X GET "https://reg.genome.network/refseqs?name=NC_000001.11"curl -X GET "https://reg.genome.network/refseqs?name=NM_001009931.2"curl -X GET "https://reg.genome.network/refseqs?name=NP_001009931.1"List the transcript sequences associated with a gene:
curl -X GET "https://reg.genome.network/refseqs?gene=HRNR"Coordinate Transform
Map genomic coordinates between the supported assemblies: GRCh38, GRCh37, and NCBI36.
curl -X GET "https://reg.genome.network/coordinateTransform?assembly=GRCh38&chr=1&start=32402564&end=32428530"curl -X GET "https://reg.genome.network/coordinateTransform?assembly=GRCh37&chr=1&start=32868165&end=32894131"curl -X GET "https://reg.genome.network/coordinateTransform?assembly=NCBI36&chr=1&start=32640752&end=32640752"For POST requests, declare the payload format with file:
| Format | Record layout |
|---|---|
acse | Assembly, chromosome, start, and end separated by tabs; one record per line. |
glDesc | assembly (chromosome:start-end); one record per line. |
curl -X POST "https://reg.genome.network/coordinateTransform?file=acse" --data $'GRCh38\t1\t1000020\t1000030\nGRCh38\tY\t2000022\t3000033\nGRCh38\t1\t1000020\t1000020\n'curl -X POST "https://reg.genome.network/coordinateTransform?file=glDesc" --data $'GRCh38 (chr1:1000020-1000030)\nGRCh38 (chrY:2000022-3000033)\nGRCh38 (chr1:10000020)'For a single coordinate, use the same value for start and end.
