I have a tree with more than 1000 sequences. I want to colour branches based on a string in the tip labels.
For example, all the branches leading to tip labels that have the word 'bacteria' in, I want to label blue, and those with the word 'archaea' I want to label red.
It is straight forward to do this for the tip labels themselves, just by using ctrl + f, and searching for your string of interest, then selecting a colour, but it seems like it is not possible to also colour the branches. Does anybody know a straightforward way of doing this, ideally without needing to write a script?