Hi Adam,
> Sorry for resurrecting this old thread, but I have come across the same
> thing trying to estimate ancestral states on my tree. When i look at
> the RAxML_marginalAncestralStates file at the node that splits to two of my
> strains then the estimated sequence is often identical to one of my
> strains, but the branch length is not zero.
Yes, but I am afraid that this is just a property of ancestral state
reconstruction, it just displays the character for which the signal is
strongest, if if the br-len is > 0.
> You describe below how the RAxML_marginalAncestralStates file is determined
> from the RAxML_marginalAncestralProbabilities file by selecting the bases
> with the highest marginal probabilities.
Exactly.
> But then say if I want a more
> detailed / fine grained ancestral sequence then I need to look at these
> probabilities.
Yes.
> But I am not sure how this will help me? I look at the 4
> state probabilities and look for the highest, thus coming up with the same
> answer as in the RAxML_marginalAncestralStates file.
Well, you may think about just quantifying the difference between state
probabilities and using some cutoff, say that A has 0.4 and C 0.3 you
may want to use the respective ambiguous IUPAC character state M for
instance.
I am afraid that this is just a property of ancestral state
reconstruction.
> Are you saying that if
> the ancestral sequence is identical as the descendant sequence then the
> data does not provide sufficient resolution to distinguish them?
It's not really identical, the prob for A in the ancestral state will be
something like 0.9 while in the extant sequence it will always be 1.0.
Nontheless, the most likely state at the ancestor will still be A.
Maybe you will have to just move further up in the tree to see some
changes.
Don't know if this helps, I am afraid that this is just the way it is.
Alexis
--
Alexandros (Alexis) Stamatakis
Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University
of Arizona at Tucson
www.exelixis-lab.org