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
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : VariantPrediction
Type: object
Show Source
Nested Schema : gene
Type: array
List of Gene Predictions
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : GenePrediction
Type: object
Show Source
Nested Schema : variantPredictions
Type: array
List of Predictions
Show Source
Nested Schema : Prediction
Type: object
Show Source

400 Response

Invalid parameters supplied

404 Response

Variant prediciton(s) not found
Back to Top

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"
 }
Back to Top