Computing the ML distance matrix this way completely makes sense to me.
I think most other programs do this as well though may not be as
efficient as RAxML. The reasons are:
- the estimation of model parameters and Gamma shape (alpha) is not
sensitive to the tree topology as long as you have a reasonable tree. So
using the initial parsimony tree is fine.
- From the theory, one cannot estimate the alpha parameter using just
two sequences (see also Ziheng Yang's paper 1994). Moreover, the GTR
parameters can only be estimated from two sequences if they are long
enough or have enough information. However, in practice we rarely have
such long sequences. You may have long sequences but if they are from
different genes and you use partition model, then the per-partition
sequence lengths are short again.
Cheers,
Minh
That explains a lot things, thanks a lot!
I thought in the beginning that RAxML simply extract pair-wise distances from the tree, once the edge lengths are optimized. Would this make any differences from the way it is implemented in RAxML now?
Best
Jiajie
************************************************************
Jiajie Zhang
PhD Candidate
Institute of Biochemistry
University of Luebeck
Institute for Neuro- and Bioinformatics
University of Luebeck
Graduate School for Computing in Medicine and Life Sciences
University of Luebeck
Ratzeburger Allee 160
23538 Luebeck
Germany
Phone: +49-451-500-4065
Phone: +49-451-317-93111
Fax: +49-451-500-4068
E-mail: zhang...@biochem.uni-luebeck.de
E-mail: bestzha...@gmail.com
Web: www.biochem.uni-luebeck.de
Web: www.gradschool.uni-luebeck.de
*************************************************************
Dear Alexis,
I would like to calculate patristic distance matrices for large ML trees (i.e. 1400 taxa). In order to do so, we constructed trees with RAxML and exported branch lengths (trees were exported in newick format). We tried several software programs to calculate patristic distances from the newick trees (PHYLOCOM, PATRISTIC, RAMI), but all failed due to the large amount of data.
I noticed that RaxMLGui has a tool available: Pairwise distances” – Compute distances for all taxa pairs in the data set (“-f x”).
Since I'm not an informatician and have no experience with writing scripts whatsoever, could you tell me if you know scripts that allow to generate such matrices?
I would like to thank you in advance for your time!
Looking forward to hearing from you,
Best,
Department of Biochemistry and Microbiology (WE10)
Laboratory of Microbiology
K.L. Ledeganckstraat 35
9000 Ghent, Belgium
Phone: +32-9-2645101