Hello,
When I run prottest on my amino acid alignment I am told LG+G to be the best model, which is common among amino acid alignments.
When I look at MrBayes documentation, I cannot find out how to specify the LG model. Does it need to be done somehow manually since it is not implemented into the program? How would I do that?
Adrian
thanks for following up and posting the answer once your found out!
Hi Adrian,
Could you ever make this work? I tried with the devel build but it doesn't seem to work:
MrBayes v3.2.4-svn(r961) x64
From the documentation help prset:
and I think LG is a substitution matrix?
See if this works, it's from my
.nex
file.thank you, yes the correct syntax is
> prset aamodelpr=fixed(lg)
notprset aamodelpr=lg
Thank you for your help,
tried this, the settings seem to work, but I have AA data so setting nst doesn't have an effect. My winner model from prottest is in fact
LG+I+G
so I setrates=gamma
. No idea how to implement the 'I' (invariable sites) though. If you have any, I would appreciate the input.Btw, if your model was LG+G shouldn't you set
rates=gamma
also?the
nst=6
is redundant, I just kept it there as a template in case i decided to use nt. Let me share something cool:so as you can see, invgamma is LG + I + G when you set LG as your model.
these equations are indeed awesome, where did you get them from?
From another post here on BioStars, but I don't remember where, I just wrote them in a file somewhere for future reference. I suppose we could email their list to validate this, I will give it a try and will report back.
Edit: Mr. Bayes Protein Models OR How to implement prottest output in mrbayes? here is where they are stated.
Hi, Can I use FreeRate model as given here in IQTREE (http://www.iqtree.org/doc/Substitution-Models). I ran the IQTREE to generate the MaximumLikelihood tree. For the given dataset, IQTREE ran ModelFinder to choose best model to my data, which is LG+R6. Now I want to generate Bayesian tree using MrBayes with same model criterion. I found how to set LG in MrBayes. But what about remaining R6 which is FreeRate model.