Retrieve Variant Cancers for a Variant Identifier
get
/HSDataService-web/api/3.2.0/variants/{id}/cancer
This endpoint supports the retrieval of Variant Cancers for a Variant Identifier. It retuns Variant Cancer information like HUGO Name, Transcript Identifier, Assembly/Alignment Name, Ensembl Version, Amino Acid Change and other Variant Cancer 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 : VariantCancers
Type:
object- cancerVariant
-
Type:
arraycancerVariantList of Variant Cancers - identifier
-
Type:
objectIdentifierIdentifier assigned by a given system - resourceType
-
Type:
string - variantReferences
-
Type:
objectLinkedReference
Nested Schema : cancerVariant
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 : VariantCancer
Type:
object- accession
-
Type:
stringAccession Name - anatomicalSubtype
-
Type:
stringAnatomical Subtype - assembly
-
Type:
stringAssembly/Alignment Name. For ex.,GRCh38 - coding
-
Type:
stringMutation in Coding Sequence Flag - curationSource
-
Type:
stringCuration Source Name - gwScreen
-
Type:
stringSample Genome Wide Screen Flag - hgncId
-
Type:
stringHUGO Gene Nomenclature Reference ID - histologySubtype
-
Type:
stringHistology Subtype Name - hugoName
-
Type:
stringApproved HUGO symbol for species loci, including protein coding genes, RNA genes and pseudogenes, e.g. 'SRY', 'DMRT1', 'FOXL2', etc. - mutationSomaticStatus
-
Type:
stringSomatic Mutation Status - primaryHistology
-
Type:
stringAnatomical Primary Site Name - referenceID
-
Type:
stringCosmic Mutation ID - siteSubType
-
Type:
stringSite Subtype - version
-
Type:
stringVersion Label. For ex.,SIFT_VER2_75 - zygosity
-
Type:
stringZygosity of Mutation
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/7678/cancer
Example of Response Body
The following example shows the response returned in JSON format.
{
"resourceType" : "CancerVariants",
"identifier" : {
"system" : "ODB",
"value" : "7678"
},
"cancerVariant" : [ {
"primaryHistology" : "carcinoma",
"histologySubtype" : "adenocarcinoma",
"siteSubType" : "large_intestine",
"anatomicalSubtype" : "colon",
"hugoName" : "SAMD11",
"accession" : "ENST00000342066",
"hgncId" : "28706",
"mutationSomaticStatus" : "Variant of unknown origin",
"referenceID" : "COSM1344644",
"zygosity" : "het",
"gwScreen" : "y",
"coding" : "Y",
"curationSource" : "COSMIC",
"version" : "COSMIC.V67",
"assembly" : "GRCh37"
}, {
"primaryHistology" : "carcinoma",
"histologySubtype" : "NS",
"siteSubType" : "liver",
"anatomicalSubtype" : "NS",
"hugoName" : "SAMD11",
"accession" : "ENST00000342066",
"hgncId" : "28706",
"mutationSomaticStatus" : "Variant of unknown origin",
"referenceID" : "COSM1344644",
"zygosity" : "het",
"gwScreen" : "y",
"coding" : "Y",
"curationSource" : "COSMIC",
"version" : "COSMIC.V67",
"assembly" : "GRCh37"
} ],
"variantReferences" : {
"reference" : "/HSDataService-web/api/3.2.0/variants/7678"
}
}