Retrieve Variant Predictions for a Variant Identifier
get
/HSDataService-web/api/3.2.0/variants/{id}/variantPredictions
This endpoint supports the retrieval of Variant Predictions for Variant Identifier. It returns Variant Prediction information like HUGO Name, Transcript Identifier, Assembly/Alignment, Ensembl Version, Prediction Type, Prediction Code, Prediction Version and other Variant Prediction associated information.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
- id
-
Type:
integer(int64)Required:trueVariant Row ID
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Body
Root Schema : VariantPrediction
Type:
object- gene
-
Type:
arraygeneList of Gene Predictions - identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - resourceType
-
Type:
string - variantReferences
-
Type:
objectLinkedReference
Nested Schema : gene
Nested Schema : Identifier
Type:
objectIdentifier assigned by a given system
- system
-
Type:
stringSystem which assigned this identifier - value
-
Type:
stringIdentifier value
Nested Schema : LinkedReference
Type:
object- display
-
Type:
string - reference
-
Type:
string
Nested Schema : GenePrediction
Type:
object- hugoName
-
Type:
stringApproved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc. - variantPredictions
-
Type:
arrayvariantPredictionsList of Predictions
Nested Schema : variantPredictions
Nested Schema : Prediction
Type:
object- assembly
-
Type:
stringAssembly/Alignment Name. For ex.,GRCh38 - ensemblVersion
-
Type:
stringEnsembl Version. For ex.,GRCH37.75 - predictionCode
-
Type:
stringPrediction Code. For ex.,deleterious - predictionScore
-
Type:
numberPrediction Score .For ex.,1 - predictionType
-
Type:
stringPrediction Type. for ex.,SIFT - predictionVersion
-
Type:
stringPrediction Version Label. For ex.,SIFT_VER2_75 - transcriptId
-
Type:
stringTranscript ID. For.,ENST00000441069 - variant
-
Type:
objectLinkedReference
400 Response
Invalid parameters supplied
404 Response
Variant prediciton(s) not found
Examples
The following example submits a GET request.
API URL
http://localhost:7001/HSDataService-web/api/3.2.0/variants/536777/variantPredictions
Example of Response Body
The following example shows the response returned in JSON format.
{
"resourceType": "VariantPredictions",
"identifier": {
"system": "ODB",
"value": "536777"
},
"gene": [
{
"hugoName": "ASAP3",
"variantPrediction": [
{
"transcriptID": "ENST00000437606",
"assembly": "GRCh37",
"ensemblVersion": "GRCH37.75",
"predictionType": "SIFT",
"predictionCode": "deleterious",
"predictionScore": 0,
"predictionVersion": "SIFT_VER2_75"
},
{
"transcriptID": "ENST00000492982",
"assembly": "GRCh37",
"ensemblVersion": "GRCH37.75",
"predictionType": "SIFT",
"predictionCode": "deleterious",
"predictionScore": 0,
"predictionVersion": "SIFT_VER2_75"
}
]
}
],
"variant": {
"reference": "/HSDataService-web/api/3.2.0/HSDataService-web/api/3.2.0/variants/536777"
}