How to define MtMam+G model to analyze aminoacid sequences using MrBayes?
1
0
Entering edit mode
3.4 years ago

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 • 621 views
ADD COMMENT
0
Entering edit mode
3.4 years ago
Mensur Dlakic ★ 27k

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;
ADD COMMENT

Login before adding your answer.

Traffic: 1548 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6