GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
460 stars 199 forks source link

Plugin in JBrowse that goes to the next isoform #949

Open enuggetry opened 6 years ago

enuggetry commented 6 years ago

Plugin in JBrowse that goes to the next isoform (similar to the behavior in Apollo's manual annotation area).

Identified in GMOD Hackathon (item 9): http://gmod.org/wiki/2018_PAG_Hackathon Called by: Elsik

Implement a means of jumping to the next interesting feature that is outside of the visible frame. @selewis suggests that there can be different "properties" to jump to. (please quantify)

Visually, there might be an arrow button on the ends of a track if there are features beyond visible region. These might appear only upon moving the mouse into the track. Graphically, this may be similar to photo sliders that are common in websites.

rbuels commented 6 years ago

@nathandunn This isn't really in scope for the core JBrowse repo, does this issue need to be moved to the Apollo issues?

nathandunn commented 6 years ago

@rbuels Apollo already does this for its annotations. It had been suggested that it would be great to have it in JBrowse as well.

This is the AnnotTrack, but I think its pretty straight-forward for HTMLFeatures. Its not dire, though.

https://github.com/GMOD/Apollo/blob/master/client/apollo/js/View/Track/AnnotTrack.js#L154 https://github.com/GMOD/Apollo/blob/master/client/apollo/js/View/Track/AnnotTrack.js#L4113

I'll mark it as "Contributor Friendly" and it gets done if it gets done.