How to do a Dendroscope tanglegram

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.

  1. First, you open one tree in Dendroscope.
  2. Then File > Add from File > select your second tree
  3. 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).
  4. The second tree should now pop into view, alongside the first.
  5. Next Algorithms > Tanglegram (which, until now, has been greyed out)
  6. Voila!

Screen Shot 2013-11-20 at 15.25.32

Here is one I made earlier to compare BWA aln-sampe with BWA-mem (see next blog for more details).

6 thoughts on “How to do a Dendroscope tanglegram

  1. Pingback: Validation of BWA-mem – Bits and Bugs

  2. 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.

Leave a comment