Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import of structural variants from query into oncoprinter #4091

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

adamabeshouse
Copy link
Contributor

@adamabeshouse adamabeshouse commented Dec 14, 2021

Fixes cBioPortal/cbioportal#9068

image

it's not perfect, as I still need to implement oncokb annotation of structural variants in oncoprinter. But that is a bit more work because it requires additional user input of the site1 and site2 genes.

Copy link
Member

@dippindots dippindots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamabeshouse The unit tests are failing, it looks like there are some tests need to be updated, besides that, this looks good to me.

@@ -142,7 +143,8 @@ function getOncoprinterGeneticInputLine(parsed: OncoprinterGeneticInputLine) {
line.push('PROT');
break;
case AlterationTypeConstants.STRUCTURAL_VARIANT:
line.push('STRUCTURAL VARIANT');
line.push(parsed.eventInfo || 'structural_variant');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe comment why it would be missing eventInfo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just wanted to do this as a catch in case there's missing data. would eventInfo always exist for structural variants?

Signed-off-by: Adam Abeshouse <abeshoua@mskcc.org>
@adamabeshouse adamabeshouse merged commit 4b88d66 into cBioPortal:master Dec 22, 2021
@adamabeshouse adamabeshouse deleted the 9068-sv-oncoprinter branch December 22, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants