-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use url helper to create refget urls in refget api slice (#1116)
Instead of generating the url to refget in useRefgetSequenceQuery, call urlHelper.refget to get the prepared url. This fixes the inconsistency when urlHelper.refget was expecting the start coordinate in the Ensembl coordinate system (1-based), and automatically translated the coordinate into the 0-based coordinate system used by refget; but `useRefgetSequenceQuery` was not doing this correction. As a result, this also fixed an off-by-one error while fetching gene and transcript sequences in genome browser drawer.
- Loading branch information
Showing
3 changed files
with
7 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters