Retrieve Variant Annotations for a Variant Identifier

get

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

This endpoint supports the retrieval of Variant Annotation for a Variant Identifier. It returns assorted Variant Annotation information that include Chromosome, Strand, Allele, Variant Type, Variant Length, Status, Assembly/Alignment Name, Ensembl Version and any Coding Region HGVS notation found. It additionally returns Annotation about any gene the variant falls in, including HUGO Name, Identifier of valid Transcripts, Gene Component Type Regions and other Reference Links

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : VariantAnnotation
Type: object
Show Source
Nested Schema : geneInfo
Type: array
List of Variant Genes
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source
Nested Schema : VariantAnnotationGene
Type: object
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : geneComponents
Type: array
List of Gene Components
Show Source
Nested Schema : hgvs
Type: array
List og HGVS Notations
Show Source
Nested Schema : GeneComponent
Type: object
Show Source
Nested Schema : transcripts
Type: array
List of Transcripts
Show Source
Nested Schema : Transcript
Type: object
Show Source
Nested Schema : componentTypes
Type: array
List of Component Types
Show Source
Nested Schema : Hgvs
Type: object
Show Source
Nested Schema : hgvsNotations
Type: array
List of HGVS Notations
Show Source

400 Response

Variant Id is not supplied
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/variants/31486

Example of Response Body

The following example shows the response returned in JSON format.

{
  "resourceType" : "VariantDetails",
  "identifier" : {
    "system" : "ODB",
    "value" : "31486"
  },
  "chromosome" : "1",
  "startPosition" : "1647871",
  "endPosition" : "1647871",
  "strand" : "+",
  "referenceAllele" : "T",
  "alternateAllele" : "C",
  "variantType" : "substitution",
  "variantLength" : "1",
  "status" : "KNOWN",
  "assembly" : "GRCh37",
  "geneInfo" : [ {
    "geneWid" : "137",
    "hugoName" : "CDK11A",
    "hgvs" : [ {
      "ensemblVersion" : "GRCH37.75",
      "hgvsNotations" : [ "ENST00000404249(CDK11A):c.402A>G", "ENST00000358779(CDK11A):c.372A>G", "ENST00000509982(CDK11A):c.402A>G"]
    } ],
    "geneComponents" : [ {
      "ensemblVersion" : "GRCH37.75",
      "transcripts" : [ {
        "transcriptId" : "ENST00000509982",
        "componentTypes" : [ "CDS", "mRNA" ]
      }, {
        "componentTypes" : [ "exon" ]
      }, {
        "transcriptId" : "ENST00000357760",
        "componentTypes" : [ "CDS", "mRNA" ]
      }]
    } ],
    "gene" : {
      "reference" : "/ohfapi/cg/v3.3/genes/137"
    }
  }, {
    "geneWid" : "138",
    "hugoName" : "RP1-283E3.8",
    "geneComponents" : [ {
      "ensemblVersion" : "GRCH37.75",
      "transcripts" : [ {
        "componentTypes" : [ "exon" ]
      }, {
        "transcriptId" : "ENST00000598846",
        "componentTypes" : [ "misc_RNA" ]
      } ]
    } ],
    "gene" : {
      "reference" : "/ohfapi/cg/v3.3/genes/138"
    }
  } ],
  "variantXref" : {
    "reference" : "/ohfapi/cg/v3.3/variants/31486/variantXRef"
  },
  "variantPrediction" : {
    "reference" : "/ohfapi/cg/v3.3/variants/31486/variantPredictions"
  },
  "variantEffect" : {
    "reference" : "/ohfapi/cg/v3.3/variants/31486/variantEffects"
  },
  "diseaseVariants" : {
    "reference" : "/ohfapi/cg/v3.3/variants/31486/diseases"
  },
  "cancerVariants" : {
    "reference" : "/ohfapi/cg/v3.3/variants/31486/cancer"
  }
}
Back to Top