bootstrapping and consensus tree by TREEMIX

2,495 views
Skip to first unread message

Chee Wei Yew

unread,
May 30, 2015, 11:33:11 AM5/30/15
to structure...@googlegroups.com
Dear All,

I notice that different runs of bootstrapping (-bootstrap -K ) by TREEMIX, with the same settings will generate trees of different topology. As such, the main clades of the tree topology is always the same across the runs, but the smaller clades, which I made up of populations that might be admixed, are always different. I would like to obtain a consensus tree topology out of multiple independent runs (e.g. 100 trees).

My question:

How to obtain a consensus tree? is there commands for this in TREEMIX?

Thanks!

Regards,
Yew

Jane

unread,
Aug 3, 2015, 8:01:13 PM8/3/15
to structure-software
Hi Yew, 
    Did you figure out how ? I am having the same issue. The solution I can think is to make a number bootstrap replicates (refer to the manual) and create consensus tree in some other program, like Phylip :http://evolution.genetics.washington.edu/phylip/doc/consense.html
   But I have no clue how to deal with the migration though. 


Jane

Chee Wei Yew

unread,
Aug 3, 2015, 11:59:18 PM8/3/15
to structure...@googlegroups.com
Hi Jane,

Unfortunately, I haven't figured it out yet. I just wonder how the author of the treemix paper did it. Have a look at their large treemix-tree, with all HGDP populations, I am sure there is a way to construct such a tree which is good for presentation and publication.

I tried to use the instruction given in the manual under the section 'Input a previously generated tree/graph (-g)'. It does not work also.

Yea, I use phylip to draw ML and NJ trees, but it doesn't have the migration direction, which is essentially the soul of TREEMIX.

I am currently busy with my writing. When I am free, I will try to ask the authors directly. If I got good news, I will let you know.
Thank you.

Regards,
Chee Wei

--
You received this message because you are subscribed to a topic in the Google Groups "structure-software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/structure-software/G2Jids9wE-E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to structure-softw...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

Joseph Pickrell

unread,
Aug 4, 2015, 10:00:30 AM8/4/15
to structure...@googlegroups.com
Hi all, 

For building consensus trees from different bootstrapped treemix runs, I used sumtrees in the dendropy package: http://pythonhosted.org/DendroPy/programs/sumtrees.html

I unfortunately don't have a way of visualizing bootstrapped graphs in a satisfying way. 

Best, 

Joe

You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
Message has been deleted

Gislaine

unread,
Mar 8, 2017, 1:54:21 PM3/8/17
to structure-software
Hi Joe, 

Is so important make the consensus tree with bootstrap? Because In my case, even with NJ or UPGMA I didn't recovery good support for the branches, except to one group that is my outgroup, that I fixed as a root in treemix. So my question is if I can discuss the results without the bootstrap of the tree (considering the low support to ingroup from NJ and UPGMA), but considering the likelihood values from different runs of migration and considering the residual plot. Can I do it?

Thanks 
To unsubscribe from this group and all its topics, send an email to structure-software+unsub...@googlegroups.com.

To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-software+unsub...@googlegroups.com.

Nikki Phair

unread,
Apr 20, 2018, 4:51:32 AM4/20/18
to structure-software
Hello,

I see that this thread is not very recent but I thought I'd take a chance anyway. I have been playing around with the Treemix parameters, the manual is very basic, and I'm not sure what is best for my study... My biggest question right now is where do I find the bootstrap values? and to run for example 100 replicates, do I literally need to run "treemix -i infile.gz -o outstem1-100 -bootstrap -k 500 -m 10 -se" 100 times?

When I plot my trees the bootstrap values don't show up and there is no handy output labled 'bootstrap values'. Any advice?

Thanks in advance,
Nikki

Adrián Casanova Chiclana

unread,
Oct 18, 2018, 9:29:33 AM10/18/18
to structure-software
Hi everyone,

Maybe one option could be this Rpackage : https://github.com/marcomilanesi/BITE

"BITE implements additional useful procedures, such as representative sampling and bootstrap for TreeMix, filling the gap in existing biodiversity data analysis tools."

I will try it.

elizabet...@gmail.com

unread,
Mar 25, 2019, 9:29:37 PM3/25/19
to structure-software
Hello everyone,

Has anyone found a good solution or code to address this question (labeling a treemix tree with bootstrap support results)?  The documentation for the BITE package is incomplete, and the author of the program said that they have not finished the documentation yet.

Any guidance on this topic would be much appreciated.

Thanks!
Elizabeth

Suany Quesada

unread,
Jan 23, 2020, 10:51:09 AM1/23/20
to structure-software
Hi everyone,
I ran the bash script "Treemix_bootstrap.sh"  from the BITE web page https://github.com/marcomilanesi/BITE/wiki/How-to-run-Treemix-analyses  but I got a error message  "export: Illegal option -f " ....
I followed the instructions and have tried to find how to fix the error but could not... Has anyone the solution???

My comand line was:
     sh ./BITE-master/BITE_1.2.0007/BITE/inst/scripts/treemix_scripts/Treemix_bootstrap.sh populations2.treemix.gz 3 6 500 NoOutgroup 10 ./ pru
      **** RUNNING TREEMIX ****
     ./BITE-master/BITE_1.2.0007/BITE/inst/scripts/treemix_scripts/Treemix_bootstrap.sh: 54: export: Illegal option -f

Thanks in advance,
Have a nice day!

Vikram Chhatre

unread,
Jan 23, 2020, 10:56:48 AM1/23/20
to structure-software
The best people to help with this are the ones who wrote the bash script. I suggest opening a new issue on their Github page.



--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/structure-software/a3d18b0b-7c43-445e-a192-ad4f71b719ef%40googlegroups.com.

Suany Quesada

unread,
Jan 23, 2020, 12:54:57 PM1/23/20
to structure-software
I will do that! Thank you!!
To unsubscribe from this group and stop receiving emails from it, send an email to structure-software+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages