asl / BandageNG

a Bioinformatics Application for Navigating De novo Assembly Graphs Easily
GNU General Public License v3.0
116 stars 10 forks source link

Path hits interrupt rainbow colouring of nodes #144

Open ASLeonard opened 1 year ago

ASLeonard commented 1 year ago

Hi Anton,

This seems to be related to #141, but downloading the latest snapshot from 3657d9a seems to still have "path hits" after blasting in the GUI. The issue for me is the the rainbow colouring of nodes seems to be be dominated by the incorrect path hit query start/end, and so almost every small node has its own red→violet colouring. I verified that the "real" hits each spanned a portion of the query, so I would expect nodes to go e.g. red→green, green→blue, blue→violet.

image

Here (A) is a long node with the duplicated sequence and (B) is the same sequence but split into smaller nodes. I believe the colouring should match the fake node I pasted next to (B).

image

This could be done with blastn and manually making a bed file to colour the nodes as a rainbow, but I assume this is not the intended behaviour within Bandage?

Best, Alex