do you want to compute the RF-distance of rooted trees? This is not
possible with RAxML and if I am not mistaken, the RF-distance is only
defined for unrooted trees.
Maybe just unroot the trees (newick-utils can do this
http://cegg.unige.ch/newick_utils) and feed them into RAxML again.
> I am trying to calculate the Robinson-Foulds distance between two
> trees in RAxML v7.2.8, but got this error message. Did I miss anything
> here? Thanks a lot!
>
>
> Found a total of 58 taxa in first tree of tree collection test.tre
> Expecting all remaining trees in collection to have the same taxon set
>
> This is RAxML version 7.2.8 released by Alexandros Stamatakis in
> October 2010.
>
> RAxML computation of RF distances for all pairs of trees in a set of
> trees
>
> RAxML was called as follows:
> raxmlHPC -f r -z test.tre -m GTRGAMMA -s test.phy -n test.txt
>
> Found 2 trees in File test.tre
> raxmlHPC: treeIO.c:921: addElementLen: Assertion `!readNodeLabels'
> failed.
> Aborted
--
Best regards,
Andre J. Aberer
M.Sc. (Bioinformatics)
Scientific Computing Group
Heidelberg Institute for Theoretical Studies (HITS gGmbH)
Schloss-Wolfsbrunnenweg 35
D-69118 Heidelberg
Tel.: +49 6221 533 264
Fax: +49 6221 533 298
Email: andre....@h-its.org
WWW: http://www.exelixis-lab.org
http://www.h-its.org/english/research/sco/index.php
Amtgericht Mannheim / HRB 337446
Managing Directors: Dr. h.c. Dr.-Ing. E.h. Klaus Tschira, Prof. Dr.-Ing. Andreas Reuter
Thanks a lot for the help! Sorry that I forgot to unroot the tree
first. Can I ask that what each column means and how we interpret the
output from RAxML with -f r?
Tallen
0 1: 6 0.054545, 1.360000 0.012364, 3.580000 0.032545
> Thanks a lot for the help! Sorry that I forgot to unroot the tree
> first. Can I ask that what each column means and how we interpret the
> output from RAxML with -f r?
>
> Tallen
>
>
> 0 1: 6 0.054545, 1.360000 0.012364, 3.580000 0.032545
>
>
It means that tree one and two have a RF-distance of 6. Just see
http://en.wikipedia.org/wiki/Robinson%E2%80%93Foulds_metric
for the meaning of this. This is the most important number. Though in
RAxML the distance is divided by 2 (in contrast to the wiki-definition).
0.054545 should be a normalization of the RF-distance to values between
0 and 1. The other values behind the first comma are (I guess) one-sided
and weighted RF-distances -- since they were dropped in the latest RAxML
release, they are most probably not specifically useful in the daily
phylogenetic analysis.
-Andre
--
Best regards,
Andre
Just a quick correction to something that Andre wrote yesterday. Even if RAxML can only calculate it for unrooted trees, the RF-distance is indeed defined for both rooted and unrooted trees, with the normalization being slightly different between the two of them (2n - 4 versus 2n - 6, respectively, where n = number of taxa).
Cheers,
Olaf
-----------------------------------------------------------------------------------------
Prof. Dr. Olaf R.P. Bininda-Emonds
AG Systematik und Evolutionsbiologie
IBU - Fakultät V
Carl von Ossietzky Universität Oldenburg
26111 Oldenburg
Germany
Phone: +49 441 798 3965
Fax: +49 441 798 193965
e-mail: olaf.b...@uni-oldenburg.de
WWW: http://www.molekularesystematik.uni-oldenburg.de/