Extracting node ages for analysis

166 views
Skip to first unread message

sdelandtsheer

unread,
May 23, 2012, 8:32:20 PM5/23/12
to beast-users
Hello,

I would like to know if there is a way to extract the node ages from
the output tree file from TreeAnnotator (or better, from BEAST sampled
trees). Specifically, I would simply like to see the distribution of
node ages from a big tree of mine.
I could extract the node heights but from what I understood, this
gives me the distribution of branch lengths, which is not what I want.
TreeView seems to calculate node ages from branch lengths and tree
shape...

Sorry if the solution is obvious

Thanks in advance

Seb

Andrew Rambaut

unread,
May 24, 2012, 1:37:58 AM5/24/12
to beast...@googlegroups.com
Hi Seb,

Try the application 'TreeStat' in the BEAST package. It can extract a number of statistics of a tree including the node ages into a tab delimited file. You select the 'Node Heights' statistic and then 'Process Tree File' from the file menu.

Andrew

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To post to this group, send email to beast...@googlegroups.com.
To unsubscribe from this group, send email to beast-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beast-users?hl=en.


___________________________________________________________________
 Andrew Rambaut                
 Institute of Evolutionary Biology       University of Edinburgh
 Ashworth Laboratories                         Edinburgh EH9 3JT
 EMAIL - a.ra...@ed.ac.uk                TEL - +44 131 6508624  

sdelandtsheer

unread,
May 24, 2012, 9:57:22 AM5/24/12
to beast-users
Worked perfectly!

Thanks a lot





On May 24, 7:37 am, Andrew Rambaut <a.ramb...@ed.ac.uk> wrote:
> Hi Seb,
>
> Try the application 'TreeStat' in the BEAST package. It can extract a number of statistics of a tree including the node ages into a tab delimited file. You select the 'Node Heights' statistic and then 'Process Tree File' from the file menu.
>
> Andrew
>
> On 24 May 2012, at 01:32, sdelandtsheer wrote:
>
>
>
>
>
>
>
>
>
> > Hello,
>
> > I would like to know if there is a way to extract the node ages from
> > the output tree file from TreeAnnotator (or better, from BEAST sampled
> > trees). Specifically, I would simply like to see the distribution of
> > node ages from a big tree of mine.
> > I could extract the node heights but from what I understood, this
> > gives me the distribution of branch lengths, which is not what I want.
> > TreeView seems to calculate node ages from branch lengths and tree
> > shape...
>
> > Sorry if the solution is obvious
>
> > Thanks in advance
>
> > Seb
>
> > --
> > You received this message because you are subscribed to the Google Groups "beast-users" group.
> > To post to this group, send email to beast...@googlegroups.com.
> > To unsubscribe from this group, send email to beast-users...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/beast-users?hl=en.
>
> ___________________________________________________________________
>  Andrew Rambaut
>  Institute of Evolutionary Biology       University of Edinburgh
>  Ashworth Laboratories                         Edinburgh EH9 3JT
>  EMAIL - a.ramb...@ed.ac.uk                TEL - +44 131 6508624
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
Reply all
Reply to author
Forward
0 new messages