griffithlab / civic-v2

CIViC is an open access, open source, community-driven web resource for Clinical Interpretation of Variants in Cancer
https://civicdb.org
MIT License
19 stars 5 forks source link

Handle outdated Entrez gene entries #1065

Open susannasiebert opened 1 month ago

susannasiebert commented 1 month ago

Entrez sometimes moves genes to a different/new entrez ID: E.g. SMIM44 (entrez ID 122152363) has been replaced with entrez ID 122405565. We currently have both in the database but they should probably be handled in a way that the replaced gene can no longer be used.

We should have CIViCbot handle these - deprecate the gene feature entry and remove deprecated gene features from the typeahead. ~Add comment to the gene feature to explain why it was deprecated. If possible, try to note which gene feature it has been replaced by.~

We should also flag variants (or evidence) under the gene feature that was deprecated.

susannasiebert commented 2 weeks ago

Some more technical details:

Once gene deprecation is enabled via the above there are a few additional things to do: