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

Advertisements

One thought on “How to do a Dendroscope tanglegram

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s