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
768 stars 216 forks source link

Allow option to ignore bad taxonomic annotation #750

Open dengzq1234 opened 1 month ago

dengzq1234 commented 1 month ago

By default, if a leaf has empty annotation, the empty annotation will pass all the way up to root, here we need to add a option to ignore the empty annotation