ClinGen / clincoded

This GCI/VCI 1.0 platform has now been retired, and replaced with our new 2.0 platform:
https://github.com/ClinGen/gene-and-variant-curation-tools/issues
MIT License
25 stars 9 forks source link

Change browser display info in static header when there are no NC_ values (37 or 38) #1040

Closed selinad closed 8 years ago

selinad commented 8 years ago

When there is no NC_ value provided, there is no link displayed next to the browser information in the static bar:

screen shot 2016-09-30 at 11 50 29 am

2 items:

Note: this issue was found by @jimmyzhen in fixing another bug - according to the devs I spoke with, they wanted it marked as R7 - feel free to change to R8

kgliu0101 commented 8 years ago

@selinad @wrightmw Image below is for displaying external browser info when there is no NC_ value (37 and 38). Changes are:

  1. Use "UCSC Browser".
  2. Add icon and link, provided above, to each external browser.

screen shot 2016-10-03 at 12 05 36 pm

However, url (https://www.ncbi.nlm.nih.gov/variation/view/) of "Variation Viewer" links to GRch37, NC_000012.11 as below. screen shot 2016-10-03 at 12 49 25 pm

Is it the page supposed to go?

wrightmw commented 8 years ago

@kgliu0101 https://www.ncbi.nlm.nih.gov/variation/view/ links to Chr1 for me. I think maybe that Chr12 location is cached from your last visit. Looks good to me.

kgliu0101 commented 8 years ago

@wrightmw Thank you for confirming it. I am creating an instance for testing. Will let you know once done.

kgliu0101 commented 8 years ago

@selinad @wrightmw Test instance is at https://1040-kl-external-links-for-no-data-7333ec9-kangliu.demo.clinicalgenome.org. Let me know your comment.

wrightmw commented 8 years ago

@kgliu0101 @selinad For the UCSC browser, I think the browser gateway URL might be a better landing spot: https://genome.ucsc.edu/cgi-bin/hgGateway Functionality looks good to me.

kgliu0101 commented 8 years ago

@wrightmw Thanks lot for your quick reply and suggestion.

selinad commented 8 years ago

Hi @kgliu0101 , @wrightmw

@kgliu0101 the browser links work well in all places - thx! @wrightmw I like your UCSC browser URL - much better. Also, good catch on it not finding ClinVar info for those deletions...

One thought - it could be misconstrued, now that I look at it, that the links will take you to the correct spot. @wrightmw do you think it would be worth it to have something at the top of the browser section that says something like "Genomic coordinates unavailable" (if that's accurate).

I'd like to talk about moving this info off the green static bar, along with the ids - the first is already on basic info tab, the ids could be added there. This would leave more room at the top for other info (e.g. Interpretation). We can address in another issue after we discuss.

wrightmw commented 8 years ago

@selinad The VariationViewer link will take to you to a default or cached location, which may mislead curators. I think adding a "Genomic coordinates unavailable" message above the links for these variants that don't have genomic NC RefSeqs is a good idea.

I'm also in favour of moving these links from the static green bar. We already show this information in multiple other locations, in particular the Basic Info tab.

selinad commented 8 years ago

thx @wrightmw - @kgliu0101 it's great as is for now. We will create separate ticket(s) for some rearrangements following discussion about the best way to proceed. thx!

kilodalton commented 8 years ago

@wrightmw is going to contact NCBI to see if there is a way we can land on a Variation Viewer page that is not pre-populated with incorrect transcripts (a problem he noted last week) for NPs with no genomic coordinates. It should be a tiny tweak to the "we don't have a landing place" URL if they have some params or something we can pass. We'll open a different ticket if there is a way to have that view.

selinad commented 8 years ago

All links look good!

wrightmw commented 8 years ago

The links look good. I wrote to NCBI (at the time of the request) and have not received a response... I will follow up on this

kilodalton commented 8 years ago

Included in last release (R8). Nice job and thanks for your hard work.