This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to define MtMam+G model to analyze aminoacid sequences using MrBayes?

Hi! How could I define the following evolution model (ProtTest output) to analyze 158 aminoacid sequences (lenght=219aa) using MrBayes, please? What would be the command lines?

Model................................ : MtMam+G Number of parameters............... : 314 (1 + 313 branch length estimates) gamma shape (4 rate categories).. = 0.123 -lnL................................ = 987.60 (seconds))

I'm trying:

lset rates=gamma ngammacat=4 prset aamodelpr=fixed(MtMam) shapepr=fixed(0.123) mcmc ngen=2500000 nchain=4 But the estimated analysis time is over 100 hours!!! Is it correct? Thanks for some help!

sequence

1 answer

If you are running this analysis single-threaded, it is possible that it would take that long. Keep in mind that the early time estimate is at least 30-40% higher than it should be. It will stabilize after 20-30 thousand generations, and from that point it likely will be accurate. Separately, if this is a single protein that you are analyzing 2.5 million generations may be an overkill.

For a multi-threaded version (compiled using OpenMPI) you can potentially cut down the time by 8x - presumably you are doing 2 runs with 4 chains, so those 8 can go in parallel.

You may want to add couple of extra lines:

lset rates=gamma ngammacat=4;
prset aamodelpr=fixed(MtMam) shapepr=fixed(0.123);
mcmcp filename=name_your_output_here;
mcmcp nruns=2 ngen=2500000  nchains=4 printfreq=1000 samplefreq=100;
mcmcp relburnin=yes burninfrac=0.25 mcmcdiagn=yes diagnfreq=1000;

Afer mcmc, to to get the summary:

sump relburnin=yes burnin=0.25;
sumt relburnin=yes burnin=0.25;

Log in to answer this question.