SlideShare a Scribd company logo
1 of 15
Download to read offline
Introduction to MrBayes
Fred(rik) Ronquist
Dept. Bioinformatics and Genetics
Swedish Museum of Natural History, Stockholm, Sweden
Installing MrBayes
! Two options:
! Go to mrbayes.net, click Download and
follow the instructions to download the
current release (3.2.6)
!
OR go to https://github.com/
NBISweden/MrBayes/releases to
download the prerelease of the next version
(3.2.7) (but you have to compile this yourself
on your machine)
Running MrBayes
! Use execute to bring data in a Nexus file into
MrBayes
! Set the model and priors using lset and prset
! Run the chain using mcmc; results in a set of .p
and .t files
! The .t files contain tree samples in Nexus format
! The .p files contain tab-delimited samples of the
model parameters
! Summarize the parameter samples using sump
! Summarize the tree samples using sumt
Convergence Diagnostics
! By default, MrBayes performs two independent
analyses starting from different random trees (mcmc
nruns=2)
! Average standard deviation of split frequencies
calculated and presented during the run (mcmc
mcmcdiagn=yes diagnfreq=5000) and written to file
(.mcmc). Suggested target < 0.05.
! Standard deviation of each clade frequency and
potential scale reduction for branch lengths
calculated with sumt
! Potential scale reduction calculated for all
substitution model parameters with sump
! Other tools: Awty and Tracer
Files output by MrBayes
During an mcmc run
myfile.mcmc Mcmc run diagnostics
myfile.run1.p Parameter samples
myfile.run2.p - ” -
myfile.run1.t Tree samples
myfile.run2.t - “ -
After sump
myfile.pstat Parameter statistics
myfile.lstat Model likelihood estimates
After sumt
myfile.con.tre Consensus tree (FigTree fmt by def)
myfile.trprobs Sampled trees and their probabilities
myfile.parts Specification of clades or splits
myfile.tstat Tree statistics
myfile.vstat Branch length statistics
MrBayes 3.2 additions
! Use combinations of hard, negative, and partial
(backbone) constraints on topologies
! Relaxed clocks and dating
! Multi-species coalescent (the BEST model)
! Model jumping across the GTR subspace
! Estimate Bayes factors using stepping-stone
sampling
! New tree proposals
! Faster likelihood calculation
Substitution Model Space
π state frequencies
r exchangeability rates
GTR model parameters
π = {πA, πC, πG, πT }
r = {rAC, rAG, rAT, rCG, rCT, rGT }
r = {rAC, rAG, rAT, rCG, rCT, rGT }
r = {rtv, rti, rtv, rtv, rti, rtv }
r = {r, r, r, r, r, r }
Model Rate vector Restr. Growth Fxn K
{1,2,3,4,5,6}
{1,2,1,1,2,1}
{1,1,1,1,1,1}
6
2
1
GTR
HKY
F81
All 203
submodels of
GTR
Number of substitution types (K)
Posteriorprobability
Model averaging (reversible jump MCMC) over
all possible submodels of the GTR model
Huelsenbeck et al., 2004, MBE
lset nst=1
lset nst=2
lset nst=6
Fixed number of substitution types
lset nst=mixed
Integrate over 203 models
357 taxa, ~3 kb, atpB + rbcL
4 x 1 chains (no heating)
traditional topology proposals
(ExtTBR, ExtSPR, NNI)
Parsimony-biased proposal
(ParsSPR)
Resources
! MrBayes web site (mrbayes.net)
! Online help in the program (type help or help <command>)
! MrBayes 3.2 manual with tutorials. The first two tutorials are
strongly recommended for beginners: a simple analysis
(primates.nex) and an analysis of partitioned data (cynmix.nex).
! Graphical summaries of the MrBayes 3.2 models in the manual
(Appendix)
! Books and Papers:
! Nielsen (ed.) chapter: intro + complex partitioned analysis (kim.nex)
(version 3.1)
! Lemey et al (ed.) chapter: intro + tutorials (version 3.2)
! Annual Review of Entomology: Review of Bayesian phylogenetics
! Phylogenetic Trees Made Easy
Some Advice
! If you use ModelTest or MrModelTest: Do not fix parameters in MrBayes
! Run at least 1,000,000 generations
! Don’t worry if average standard deviation of split frequencies (ASDSF)
increases in the beginning of the run
! Save time by running the analysis without heating, if it works
! Experiment with MPI, SSE and Beagle code to find the fastest
combination on your machine
! If you have difficulties with convergence:
! Change relative proposal probabilities or tuning parameters
! If you use heated chains and there are few swaps between chains, try to
lower the temperature coefficient
! Increase the number of heated chains
! Run the analysis longer
! Make the model more realistic
! Start with randomly perturbed good trees

More Related Content

Similar to MrBayes_intro_big4ws_2016-10-10

A Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelA Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelJenny Liu
 
Phylogenomic Supertrees. ORP Bininda-Emond
Phylogenomic Supertrees. ORP Bininda-EmondPhylogenomic Supertrees. ORP Bininda-Emond
Phylogenomic Supertrees. ORP Bininda-EmondRoderic Page
 
1.7 data reduction
1.7 data reduction1.7 data reduction
1.7 data reductionKrish_ver2
 
Accounting for uncertainty in species delineation during the analysis of envi...
Accounting for uncertainty in species delineation during the analysis of envi...Accounting for uncertainty in species delineation during the analysis of envi...
Accounting for uncertainty in species delineation during the analysis of envi...methodsecolevol
 
Climbing Mt. Metagenome
Climbing Mt. MetagenomeClimbing Mt. Metagenome
Climbing Mt. Metagenomec.titus.brown
 
Home Page Live(Www2007)
Home Page Live(Www2007)Home Page Live(Www2007)
Home Page Live(Www2007)tomelf2007
 
Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer PerceptronsESCOM
 
RNA-seq differential expression analysis
RNA-seq differential expression analysisRNA-seq differential expression analysis
RNA-seq differential expression analysismikaelhuss
 
BLAST_CSS2.ppt
BLAST_CSS2.pptBLAST_CSS2.ppt
BLAST_CSS2.pptSilpa87
 
Efficient Implementation of Self-Organizing Map for Sparse Input Data
Efficient Implementation of Self-Organizing Map for Sparse Input DataEfficient Implementation of Self-Organizing Map for Sparse Input Data
Efficient Implementation of Self-Organizing Map for Sparse Input Dataymelka
 
From DNA Sequence Variation to .NET Bits and Bobs
From DNA Sequence Variation to .NET Bits and BobsFrom DNA Sequence Variation to .NET Bits and Bobs
From DNA Sequence Variation to .NET Bits and BobsSource Conference
 
RNA-seq quality control and pre-processing
RNA-seq quality control and pre-processingRNA-seq quality control and pre-processing
RNA-seq quality control and pre-processingmikaelhuss
 
ProFET - Protein Feature Engineering Toolki
ProFET - Protein Feature Engineering ToolkiProFET - Protein Feature Engineering Toolki
ProFET - Protein Feature Engineering ToolkiDan Ofer
 
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...Naoki Shibata
 
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...Salford Systems
 

Similar to MrBayes_intro_big4ws_2016-10-10 (20)

A Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in ParallelA Tale of Data Pattern Discovery in Parallel
A Tale of Data Pattern Discovery in Parallel
 
Phylogenomic Supertrees. ORP Bininda-Emond
Phylogenomic Supertrees. ORP Bininda-EmondPhylogenomic Supertrees. ORP Bininda-Emond
Phylogenomic Supertrees. ORP Bininda-Emond
 
1.7 data reduction
1.7 data reduction1.7 data reduction
1.7 data reduction
 
Accounting for uncertainty in species delineation during the analysis of envi...
Accounting for uncertainty in species delineation during the analysis of envi...Accounting for uncertainty in species delineation during the analysis of envi...
Accounting for uncertainty in species delineation during the analysis of envi...
 
Climbing Mt. Metagenome
Climbing Mt. MetagenomeClimbing Mt. Metagenome
Climbing Mt. Metagenome
 
Home Page Live(Www2007)
Home Page Live(Www2007)Home Page Live(Www2007)
Home Page Live(Www2007)
 
PPT
PPTPPT
PPT
 
User biglm
User biglmUser biglm
User biglm
 
Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer Perceptrons
 
RNA-seq differential expression analysis
RNA-seq differential expression analysisRNA-seq differential expression analysis
RNA-seq differential expression analysis
 
2017 nov reflow sbtb
2017 nov reflow sbtb2017 nov reflow sbtb
2017 nov reflow sbtb
 
Bio Linux
Bio LinuxBio Linux
Bio Linux
 
BLAST_CSS2.ppt
BLAST_CSS2.pptBLAST_CSS2.ppt
BLAST_CSS2.ppt
 
Efficient Implementation of Self-Organizing Map for Sparse Input Data
Efficient Implementation of Self-Organizing Map for Sparse Input DataEfficient Implementation of Self-Organizing Map for Sparse Input Data
Efficient Implementation of Self-Organizing Map for Sparse Input Data
 
From DNA Sequence Variation to .NET Bits and Bobs
From DNA Sequence Variation to .NET Bits and BobsFrom DNA Sequence Variation to .NET Bits and Bobs
From DNA Sequence Variation to .NET Bits and Bobs
 
RNA-seq quality control and pre-processing
RNA-seq quality control and pre-processingRNA-seq quality control and pre-processing
RNA-seq quality control and pre-processing
 
ProFET - Protein Feature Engineering Toolki
ProFET - Protein Feature Engineering ToolkiProFET - Protein Feature Engineering Toolki
ProFET - Protein Feature Engineering Toolki
 
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...
(Slides) A Method for Distributed Computaion of Semi-Optimal Multicast Tree i...
 
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
A Hybrid Method of CART and Artificial Neural Network for Short Term Load For...
 
Cliff sugerman
Cliff sugermanCliff sugerman
Cliff sugerman
 

Recently uploaded

Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfWadeK3
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 

Recently uploaded (20)

Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 

MrBayes_intro_big4ws_2016-10-10

  • 1. Introduction to MrBayes Fred(rik) Ronquist Dept. Bioinformatics and Genetics Swedish Museum of Natural History, Stockholm, Sweden
  • 2. Installing MrBayes ! Two options: ! Go to mrbayes.net, click Download and follow the instructions to download the current release (3.2.6) ! OR go to https://github.com/ NBISweden/MrBayes/releases to download the prerelease of the next version (3.2.7) (but you have to compile this yourself on your machine)
  • 3. Running MrBayes ! Use execute to bring data in a Nexus file into MrBayes ! Set the model and priors using lset and prset ! Run the chain using mcmc; results in a set of .p and .t files ! The .t files contain tree samples in Nexus format ! The .p files contain tab-delimited samples of the model parameters ! Summarize the parameter samples using sump ! Summarize the tree samples using sumt
  • 4. Convergence Diagnostics ! By default, MrBayes performs two independent analyses starting from different random trees (mcmc nruns=2) ! Average standard deviation of split frequencies calculated and presented during the run (mcmc mcmcdiagn=yes diagnfreq=5000) and written to file (.mcmc). Suggested target < 0.05. ! Standard deviation of each clade frequency and potential scale reduction for branch lengths calculated with sumt ! Potential scale reduction calculated for all substitution model parameters with sump ! Other tools: Awty and Tracer
  • 5. Files output by MrBayes During an mcmc run myfile.mcmc Mcmc run diagnostics myfile.run1.p Parameter samples myfile.run2.p - ” - myfile.run1.t Tree samples myfile.run2.t - “ - After sump myfile.pstat Parameter statistics myfile.lstat Model likelihood estimates After sumt myfile.con.tre Consensus tree (FigTree fmt by def) myfile.trprobs Sampled trees and their probabilities myfile.parts Specification of clades or splits myfile.tstat Tree statistics myfile.vstat Branch length statistics
  • 6. MrBayes 3.2 additions ! Use combinations of hard, negative, and partial (backbone) constraints on topologies ! Relaxed clocks and dating ! Multi-species coalescent (the BEST model) ! Model jumping across the GTR subspace ! Estimate Bayes factors using stepping-stone sampling ! New tree proposals ! Faster likelihood calculation
  • 7. Substitution Model Space π state frequencies r exchangeability rates GTR model parameters π = {πA, πC, πG, πT } r = {rAC, rAG, rAT, rCG, rCT, rGT } r = {rAC, rAG, rAT, rCG, rCT, rGT } r = {rtv, rti, rtv, rtv, rti, rtv } r = {r, r, r, r, r, r } Model Rate vector Restr. Growth Fxn K {1,2,3,4,5,6} {1,2,1,1,2,1} {1,1,1,1,1,1} 6 2 1 GTR HKY F81
  • 9. Number of substitution types (K) Posteriorprobability Model averaging (reversible jump MCMC) over all possible submodels of the GTR model Huelsenbeck et al., 2004, MBE
  • 10. lset nst=1 lset nst=2 lset nst=6 Fixed number of substitution types lset nst=mixed Integrate over 203 models
  • 11. 357 taxa, ~3 kb, atpB + rbcL 4 x 1 chains (no heating) traditional topology proposals (ExtTBR, ExtSPR, NNI) Parsimony-biased proposal (ParsSPR)
  • 12. Resources ! MrBayes web site (mrbayes.net) ! Online help in the program (type help or help <command>) ! MrBayes 3.2 manual with tutorials. The first two tutorials are strongly recommended for beginners: a simple analysis (primates.nex) and an analysis of partitioned data (cynmix.nex). ! Graphical summaries of the MrBayes 3.2 models in the manual (Appendix) ! Books and Papers: ! Nielsen (ed.) chapter: intro + complex partitioned analysis (kim.nex) (version 3.1) ! Lemey et al (ed.) chapter: intro + tutorials (version 3.2) ! Annual Review of Entomology: Review of Bayesian phylogenetics ! Phylogenetic Trees Made Easy
  • 13.
  • 14.
  • 15. Some Advice ! If you use ModelTest or MrModelTest: Do not fix parameters in MrBayes ! Run at least 1,000,000 generations ! Don’t worry if average standard deviation of split frequencies (ASDSF) increases in the beginning of the run ! Save time by running the analysis without heating, if it works ! Experiment with MPI, SSE and Beagle code to find the fastest combination on your machine ! If you have difficulties with convergence: ! Change relative proposal probabilities or tuning parameters ! If you use heated chains and there are few swaps between chains, try to lower the temperature coefficient ! Increase the number of heated chains ! Run the analysis longer ! Make the model more realistic ! Start with randomly perturbed good trees