Open
Description
The updates from #42 forces the region view to always have chrom, start, end, tissue, and gene_id, to help preserve and recreate the state of the current view. This leads to a few issues which need to be addressed:
-
Some of the logic for handling missing data for the region_view() in pheget/frontend/init.py are now obsolete and need to be removed
-
We need to update the logic for the search box to smartly handle the following searches:
- Single-tissue+chromosome: (need to fill in: best gene -> start and end)
- Single-gene (gene_id or symbol): (need to fill in: chrom, best tissue, start and end from the gene)
- chrom+start+end: (need to fill in: best tissue, best gene -> start and end)
- We need to update the searchbox to use the Fetch API to request data from omnisearch instead of the complicated mess it currently uses