Skip to content

Commit

Permalink
refactor GTDB taxonomy parser (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbokulich authored Jun 12, 2024
1 parent 4bf4576 commit 3c179ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rescript/get_gtdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3c179ca

Please sign in to comment.