Programs to View MrBayes Consensus Trees
1
0
Entering edit mode
7.2 years ago
pld 4.9k

I've tried several web tools that draw trees in newick formatting, but outside of the nexus formatting, the MrBayes *.con.tre file seems to contain a ton of extra stuff. Any suggestions for programs that can draw the trees directly from this file, or what needs to be changed in the file to make it possible to draw with programs that take only newick format?

 

For example: I've tried FigTree, but any attempt to open a .con.tre file results in an error stating "Missing closing ")" in tree"
 

Can someone post a working con.tre file for me to compare my file against? I'm fine with manually fixing the files if I only knew what to look for.

mrbayes • 6.7k views
ADD COMMENT
0
Entering edit mode

i do have same problem can you tell me hoe to fix this as I am unable to understand why it is shoe missing ")" in tree

ADD REPLY
1
Entering edit mode
7.2 years ago

I have successfully used FigTree with MrBayes consensus trees. Here is the command block I used and then directly imported into FigTree.

#NEXUS
begin mrbayes;
    execute nels.nexus;
    mcmcp filename = tree1;
    Prset Aamodelpr = fixed(rtrev);
    mcmc nchains = 4 ngen = 500000;
    sumt relburnin = yes burninfrac = 0.25;
    sump relburnin = yes burninfrac = 0.25;
    sump;
    sumt;
end;
ADD COMMENT
0
Entering edit mode

That is more or less what I ran:

execute xxxx.nexus;
lset nst=6;
lset rates=invgamma;
mcmcp ngen=10000000;
mcmcp samplefreq=10;
mcmcp nruns=3;
mcmcp nchains=40;
mcmcp relburnin=yes;
mcmcp burninfrac=0.20;
mcmcp mcmcdiagn=yes;
mcmcp diagnfreq=500;
mcmc;
sumt;
sump;

Which file are you loading into FigTree?

ADD REPLY
0
Entering edit mode

*.con.tre

ADD REPLY
0
Entering edit mode

This is frusterating, which version of MrBayes are you using, maybe there is an issue there.

ADD REPLY
0
Entering edit mode

Yes, it really is. fig tree-1.0.4 and MrBayes-3.2.2.

ADD REPLY
1
Entering edit mode

I managed to fix it, there were newline characters in the tree string.

ADD REPLY

Login before adding your answer.

Traffic: 2092 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6