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

Update DGIdb gene link-out from gene page #947

Closed jsstevenson closed 9 months ago

jsstevenson commented 10 months ago

With the impending switch over to the new DGIdb frontend, the existing link to the DGIdb entry for a given gene will break. Now, gene records are identified in a URL by their normalized concept ID, not their Entrez symbol, e.g. https://beta.dgidb.org/genes/hgnc:391 vs https://dgidb.org/genes/AKT1.

You could just link to the corresponding HGNC ID if you have that under the hood, but normalized genes are not guaranteed to use concept IDs from a specific namespace. It might be safest and simplest to just link to the search results for a given gene, e.g. https://beta.dgidb.org/results?searchType=gene&searchTerms=AKT1.

acoffman commented 10 months ago

We do have Entrez IDs under the hood, but it looks like the entrez:<id> format does not work (at least for this Gene) so perhaps you're right that the search result link makes the most sense.