Retrieve Gene for a Gene Identifier

get

/HSDataService-web/api/3.2.0/genes/{id}

This endpoint supports the retrieval of Gene for a single Gene Row ID passed. It returns Gene information like Gene Name, HUGO Name, Assembly/Alignment, Chromosome and other Gene related information.

Request

Supported Media Types
  • application/json
  • application/xml
Path Parameters
id
Type: integer (int64)
Required: true
Gene row ID

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
successful operation
Body
Root Schema : Gene
Type: object
Nested Schema : LinkedReference
Type: object
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
400 Response
Invalid parameters supplied
404 Response
Genes not found

Examples

The following example submits a GET request.

API URL

http://localhost:7001/HSDataService-web/api/3.2.0/genes/50259

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "resourceType": "GeneDetails",
  "identifier": {
    "system": "ODB",
    "value": "50259"
  },
  "geneName": "ENSG00000146648",
  "hugoName": "EGFR",
  "assembly": "GRCh37",
  "description": "epidermal growth factor receptor [Source:HGNCSymbol;Acc:3236]",
  "genomicPositions": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/genomicPositions"
  },
  "transcripts": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/transcripts"
  },
  "pathways": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/pathways"
  },
  "diseaseGenes": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/diseases"
  },
  "drugGenes": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/drugs"
  },
  "cancerGenes": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/cancer"
  },
  "geneXref": {
    "reference": "/HSDataService-web/api/3.2.0/genes/50259/geneXref"
  }
}