U.S. flag

An official website of the United States government

How to create URLs that link to GTR

GTR provides multiple views of data.  URLs can be constructed that return the equivalent of searches of All GTR, or searches restricted by Tests, Conditions/Phenotypes, Genes, or Labs. Set queries can be used to deliver subsets of GTR content, such as all laboratories and tests that are registered in the GTR.

The URL is constructed from the following base:

http://www.ncbi.nlm.nih.gov/gtr/

with additions as tabulated below.

Category Type Qualifier Example
How to build links to GTR
All GTR Any word or phrase ?term= http://www.ncbi.nlm.nih.gov/gtr/?term=warfarin
  A MIM number ?term=123456[mim] http://www.ncbi.nlm.nih.gov/gtr/?term=100800[mim]
  A gene symbol ?term=GLA[gene] http://www.ncbi.nlm.nih.gov/gtr/?term=GLA[gene]
  A condition identifier1 ?term=C0002986[discui] http://www.ncbi.nlm.nih.gov/gtr/?term=C0002986[discui]
  A laboratory name ?term=name[orgname] http://www.ncbi.nlm.nih.gov/gtr/?term=genedx[orgname]
Tests Any word or phrase tests/?term=panel http://www.ncbi.nlm.nih.gov/gtr/tests/?term=panel
  A GTR accession tests/GTR123456789 http://www.ncbi.nlm.nih.gov/gtr/tests/GTR000501760/
  A gene symbol tests/?term=GLA[gene] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=GLA[gene]
  A test name tests/?term=mitochondri*[testname] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=mitochondri*[testname]
  A laboratory name tests/?term=name[orgname] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=genedx[orgname]
  A director's name tests/?term=name[director] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=bale[director]
  A name of a city tests/?term=name[city] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=chicago[city]
  A condition identifier1 tests/?term=C0002986[discui] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=C0002986[discui]
  A MIM number tests/?term=100800[mim] http://www.ncbi.nlm.nih.gov/gtr/tests/?term=100800[mim]
Conditions Any word or phrase conditions/?term=deficiency http://www.ncbi.nlm.nih.gov/gtr/conditions/?term=deficiency
  A gene symbol conditions/?term=GLA[gene] http://www.ncbi.nlm.nih.gov/gtr/conditions/?term=GLA[gene]
  A condition identifier conditions/C0002986 http://www.ncbi.nlm.nih.gov/gtr/conditions/C0002986
  A MIM number conditions/?term=100800[mim] http://www.ncbi.nlm.nih.gov/gtr/conditions/?term=100800[mim]
  A drug name conditions/?term=name http://www.ncbi.nlm.nih.gov/gtr/conditions/?term=warfarin
Genes Any word or phrase of a name genes/?term=kinase http://www.ncbi.nlm.nih.gov/gtr/genes/?term=kinase
  A GeneID genes/?term=id[uid] http://www.ncbi.nlm.nih.gov/gtr/genes/?term=2[uid]
  A MIM number genes/?term=123456[mim] http://www.ncbi.nlm.nih.gov/gtr/genes/?term=100800[mim]
Labs Any word or phrase labs/?term=laboratory http://www.ncbi.nlm.nih.gov/gtr/labs/?term=laboratory
  A laboratory name labs/?term=cytogenetics[orgname] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=cytogenetics[orgname]
  A director's name labs/?term=name[director] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=morton[director]
  A staff member's name labs/?term=name[staff] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=smith[staff]
  A service labs/?term=name[labservice] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=chromosom*[labservice]
  A condition name labs/?term=name[disname] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=colorectal[disname]
  A city labs/?term=name[city] http://www.ncbi.nlm.nih.gov/gtr/labs/?term=chicago[city]
Set Queries All registered labs and tests ?term="src gtr"[Properties] http://www.ncbi.nlm.nih.gov/gtr/?term=%22src%20gtr%22[Properties]
1GTR uses identifiers for conditions grouped into concepts by the Unified Medical Language System (UMLS) and used by MedGen.

Last updated: 2018-03-22T20:13:32Z