Retrieve Variant Effects for a Variant Identifier

get

/ohfapi/cg/v3.3/variants/{id}/variantEffects

This endpoint supports the retrieval of Variant Effects by Variant Identifier. The returns Variant Effect information like HUGO Name, Transcript Identifier, Assembly/Alignment Name, Ensembl Version, Amino Acid Change and other Variant Effect associated information.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : VariantEffects
Type: object
Show Source
Nested Schema : gene
Type: array
List of Genes
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : VariantGene
Type: object
Show Source
Nested Schema : variantEffect
Type: array
List of Variant Effects
Show Source
Nested Schema : VariantEffect
Type: object
Show Source

400 Response

Variant Id is not supplied

404 Response

Variant effect(s) not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/variants/7838/variantEffects

Example of Response Body

The following example shows the response returned in JSON format.

{
"resourceType" : "VariantEffects",
  "identifier" : {
    "system" : "ODB",
    "value" : "7838"
  },
  "gene" : [ {
    "hugoName" : "SAMD11",
    "variantEffect" : [ {
      "transcriptId" : "ENST00000341065",
      "assembly" : "GRCh37",
      "ensemblVersion" : "GRCH37.75",
      "netEffect" : "synonymous",
      "aminoAcidChange" : "p.(518=)"
    }, {
      "transcriptId" : "ENST00000342066",
      "assembly" : "GRCh37",
      "ensemblVersion" : "GRCH37.75",
      "netEffect" : "synonymous",
      "aminoAcidChange" : "p.(610=)"
    }, {
      "transcriptId" : "ENST00000455979",
      "assembly" : "GRCh37",
      "ensemblVersion" : "GRCH37.75",
      "netEffect" : "synonymous",
      "aminoAcidChange" : "p.(470=)"
    } ]
  } ],
  "variantReferences" : {
    "reference" : "/ohfapi/cg/v3.3/variants/7838"
  }
}
Back to Top