Tanglegrams are a very cool way of visualising the difference between two trees. There is an implementation in Dendroscope that allows them to be made very easily, IF you know how (it isn’t covered very well in the documentation). This is how.
This is definitely one of those, ‘write it down before I forget’ blogs. As usual, YMMV.
You have two trees with identical labels, There are no associated bootstraps (if you load into figtree and export as a newick, with no options selected, this should get rid of them). If you have bootstraps then Dendroscope will link instances of the same bootstrap value, resulting in a hideous mess.
- First, you open one tree in Dendroscope.
- Then File > Add from File > select your second tree
- Then View > More panels (this has to be done while you have the first tree selected, you can see which one you have in the bottom left corner, navigate between them using the arrows in the top left corner).
- The second tree should now pop into view, alongside the first.
- Next Algorithms > Tanglegram (which, until now, has been greyed out)
- Voila!
Here is one I made earlier to compare BWA aln-sampe with BWA-mem (see next blog for more details).
Pingback: Validation of BWA-mem – Bits and Bugs
Thanks a lot!!
Hi,
I have been having issues converting my Cipres generated MrBayes Tree and Mega ML to the acceptable NEXML format. I have converted my current tree but dendroscope is not accepting the trees.
Please help.
Thanks.
Sorry for the slow response. I don’t use MrBayes but I don’t think you need to convert the tree to NEXML format, I think Newick or NEXUS are probably ok. You should be able to convert between these formats using FigTree.
http://tree.bio.ed.ac.uk/software/figtree/
This was very helpful! Now I have to go change the names to match in each .tre file!
Great! BTW, you can use Newick Utils or GoTree to easily rename the taxa in your tree.
http://cegg.unige.ch/newick_utils
https://github.com/evolbioinfo/gotree