Retrieve Variant Annotations for a Variant Identifier

get

/HSDataService-web/api/3.2.0/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
  • application/json
  • application/xml
Path Parameters
id
Type: integer (int64)
Required: true
Variant Row ID

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
successful operation
Body
Root Schema : VariantAnnotation
Type: object
Nested Schema : geneInfo
Type: array
List of Variant Genes
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Nested Schema : VariantAnnotationGene
Type: object
Nested Schema : LinkedReference
Type: object
Nested Schema : geneComponents
Type: array
List of Gene Components
Nested Schema : hgvs
Type: array
List og HGVS Notations
Nested Schema : GeneComponent
Type: object
Nested Schema : transcripts
Type: array
List of Transcripts
Nested Schema : Transcript
Type: object
Nested Schema : componentTypes
Type: array
List of Component Types
Nested Schema : Hgvs
Type: object
Nested Schema : hgvsNotations
Type: array
List of HGVS Notations
400 Response
Variant Id is not supplied

Examples

The following example submits a GET request.

API URL

http://localhost:7001/HSDataService-web/api/3.2.0/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" : "/HSDataService-web/api/3.2.0/genes/137"
    }
  }, {
    "geneWid" : "138",
    "hugoName" : "RP1-283E3.8",
    "geneComponents" : [ {
      "ensemblVersion" : "GRCH37.75",
      "transcripts" : [ {
        "componentTypes" : [ "exon" ]
      }, {
        "transcriptId" : "ENST00000598846",
        "componentTypes" : [ "misc_RNA" ]
      } ]
    } ],
    "gene" : {
      "reference" : "/HSDataService-web/api/3.2.0/genes/138"
    }
  } ],
  "variantXref" : {
    "reference" : "/HSDataService-web/api/3.2.0/variants/31486/variantXRef"
  },
  "variantPrediction" : {
    "reference" : "/HSDataService-web/api/3.2.0/variants/31486/variantPredictions"
  },
  "variantEffect" : {
    "reference" : "/HSDataService-web/api/3.2.0/variants/31486/variantEffects"
  },
  "diseaseVariants" : {
    "reference" : "/HSDataService-web/api/3.2.0/variants/31486/diseases"
  },
  "cancerVariants" : {
    "reference" : "/HSDataService-web/api/3.2.0/variants/31486/cancer"
  }
}