diff --git a/rescript/get_gtdb.py b/rescript/get_gtdb.py index bb7971d..2acb1ff 100644 --- a/rescript/get_gtdb.py +++ b/rescript/get_gtdb.py @@ -96,8 +96,7 @@ def _assemble_queries(version='220.0', def parse_gtdb_taxonomy(tax_str): - tax = ' '.join(tax_str.split()[0:2]) - return tax + return tax_str.split("[")[0].strip() def _get_gtdb_data_path(tmpdirname, url, basename):