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
- application/json
- application/xml
Path Parameters
-
id: integer(int64)
Minimum Value:
0
Gene row ID
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Root Schema : Gene
Type:
Show Source
object
-
assembly(optional):
string
Assembly/Alignment Name. For ex.,GRCh38
-
cancerGenes(optional):
object LinkedReference
-
chromosome(optional):
string
Chromosome Name. For ex.,'Y'
-
chromosomeReference(optional):
object LinkedReference
-
description(optional):
string
Gene Description
-
diseaseGenes(optional):
object LinkedReference
-
drugGenes(optional):
object LinkedReference
-
geneName(optional):
string
Gene Name. For ex.,RN5S300
-
geneReference(optional):
object LinkedReference
-
geneXref(optional):
object LinkedReference
-
genomicPositions(optional):
object LinkedReference
-
hugoName(optional):
string
Approved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc.
-
identifier(optional):
object Identifier
Identifier assigned by a given system
-
pathways(optional):
object LinkedReference
-
resourceType(optional):
string
-
transcripts(optional):
object LinkedReference
Nested Schema : Identifier
Type:
object
Identifier assigned by a given system
Show Source
-
system(optional):
string
System which assigned this identifier
-
value(optional):
string
Identifier value
400 Response
Invalid parameters supplied
404 Response
Genes not found
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" } }