auspice
auspice copied to clipboard
ENH: Make it easy to see branches with reversions, without needing to hover, e.g. colouring or label
Current Behavior
Since Auspice 2.33.0, the tooltips show the number of reversions that occur on a branch.
That's great, and nice to know when inspecting a branch.
![image](https://user-images.githubusercontent.com/25161793/154086340-b0f0fd94-a4cf-4e5e-af78-dc83aac06580.png)
Problem
However, when scanning a tree for problematic regions, it's not possible to scan all branches with the mouse.
It would be great if one could quickly spot where reversions occur.
Possible solutions
I can think of two ways to highlight:
- a coloring, where we color a branch depending on the number of reversions, (0,1,2,3,4,5,..10-20,20+ is maybe better than auto mode because this would make difference between 0,1 hard to distinguish, despite that difference being very important)
- branch labels, maybe displaying the number of reversions, or their nature, though this would get too long for lots of undeletions
Use case
Inspecting a tree for regions where lots of reversions happen. This would have been very useful in the beginning with Omicron, so one can quickly see how much back and forth there is.
Do you think this is best in Auspice? I would think this could be a really useful augur command (augur qc
or some-such) producing a node-data JSON, which could then be used as a colouring in auspice.