Retrieve Gene for a Gene Identifier

get

/ohfapi/cg/v3.3/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
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : Gene
Type: object
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source

400 Response

Invalid parameters supplied

404 Response

Genes not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/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": "/ohfapi/cg/v3.3/genes/50259/genomicPositions"
  },
  "transcripts": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/transcripts"
  },
  "pathways": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/pathways"
  },
  "diseaseGenes": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/diseases"
  },
  "drugGenes": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/drugs"
  },
  "cancerGenes": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/cancer"
  },
  "geneXref": {
    "reference": "/ohfapi/cg/v3.3/genes/50259/geneXref"
  }
}
Back to Top