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

Created geneset in Genomic node #160

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

victoria34
Copy link
Contributor

@victoria34 victoria34 commented Sep 9, 2019

curatedIsoform: string,
curatedRefSeq: string,
geneAliases: string[],
genesets: string[],
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this type is correct and you should not include this property in Gene to prevent the circular references.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed genesets in Gene model

this.disableHugoSymbol = true;
this.selectedGenesetOption = _.find(this.genesetOptions, { id: this.genomicInput.geneset_id });
this.genomicInput.hugo_symbol = this.selectedGenesetOption.genes.join(', ');
this.genomicInput.geneset = this.selectedGenesetOption.name;
Copy link
Member

Choose a reason for hiding this comment

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

If the name is updated, what's the process updating the name? Also if the geneset is updated(add/remove gene), what's the process?

Copy link
Contributor Author

@victoria34 victoria34 Sep 9, 2019

Choose a reason for hiding this comment

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

When a genomic node is initialized, I'll use the geneset_id stored in firebase to find the corresponding options pulled from OncoKB API (line 66 ~ 68). Even if a geneset name changed or its genes added or removed, the curation platform will always use its id to get latest data.

@victoria34 victoria34 closed this Jan 8, 2020
@victoria34 victoria34 deleted the bug-fix branch January 8, 2020 20:33
@victoria34 victoria34 restored the bug-fix branch February 27, 2020 23:18
@victoria34 victoria34 reopened this Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support pathway information in oncokb
2 participants