Retrieve Variant Effects for a Variant Identifier
get
/HSDataService-web/api/3.2.0/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
- application/json
- application/xml
Path Parameters
- id
-
Type:
integer(int64)Required:trueVariant Row ID
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Body
Root Schema : VariantEffects
Type:
object- gene
-
Type:
arraygeneList of Genes - identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - resourceType
-
Type:
string - variantReferences
-
Type:
objectLinkedReference
Nested Schema : gene
Nested Schema : Identifier
Type:
objectIdentifier assigned by a given system
- system
-
Type:
stringSystem which assigned this identifier - value
-
Type:
stringIdentifier value
Nested Schema : LinkedReference
Type:
object- display
-
Type:
string - reference
-
Type:
string
Nested Schema : VariantGene
Type:
object- hugoName
-
Type:
stringApproved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc. - variantEffect
-
Type:
arrayvariantEffectList of Variant Effects
Nested Schema : variantEffect
Nested Schema : VariantEffect
Type:
object- aminoAcidChange
-
Type:
stringProtein Effect. For ex.,p.(195PAdelinsRT) - assembly
-
Type:
stringAssembly/Alignment Name. For ex.,GRCh38 - ensemblVersion
-
Type:
stringEnsembl Version. For ex.,GRCH37.75 - netEffect
-
Type:
stringNet Effect. For ex.,non-coding - transcriptId
-
Type:
stringTranscript ID. For.,ENST00000441069
400 Response
Variant Id is not supplied
404 Response
Variant effect(s) not found
Examples
The following example submits a GET request.
API URL
http://localhost:7001/HSDataService-web/api/3.2.0/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" : "/HSDataService-web/api/3.2.0/variants/7838"
}
}