-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to specify "multiple highlights" or bookmarks #668
Conversation
2e388eb
to
d03cf8c
Compare
Add ability to specify "multiple highlights" or bookmarks
Let me know if there are any bugs/needed additions for this. I had one more commit that sort of reorganized the code but it might not be necessary. Also @erasche picked this up and added some stuff to the jbrowse configuration guide http://gmod.org/wiki/JBrowse_Configuration_Guide#addBookmarks |
Most likely any commits I make to it will go away. What I need is another LocationScaleTrack in GenomeView, but that will come later, . . but not going to do that right now. If you want to re-organize and create another pull request that would be fine. Nathan
|
This adds a couple functions to essentially have "multiple highlights". The highlights can have labels and can be different colors (maybe they are like bookmarks). You can define the bookmarks in a config file, on the URL bar, or via a web service.
I think originally the idea of multiple highlights was brought up here #482
Each bookmark has
start (int), end (int), ref (string)
Optional params
color (string for css compatible color)
label (string for label on left side)
rlabel (string for label on right side)