Closed dhoogest closed 3 years ago
From TaxNode.from_taxtable
Traces back to this circular lineage in the taxonomy.csv:
NCBI has since corrected the lineage so, hopefully, everything should work again
https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=1338369
It appears that
TaxNode.from_taxtable
(and possibly other TaxNode methods) were overlooked when applying modifications in this PR, where support for new 'unordered' NCBI ranks was added. As a consequence, invocations ofTaxNode.from_taxtable
from packages such as https://github.com/fhcrc/deenurp/blob/070-python3/deenurp/subcommands/filter_outliers.py#L497 fail when parsing a taxtable that contains unordered ranks.Attached csv contains a taxtable which is suitable for testing. taxonomy.csv
See also https://gitlab.labmed.uw.edu/molmicro/airflow/-/issues/22