Retrieve Variant Predictions for a Variant Identifier
get
/ohfapi/cg/v3.3/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: integer(int64)
Variant Row ID
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Root Schema : VariantPrediction
Type:
Show Source
object-
gene(optional):
array gene
List of Gene Predictions
-
identifier(optional):
object Identifier
Identifier assigned by a given system
-
resourceType(optional):
string
-
variantReferences(optional):
object LinkedReference
Nested Schema : Identifier
Type:
objectIdentifier assigned by a given system
Show Source
-
system(optional):
string
System which assigned this identifier
-
value(optional):
string
Identifier value
Nested Schema : GenePrediction
Type:
Show Source
object-
hugoName(optional):
string
Approved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc.
-
variantPredictions(optional):
array variantPredictions
List of Predictions
Nested Schema : Prediction
Type:
Show Source
object-
assembly(optional):
string
Assembly/Alignment Name. For ex.,GRCh38
-
ensemblVersion(optional):
string
Ensembl Version. For ex.,GRCH37.75
-
predictionCode(optional):
string
Prediction Code. For ex.,deleterious
-
predictionScore(optional):
number
Prediction Score .For ex.,1
-
predictionType(optional):
string
Prediction Type. for ex.,SIFT
-
predictionVersion(optional):
string
Prediction Version Label. For ex.,SIFT_VER2_75
-
transcriptId(optional):
string
Transcript ID. For.,ENST00000441069
-
variant(optional):
object LinkedReference
400 Response
Invalid parameters supplied
404 Response
Variant prediciton(s) not found
Examples
The following example submits a GET request.
API URL
http://localhost:7010/ohfapi/cg/v3.3/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": "/ohfapi/cg/v3.3/variants/536777"
}