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:trueGene row ID
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Body
Root Schema : Gene
Type:
object- assembly
-
Type:
stringAssembly/Alignment Name. For ex.,GRCh38 - cancerGenes
-
Type:
objectLinkedReference - chromosome
-
Type:
stringChromosome Name. For ex.,'Y' - chromosomeReference
-
Type:
objectLinkedReference - description
-
Type:
stringGene Description - diseaseGenes
-
Type:
objectLinkedReference - drugGenes
-
Type:
objectLinkedReference - geneName
-
Type:
stringGene Name. For ex.,RN5S300 - geneReference
-
Type:
objectLinkedReference - geneXref
-
Type:
objectLinkedReference - genomicPositions
-
Type:
objectLinkedReference - hugoName
-
Type:
stringApproved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc. - identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - pathways
-
Type:
objectLinkedReference - resourceType
-
Type:
string - transcripts
-
Type:
objectLinkedReference
Nested Schema : LinkedReference
Type:
object- display
-
Type:
string - reference
-
Type:
string
Nested Schema : Identifier
Type:
objectIdentifier assigned by a given system
- system
-
Type:
stringSystem which assigned this identifier - value
-
Type:
stringIdentifier value
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"
}
}