Hi all,
Does anyone have the xml code to implement The transitional (TIM) substitutiono or k81 model in BEAST? I found the substitution model code on the web: http://beast.bio.ed.ac.uk/Substitution_model_code, but the error "Object with Id=ND2third.pyrimidine2purine already exists" happened when I run it in Beast 1.54 or 1.6.1. It is similar for K81. I also did a search in this group and I did not find the code.
<!-- The transitional (TIM) substitution model -->
<gtrModel id="gene1.tim">
<frequencies>
<frequencyModel dataType="nucleotide">
<alignment idref="alignment"/>
<frequencies>
<parameter id="gene1.frequencies" dimension="4"/>
</frequencies>
</frequencyModel>
</frequencies>
<rateAC>
<parameter id="gene1.purine2pyrimidine" value="1.0" lower="0.0" upper="Infinity"/>
</rateAC>
<rateAG>
<parameter id="gene1.ag" value="1.0" lower="0.0" upper="Infinity"/>
</rateAG>
<rateAT>
<parameter id="gene1.pyrimidine2purine" value="1.0" lower="0.0" upper="Infinity"/>
</rateAT>
<rateCG>
<parameter id="gene1.pyrimidine2purine" value="1.0" lower="0.0" upper="Infinity"/>
</rateCG>
<rateGT>
<parameter id="gene1.purine2pyrimidine" value="1.0" lower="0.0" upper="Infinity"/>
</rateGT>
</gtrModel>
Thank you very much for any helps.
Yong Huang
--
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.
Hi,
I edits the XML code again, but BEAST has terminated with the error "Object with idref=ND2third.ac has not been previously declared" .
My code for the substitution modle:
<!-- The transitional (TIM) substitution model -->
<gtrModel id="ND2third.tim">
<frequencies>
<frequencyModel dataType="nucleotide">
<alignment idref="alignment"/>
<frequencies>
<parameter id="ND2third.frequencies" dimension="4"/>
</frequencies>
</frequencyModel>
</frequencies>
<rateAC>
<parameter id="ND2third.purine2pyrimidine" value="1.0" lower="0.0" upper="Infinity"/>
</rateAC>
<rateAG>
<parameter id="ND2third.ag" value="1.0" lower="0.0" upper="Infinity"/>
</rateAG>
<rateAT>
<parameter id="ND2third.pyrimidine2purine" value="1.0" lower="0.0" upper="Infinity"/>
</rateAT>
<rateCG>
<parameter idref="ND2third.pyrimidine2purine"/>
</rateCG>
<rateGT>
<parameter idref="ND2third.purine2pyrimidine"/>
</rateGT>
</gtrModel>
Thank you very much
Yong Huang.
-----原始邮件-----
发件人: "Joseph W. Brown" <jose...@uidaho.edu>
发送时间: 2010年12月10日 星期五
收件人: huan...@cib.ac.cn
抄送: Beast <beast...@googlegroups.com>
主题: Re: TIM or k81 substitution model
To unsubscribe from this group, send email to beast-users+unsub...@googlegroups.com.
Hi,
Yes. I only edit the xml code for this model. I uesd the version 1.6.1 . May be the version wrong? If it cannot run using this model, I will use GTR instead.
Cheers.
Yong Huang.
In this instance, it seems you did not declare "ND2third.ac" before using it. This is odd, as it does not match the code you attach below.Joseph.
--
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 http://groups.google.com/group/beast-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.