GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
205 stars 61 forks source link

Right click synteny trapezoid->Center on feature changes displayedRegions set #4474

Open cmdcolin opened 2 months ago

cmdcolin commented 2 months ago

When you are in a linear synteny view, it is commonly a whole genome overview

If you use the "center on feature" menu item, then it changes it to only be a single chromosome, but it could be instructed not do this. It currently uses view.navToLocString on a synthesized locstring based on the feature, but it could use something different to accomplish not mutating displayedRegions