Applications/MrBayes

From HPC
Revision as of 16:15, 7 February 2017 by Chris.collins (talk | contribs) (Application Details)

Jump to: navigation , search

Application Details

  • Description: 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.
  • Versions: 3.2.6
  • Module names: mrbayes/gcc/3.2.6
  • License: Available to all; GNU General Public License version 2.0 (GPLv2)

Usage Examples

Interactive

[username@c170 ~]$ mb


                            MrBayes v3.2.6 x64

                      (Bayesian Analysis of Phylogeny)

              Distributed under the GNU General Public License


               Type "help" or "help <command>" for information
                     on the commands that are available.

                   Type "about" for authorship and general
                       information about the program.


MrBayes >

Batch Submission

A better approach is to submit a MrBayes task as a parallel batch submission to run across multiple nodes, an example of which is:

#!/bin/bash
#SBATCH -J MrBTest
#SBATCH -N 4
#SBATCH -n 100
#SBATCH -o %N-%j.log
#SBATCH -e %N-%j.err
#SBATCH -p compute

module add openmpi/gcc/1.10.5 mrbayes/gcc/3.2.6

mpirun -mca pml cm -mca mtl psm2 mb-mpi input_nex_file.nex

The options for mpirun are required to make use of the Omni-Path interconnect. This submission script can be found at /path/to/sample/script

[username@login01 ~]$ sbatch MRBayes.job
Submitted batch job 289555

Further Information