sequenceTubeMap
sequenceTubeMap copied to clipboard
Visualization sometimes changes dramatically between starting the region from two adjacent nodes
Not quite sure how to fix this from an algorithmic point of view, but it's pretty confusing as a user.
Here's an example, starting from node 1434110:
And then starting from node 1434111:
The results certainly look dramatically different!
The starting node in your second image is the small node in the top left corner of the first image, which only contains a single haplotype, explaining why the second image looks the way it does.
I believe that there might be an option in vg chunk
to somehow "expand" the region of interest to contain its neighbors. This might be something worth looking into, but could probably cause confusing scenarios too.