sequenceTubeMap icon indicating copy to clipboard operation
sequenceTubeMap copied to clipboard

Visualization sometimes changes dramatically between starting the region from two adjacent nodes

Open jeizenga opened this issue 6 years ago • 1 comments

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: screen shot 2019-02-27 at 3 04 12 pm

And then starting from node 1434111: screen shot 2019-02-27 at 3 06 07 pm

jeizenga avatar Feb 27 '19 23:02 jeizenga

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.

wolfib avatar Mar 03 '19 10:03 wolfib