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
- application/json
- application/xml
Path Parameters
-
id: integer(int64)
Variant Row ID
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Root Schema : VariantEffects
Type:
Show Source
object-
gene(optional):
array gene
List of Genes
-
identifier(optional):
object Identifier
Identifier assigned by a given system
-
resourceType(optional):
string
-
variantReferences(optional):
object LinkedReference
Nested Schema : Identifier
Type:
objectIdentifier assigned by a given system
Show Source
-
system(optional):
string
System which assigned this identifier
-
value(optional):
string
Identifier value
Nested Schema : VariantGene
Type:
Show Source
object-
hugoName(optional):
string
Approved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc.
-
variantEffect(optional):
array variantEffect
List of Variant Effects
Nested Schema : VariantEffect
Type:
Show Source
object-
aminoAcidChange(optional):
string
Protein Effect. For ex.,p.(195PAdelinsRT)
-
assembly(optional):
string
Assembly/Alignment Name. For ex.,GRCh38
-
ensemblVersion(optional):
string
Ensembl Version. For ex.,GRCH37.75
-
netEffect(optional):
string
Net Effect. For ex.,non-coding
-
transcriptId(optional):
string
Transcript 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: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"
}
}