Ancestral Root Sequence

78 views
Skip to first unread message

man...@umich.edu

unread,
Jun 4, 2018, 2:14:01 PM6/4/18
to beast-users
Hello,

Please excused my ignorance, I am a novice to Beast and molecular phylogenetic. I am running Beast 2.5.0, and my main purpose is to determine the sequence of the root for a non-coding RNA gene tree. I previously stumbled upon the  Ancestor Sequence Rescue (https://github.com/armanbilge/AncestralSequenceRescue) discussed here https://groups.google.com/forum/#!topic/beast-users/jSeWxDTvts4. But the aforementioned thread indicates that 'Reconstruct states at all ancestors' option in Beauti must be marked before running beast. I can't seem to find such an option in Beauti 2. Is there a simple method to obtaining the root sequence in Beast 2? Any information would be helpful.
Thank you in advance.
 

Remco Bouckaert

unread,
Jun 4, 2018, 5:43:52 PM6/4/18
to beast...@googlegroups.com
There is no support in BEAUti 2 for reconstructing ancestral sequences, but if you install the BEASTLabs packaged, you can add the following logger in the XML (for example, just after where the other loggers are) to do so:


   <logger id="ancestral state" fileName=“rootstate.log" logEvery="1000">
        <log id="AncestralStateLogger" spec="AncestralStateLogger" data="@ringe" branchRateModel="@RelaxedClock.c:ringe" tree="@Tree.t:ringe" siteModel="@SiteModel.s:ringe">
            <taxonset idref=“TaxonSet.ringe”/>
        </log>
    </logger>

This is for a dataset called “ringe”, but you should edit it such that to point to the relevant items for your data, and make sure the clock model (here RelaxedClock.c:ringe) matches your clock model — if you use a relaxed clock, it is fine as is, but if you use another clock model you may need to edit it.

Cheers,

Remco


--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

Matthew Manninen

unread,
Jun 6, 2018, 10:29:32 AM6/6/18
to beast...@googlegroups.com
Thank you very much, Remco. 

On Mon, Jun 4, 2018 at 5:43 PM, Remco Bouckaert <higg...@gmail.com> wrote:
There is no support in BEAUti 2 for reconstructing ancestral sequences, but if you install the BEASTLabs packaged, you can add the following logger in the XML (for example, just after where the other loggers are) to do so:


   <logger id="ancestral state" fileName=“rootstate.log" logEvery="1000">
        <log id="AncestralStateLogger" spec="AncestralStateLogger" data="@ringe" branchRateModel="@RelaxedClock.c:ringe" tree="@Tree.t:ringe" siteModel="@SiteModel.s:ringe">
            <taxonset idref=“TaxonSet.ringe”/>
        </log>
    </logger>

This is for a dataset called “ringe”, but you should edit it such that to point to the relevant items for your data, and make sure the clock model (here RelaxedClock.c:ringe) matches your clock model — if you use a relaxed clock, it is fine as is, but if you use another clock model you may need to edit it.

Cheers,

Remco


On 5/06/2018, at 6:14 AM, man...@umich.edu wrote:

Hello,

Please excused my ignorance, I am a novice to Beast and molecular phylogenetic. I am running Beast 2.5.0, and my main purpose is to determine the sequence of the root for a non-coding RNA gene tree. I previously stumbled upon the  Ancestor Sequence Rescue (https://github.com/armanbilge/AncestralSequenceRescue) discussed here https://groups.google.com/forum/#!topic/beast-users/jSeWxDTvts4. But the aforementioned thread indicates that 'Reconstruct states at all ancestors' option in Beauti must be marked before running beast. I can't seem to find such an option in Beauti 2. Is there a simple method to obtaining the root sequence in Beast 2? Any information would be helpful.
Thank you in advance.
 

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users+unsubscribe@googlegroups.com.

To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/pr4M6FhrOew/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages