BEAST2-MCMC(1)

πŸ’– BEAST2-MCMC πŸ’–

okay bestie, you found the manual for beast2-mcmc (that's the BEAST2-MCMC(1) page, for the record, so you know exactly where you are 🫢) β€” it's the command-line side of BEAST2, and we are gonna go through every single flag together. no skimming. we don't do that here. ✨


🌸 NAME 🌸

beast2-mcmc β€” Bayesian MCMC phylogenetic inference πŸ¦‹


✨ SYNOPSIS ✨

beast2-mcmc [-window] [-options] [-working] [-seed] [-prefix <PREFIX>]
[-statefile <STATEFILE>] [-overwrite] [-resume] [-validate] [-errors
<i>] [-threads <i>] [-java] [-noerr] [-loglevel <LEVEL>] [-instances
<i>] [-beagle] [-beagle_info] [-beagle_order <order>] [-beagle_CPU]
[-beagle_GPU] [-beagle_SSE] [-beagle_single] [-beagle_double]
[-beagle_scaling <default|none|dynamic|always>] [-help] [-version]
[<input-file-name>]

like… yes, it's a lot of brackets. breathe. we'll get to each one. 🧚


πŸ‘‘ DESCRIPTION πŸ‘‘

so BEAST is a cross-platform program for Bayesian MCMC analysis of molecular sequences. cross-platform means it does not care what machine you're on, it will simply slay everywhere. πŸ’…

it's entirely orientated towards rooted, time-measured phylogenies inferred using strict or relaxed molecular clock models. that's the whole vibe. it can be used as a method of reconstructing phylogenies, but it's also a framework for testing evolutionary hypotheses without conditioning on a single tree topology β€” so no being loyal to one tree, we're averaging, we're free. 🌈

BEAST uses MCMC to average over tree space, so that each tree is weighted proportional to its posterior probability. literally each tree gets its moment proportional to how likely it is. iconic behaviour honestly.

also included: a simple to use user-interface program for setting up standard analyses, and a suit of programs for analysing the results. ✨

not me needing to say this, but: this is no new upstream version of beast-mcmc (1.x) but rather a rewritten version. so don't come at it expecting the 1.x lore, bestie, it's a whole different era. πŸ’€

πŸ’… OPTIONS πŸ’…

one bullet per flag, all of them, no cap:

  • -window β€” provide a console window πŸͺŸ
  • -options β€” display an options dialog
  • -working β€” change working directory to input file's directory
  • -seed β€” specify a random number generator seed 🎲
  • -prefix β€” specify a prefix for all output log filenames
  • -statefile β€” specify the filename for storing/restoring the state
  • -overwrite β€” allow overwriting of log files
  • -resume β€” allow appending of log files
  • -validate β€” parse the XML, but do not run β€” useful for debugging XML πŸ›
  • -errors β€” specify maximum number of numerical errors before stopping
  • -threads β€” the number of computational threads to use (default 1), -1 for number of cores πŸ”₯
  • -java β€” use Java only, no native implementations
  • -noerr β€” suppress all output to standard error
  • -loglevel β€” error,warning,info,debug,trace
  • -instances β€” divide site patterns amongst number of threads (use with -threads option)
  • -beagle β€” use beagle library if available 🐢
  • -beagle_info β€” BEAGLE: show information on available resources
  • -beagle_order β€” BEAGLE: set order of resource use
  • -beagle_CPU β€” BEAGLE: use CPU instance
  • -beagle_GPU β€” BEAGLE: use GPU instance if available
  • -beagle_SSE β€” BEAGLE: use SSE extensions if available
  • -beagle_single β€” BEAGLE: use single precision if available
  • -beagle_double β€” BEAGLE: use double precision if available
  • -beagle_scaling β€” BEAGLE: specify scaling scheme to use
  • -help β€” print this information and stop πŸ›‘
  • -version β€” print version and stop
quick lil heads up: the synopsis is where the args live, so -prefix <PREFIX>, -statefile <STATEFILE>, -errors <i>, -threads <i>, -loglevel <LEVEL>, -instances <i>, -beagle_order <order> and -beagle_scaling <default|none|dynamic|always> are the ones that want a value handed to them. the rest are just vibes. ✨

πŸŽ€ EXAMPLES πŸŽ€

here's how it actually looks when you run it, copy these exactly bestie:

beast2-mcmc test.xml
beast2-mcmc -window test.xml
beast2-mcmc -help

🫢 AUTHOR 🫢

this manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. thank you Andreas, we appreciate you πŸ₯ΉπŸ’œ


and that's the whole page, bestie!! we did it. πŸŽ‰ this was beast2-mcmc version 2.4.1, dated May 2016, and honestly it ate. go run your MCMC, you main character. πŸ¦‹βœ¨πŸ’–