Dear cBioPortal folks,
I am trying to access copy number alterations information using the python client. I can easily fetch mutations info, with, for example:
muts = cbioportal.Mutations.getMutationsInMolecularProfileBySampleListIdUsingGET(
molecularProfileId='acc_tcga_mutations',
sampleListId='acc_tcga_all',
projection="DETAILED"
).result()
However, I have not been able to figure out what suffix to add to the study ID in order the get the correct molecularProfileId for CNAs:
CNAs = cbioportal.Discrete_Copy_Number_Alterations.getDiscreteCopyNumbersInMolecularProfileUsingGET(
molecularProfileId='acc_tcga_linear_CNA',
sampleListId='acc_tcga_all',
projection="DETAILED"
).result()
>>> MatchingResponseNotFound: Response specification matching http status_code 404 not found for operation Operation(getDiscreteCopyNumbersInMolecularProfileUsingGET). Either add a response specification for the status_code or use a `default` response.
What is the correct way to obtain CNA information for a given study using the python client?
Thank you,
Ken