Hi,
Let me put you an example and walkthrough the output. Let me know if I am wrong.
The input tree:
Code:((((((Human:0.18,Macaca:0.18):0.69,(Mouse:0.16,Rat:0.16):0.71):0.07,(((Sheep:0.56,Cow:0.56):0.05,Boar:0.61):0.21,Dog:0.82):0.12):2.32,Gallus:3.26):0.44,Xenopus:3.70):1.06,Salmon:4.76);
tree length (manually): 20.62
The alignment:
Multimedia File Viewing and Clickable Links are available for Registered Members only!! You need to
The firs position in the alignment looks like:
Code:Dog C
Gallus T
Human C
Rat C
Salmon C
Xenopus C
Cow C
Macaca C
Sheep C
Boar C
Mouse C
OUTPUT:
Quote:Tree givenTree=((Xenopus:0.480423,Salmon:0.618058)Node2:0.0571314,Gallus:0.423292,(((
Human:0.0233719,Macaca:0.0233719)Node8:0.0895924,(Mouse:0.0207751,Rat:0.0207751)
Node11:0.0921893)Node7:0.00908909,(((Sheep:0.0727127,Cow:0.0727127)Node16:0.0064
922,Boar:0.0792049)Node15:0.0272673,Dog:0.106472)Node14:0.0155813)Node6:0.301238
);
Where does this tree come from? The treelength is 2.53975029
Quote:Reference tree length (units time): 19.56 (not equal to 20.62)
Scaling factor: 0.0511247
Site 1 Rate = 0.0225 Not scaled = 0.4411 Log(L) -4.8025
It looks like referenceLength is not including the bold number: Xenopus:3.70):
1.06,Salmon:4.76);
Do we always need to provide and unrooted tree? With the same tree unrooted I am getting the correct tree length.
For tis site, the total substitutions (independently of the model) should be at least 1. And the rate bigger than 1/19.56 = 0.0511.
but siteRate = 0.4411.
Are you sure this is substitutions/site?
If I divide by 10 each branch of my tree. I get the following.
Quote:Reference tree length (units time): 1.956
Scaling factor: 0.511247
Site 1 Rate = 0.2255 Not scaled = 0.4411 Log(L) -4.8025
Clearly, we have to a apply a correction to the unscaled value but I am still thinking that unscaled value should be bigger than one.
I run the same situation in DNArates. We get a rate of 0.0524 that multiplied by the tree length 20.62 gives 1.08 substitutions.
Is not possible that the unscaled value is being scaled by that tree with a tree length of 2.53?
I am eager to apply hyphy for rate estimation cos I can control the model and the parameters easily.
Thanks a lot,
Francesc