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

Change TumorColumnFormatter to support structural variant alterations (two genes) #4183

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

alisman
Copy link
Collaborator

@alisman alisman commented Feb 16, 2022

@alisman alisman requested a review from inodb February 16, 2022 22:39
d.map(datum => ({
sampleId: datum.sampleId,
entrezGeneId: datum.site1EntrezGeneId,
entrezGeneId: [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@inodb safe to assume they all have site1 and site2?

Copy link
Member

Choose a reason for hiding this comment

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

Some might have only one gene (a lot of them can be outside of genes). For data import at least either site 1 or site 2 needs to be specified

d.map(datum => {
// if both are available, return both genes in an array
// otherwise, return whichever is available
const genes =
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@inodb issue you raised is fixed here

Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

Sweet!

@inodb inodb added the bug label Feb 24, 2022
@alisman alisman merged commit b2414a0 into cBioPortal:master Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SV genes show up as two rows in patient view
2 participants