-
Notifications
You must be signed in to change notification settings - Fork 318
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
Conversation
d.map(datum => ({ | ||
sampleId: datum.sampleId, | ||
entrezGeneId: datum.site1EntrezGeneId, | ||
entrezGeneId: [ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 = |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
… which have two associated genes
example patient: https://genie-private.cbioportal.org/patient/summary?studyId=nsclc_genie_bpc&caseId=GENIE-DFCI-004022
Before:
![image](https://user-images.githubusercontent.com/186521/154369459-d295e0f4-8211-4247-9eeb-342d1d2f030d.png)
After:
![image](https://user-images.githubusercontent.com/186521/154369486-10b8c62a-dba5-4ba5-a00e-aaec6df4b78b.png)
Fixes cBioPortal/cbioportal#9300