vgteam / sequenceTubeMap

displays multiple genomic sequences in the form of a tube map
MIT License
180 stars 25 forks source link

Issues/364 prevent reads shuffle #386

Closed ducku closed 9 months ago

ducku commented 9 months ago

Reads outside of nodes are sorted by order, then a previous y value. However, consecutive reads outside of nodes have their y values computed simultaneously, resulting in the previous y value still being null. This resulted in consecutive read segments outside of nodes that have the same order value being randomly sorted.

Fix: Go back through the path and find the last computed y value(from the last visited node), and use that to sort segments.

Closes #364

chr6:82003584-82004084

Capture