# HG changeset patch # User anngomez # Date 1353515276 18000 # Node ID ad8b097df80ab0dfc5c540cb65c862617e4acff6 # Parent 8741c342e8afb3d0aac29fe1fac46d80d1f7e480 Added crude append functionality! diff -r 8741c342e8af -r ad8b097df80a mrbayes.xml --- a/mrbayes.xml Thu Nov 08 11:29:57 2012 -0500 +++ b/mrbayes.xml Wed Nov 21 11:27:56 2012 -0500 @@ -1,7 +1,13 @@ with options and commands - mb $command_file > $outfile + mb $command_file > $outfile +#silent sys.stderr.write("\n \n \n !!!! Cheetah Template Variables !!!!\n") +#for k,v in $searchList[2].items() +#silent sys.stderr.write(" %s = %s\n" % (str(k), str(v) )) +#end for +#silent sys.stderr.write("!!!! end-of-list !!!!\n \n \n") + @@ -36,8 +42,7 @@ - Frequency with which checkpoints are written. - You can continue an analysis from a checkpoint with 'mcmc append=yes'." + Frequency with which checkpoints are written. Used for continuing analysis with append. @@ -62,11 +67,10 @@ help="Summarizes the trees."/> - - + + @@ -78,6 +82,9 @@ $model; lset rates=$rates; mcmcp ngen=$ngen nrun=$nrun nchain=$nchain checkfreq=$checkfreq samplefreq=$samplefreq printfreq=$printfreq stoprule=$stoprule burninfrac=$burninfrac; +#if int($ngen) >= int($checkfreq) + $append; +#end if# mcmc; $sump $sumt @@ -97,7 +104,7 @@ .. class:: warningmark -This tool takes as input a Nexus file (.nex), described here_, that should only contain a data block, without commands. +This tool takes as input a Nexus file (.nex), described here_, that should only contain a data block, without commands. If a command block exists in the file, it will be executed first, followed by the ones specified above. .. _here: http://en.wikipedia.org/wiki/Nexus_file. @@ -107,6 +114,11 @@ MrBayes is a program for Bayesian inference and model choice across a wide range of phylogenetic and evolutionary models. MrBayes uses Markov chain Monte Carlo (MCMC) methods to estimate the posterior distribution of model parameters. +See the manual_ or the `command reference`_ for more information. + +.. _manual: http://mrbayes.sourceforge.net/manual.php +.. _command reference: http://mrbayes.sourceforge.net/commref_mb3.2.pdf + ----- **Model Definitions** @@ -129,13 +141,9 @@ .. class:: infomark -**TIP** - -See the manual_ or the `command reference`_ for more information. +**Tip for using append** -.. _manual: http://mrbayes.sourceforge.net/manual.php -.. _command reference: http://mrbayes.sourceforge.net/commref_mb3.2.pdf - +If you want to use the append functionality, all parameters will have to be identical to your initial analysis. The easiest way to ensure this is by using the blue "Run this job again" arrow on the dataset, and checking the additional append box. Note also that ngen will be the total number of generations, not the number of generations to add, so you should increase this value except if a run was interrupted. Selecting append while checkfreq > ngen will have no effect.