etetoolkit / ete

Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.
http://etetoolkit.org
GNU General Public License v3.0
781 stars 212 forks source link

get_common_ancestor() replacement #736

Closed MohammadDara closed 10 months ago

MohammadDara commented 10 months ago

What is the replacement for the get_common_ancestor function? Based on the following document, there was a get_common_ancestor function in the ete3, but I can't find anything for ete4. Is it removed? http://etetoolkit.org/docs/latest/tutorial/tutorial_trees.html#tree-rooting

dengzq1234 commented 10 months ago

Hi get_common_ancestor() is called common_ancestor() in ete4. please check the the documentation of ete4 in the following link for more detail: https://etetoolkit.github.io/ete/tutorial/tutorial_trees.html#find-the-first-common-ancestor