-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add ability to search for gene(s) in current view #9
Comments
adf-ncgr notes to self that this issue has some conceptual overlap with the hack that he put in a local version of the legend.js code to aid in evaluating FrequentedRegions algorithm results, something along these lines in the on mouseover associated function with elements generated in the legend _drawKey method; Hopefully, if we ever actually address this issue, it will be through something far less hacky and involving breakpoints and injection of state via the console! |
@adf-ncgr Since the gene that you would be searching for would only be present in the micro-synteny viewer, does it make sense to repurpose the existing search widget for this purpose and add a new search widget to the main navbar at the top for providing a new focus gene? |
I recently hacked a primitive version of this into GCV for @adf-ncgr, which made me recall this issue. Here are some implementation details that came to mind when implementing the hack:
|
in addition to the thing we've discussed for just having an entry box that will initiate a new search with a given gene, sometimes it is useful to just want to ask to have a given gene (or possibly a set of genes) that one expects to be in the current view to be highlighted (e.g. as if the user had moused-over it, but without requiring them to do the needle in haystack shtick).
This could be a more exciting functionality if genes could have more metadata associated with them and it would be made searchable in this fashion- e.g. supposing a provider could add descriptors or gene ontology terms.
let's leave this one as a idea for the future (ie after our fling with pangenomics or else when you need a software engineering task to calm your nerves).
The text was updated successfully, but these errors were encountered: