50 likes | 197 Views
Demo: MrBayes. http://mrbayes.csit.fsu.edu/ http://abacus.gene.ucl.ac.uk/ziheng/teach/testMB.nex Ziheng Yang Department of Biology, UCL. Small example file. http://abacus.gene.ucl.ac.uk/ziheng/teach/testMB.nex. MrBayes commands. exec : loads a file and run commands in it
E N D
Demo: MrBayes http://mrbayes.csit.fsu.edu/ http://abacus.gene.ucl.ac.uk/ziheng/teach/testMB.nex Ziheng Yang Department of Biology, UCL
Small example file http://abacus.gene.ucl.ac.uk/ziheng/teach/testMB.nex
MrBayes commands exec: loads a file and run commands in it lset: sets the substitution model prset: sets the prior mcmcp: sets parameters for the mcmc. mcmc: same as mcmcp but starts mcmc as well. sump: summarizes parameters sumt: summarizes trees (ignore branch lengths) quit: return to OS.
MrBayes data block #NEXUS begin data; dimensions ntax=5 nchar=30; format datatype=dna missing=? gap=-; matrix A AATAGAGTGA GACCATTAGG CACTAAACTA B AAACGAGTGA GACGATTAGT CACAAAGATA C AAGCGATTCA GACAGTTAGC CACAAATGTA D AATTGAATCA GACAATGAGC CACCAATATA E AAGTGATTCA GTCAGTGAGT CACTAATTTA ; end;
MrBayes command block begin mrbayes; lset nst=2 ; mcmcp ngen=1000000 samplefreq=1000 printfreq=10000; mcmcp nchain=2 burnin=2000; mcmc; sumt; sump; end;