vgteam / sequenceTubeMap

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

Reads from different samples interleave oddly when skipping nodes #431

Closed adamnovak closed 2 months ago

adamnovak commented 3 months ago

See Tumor-specific A -> AAAAAAATATATATATATAT INS variant at chr1:86645909 for example. The reads should stay separated by sample even as they skip nodes.

adamnovak commented 3 months ago

It probably has to do with this logic for sorting no-node reads:

https://github.com/vgteam/sequenceTubeMap/blob/afaf98bff4c4162d2507bb7f75287f61a2a2b505/src/util/tubemap.js#L731-L736