Skip to content

Created geneset in Genomic node#160

Open
victoria34 wants to merge 8 commits into
oncokb:masterfrom
victoria34:bug-fix
Open

Created geneset in Genomic node#160
victoria34 wants to merge 8 commits into
oncokb:masterfrom
victoria34:bug-fix

Conversation

@victoria34
Copy link
Copy Markdown
Contributor

@victoria34 victoria34 commented Sep 9, 2019

curatedIsoform: string,
curatedRefSeq: string,
geneAliases: string[],
genesets: string[],
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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