nextclade
nextclade copied to clipboard
Add sequence view pan and zoom
Resolves #34
It is useful, in particular, to see mutation markers that are close together.
- [x] horizontal zoom and pan (horizontal scroll) in sequence view
- [x] hold shift to zoom with mouse wheel
- [ ] rebase on current master
- [ ] figure out edge cases
- [ ] figure out how pan and zoom interact with each other
- [ ] limit scrolling and panning to some reasonable range
- [ ] add reset button
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/nextstrain/nextclade/C5enLQHvRK2NStBCisqyTqoQKeyL
✅ Preview: https://nextclade-git-feat-seq-view-pan-and-zoom-nextstrain.vercel.app
To make this useful, I think we need a few other bits
- the genemap should move/zoom along with the sequence graph
- the elements should shrink. They are much wider than one base/one codon and often overlap. when zooming, this overlap should decrease.
I am wondering whether a mouse-drag-rectangle and pan would be useful.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
nextclade | ✅ Ready (Inspect) | Visit Preview | Jun 24, 2022 at 9:34PM (UTC) |