Supercomputing Networking Research Education Ohio Supercomputer Center Site Map Staff Directory Support
Supercomputing image

MrBayes

Introduction

MrBayes is a program for the Bayesian estimation of phylogeny. Bayesian inference of phylogeny is based upon a quantity called the posterior probability distribution of trees, which is the probability of a tree conditioned on the observations. The conditioning is accomplished using Bayes's theorem. The posterior probability distribution of trees is impossible to calculate analytically; instead, MrBayes uses a simulation technique called Markov chain Monte Carlo (or MCMC) to approximate the posterior probabilities of trees.

Version

Version 3.1.2 is currently available at OSC.

Availability

MrBayes is available on the Glenn Cluster.

Usage

Mrbayes is accessed by executing the following commands:

module load biosoftw
module load mrbayes-3.1.2

Below is a sample batch script for running serial mrbayes job. It asks for 1 processor and 30 minutes of walltime.

#PBS -l walltime=30:00
#PBS -l nodes=1:ppn=1
#PBS -N mb
#PBS -j oe
set -x
date

cd $PBS_O_WORKDIR
cp ./primates.nex $TMPDIR
cp ./primates.nxs $TMPDIR

cd $TMPDIR

module load mrbayes-3.1.2
/usr/bin/time mb ./primates.nxs > mb.log

cp * $PBS_O_WORKDIR

date

----

Below is a sample batch script for running parallel job. It asks for 2 nodes, 8 processors and 30 minutes of walltime.

#PBS -l walltime=30:00
#PBS -l nodes=2:ppn=4
#PBS -N mb-parallel
#PBS -j oe
set -x
date

cd $PBS_O_WORKDIR
pbsdcp ./primates.nex $TMPDIR
pbsdcp ./primates.nxs $TMPDIR

cd $TMPDIR

module load mrbayes-3.1.2
/usr/bin/time mpiexec mb-parallel ./primates.nxs > mb-paralllel.log

pbsdcp -g '*' $PBS_O_WORKDIR

date

Documentation

User manual is available at http://mrbayes.csit.fsu.edu/manual.php