Closed azangru closed 1 year ago
To add context for commits, this PR is also testing new variation datafiles.
The +1 change in the zmenu start coordinate doesn't show up in GB?
The example rs777886556 has 911996
start coordinate in BED file, so should be shown as 911997
in GB (but I see 911996
in review app).
The +1 change in the zmenu start coordinate doesn't show up in GB?
@veidenberg that's because 1 is subtracted from the start coordinate before passing the variant data to the zmenu function here:
Here's what I can see in the genome browser client's logs put inside the zmenu function: the first line in the log below is the variant name, the second is the start coordinate as it is passed to the zmenu function, and the third is the corrected start coordinate after 1 is added to it.
So the zmenu function is working correctly; it is the -1 in the data retrieval function that leads to an unexpected result.
Update zmenu payload for variants to enable navigation to other variants within genome browser
Example link for review deployment: http://variant-link-zmenu.review.ensembl.org/genome-browser/grch38?focus=variant:1:911996:rs777886556