Hi Ishan,
The front end issue I cannot help you with.
For the API, I think you need to go to /molecular-profiles to find the relevant molecular profile and then use /mutations/fetch
There you would put something like this:
{
"entrezGeneIds": [
7157
],
"molecularProfileIds": [
"skcm_tcga_pan_can_atlas_2018_mutations"
]
}
as the mutationMultipleStudyFilter and it will give you something like this:
[
{
"uniqueSampleKey": "VENHQS1EOS1BNkVDLTA2OnNrY21fdGNnYV9wYW5fY2FuX2F0bGFzXzIwMTg",
"uniquePatientKey": "VENHQS1EOS1BNkVDOnNrY21fdGNnYV9wYW5fY2FuX2F0bGFzXzIwMTg",
"molecularProfileId": "skcm_tcga_pan_can_atlas_2018_mutations",
"sampleId": "TCGA-D9-A6EC-06",
"patientId": "TCGA-D9-A6EC",
"entrezGeneId": 7157,
"studyId": "skcm_tcga_pan_can_atlas_2018",
"center": ".",
"mutationStatus": ".",
"validationStatus": ".",
"tumorAltCount": 56,
"tumorRefCount": 1,
"normalAltCount": 0,
"normalRefCount": 67,
"startPosition": 7578212,
"endPosition": 7578212,
"referenceAllele": "G",
"proteinChange": "R213*",
"mutationType": "Nonsense_Mutation",
"functionalImpactScore": "",
"fisValue": 1.4013e-45,
"linkXvar": "",
"linkPdb": "",
"linkMsa": "",
"ncbiBuild": "GRCh37",
"variantType": "SNP",
"keyword": "TP53 truncating",
"chr": "17",
"variantAllele": "A",
"refseqMrnaId": "NM_001126112.2",
"proteinPosStart": 213,
"proteinPosEnd": 213
},
{
"uniqueSampleKey": "VENHQS1FQi1BNUZQLTAxOnNrY21fdGNnYV9wYW5fY2FuX2F0bGFzXzIwMTg",
"uniquePatientKey": "VENHQS1FQi1BNUZQOnNrY21fdGNnYV9wYW5fY2FuX2F0bGFzXzIwMTg",
"molecularProfileId": "skcm_tcga_pan_can_atlas_2018_mutations",
"sampleId": "TCGA-EB-A5FP-01",
"patientId": "TCGA-EB-A5FP",
"entrezGeneId": 7157,
"studyId": "skcm_tcga_pan_can_atlas_2018",
"center": ".",
"mutationStatus": ".",
"validationStatus": ".",
"tumorAltCount": 34,
"tumorRefCount": 6,
"normalAltCount": 0,
"normalRefCount": 69,
"startPosition": 7578212,
"endPosition": 7578212,
"referenceAllele": "G",
"proteinChange": "R213*",
"mutationType": "Nonsense_Mutation",
"functionalImpactScore": "",
"fisValue": 1.4013e-45,
"linkXvar": "",
"linkPdb": "",
"linkMsa": "",
"ncbiBuild": "GRCh37",
"variantType": "SNP",
"keyword": "TP53 truncating",
"chr": "17",
"variantAllele": "A",
"refseqMrnaId": "NM_001126112.2",
"proteinPosStart": 213,
"proteinPosEnd": 213
}, ....
I think that is what you need, correct?