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
797 stars 214 forks source link

Allow option to ignore bad taxonomic annotation #750

Open dengzq1234 opened 6 months ago

dengzq1234 commented 6 months 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