Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taxtable produes malformed column names #127

Closed
bowmanjeffs opened this issue Mar 14, 2019 · 2 comments
Closed

taxtable produes malformed column names #127

bowmanjeffs opened this issue Mar 14, 2019 · 2 comments

Comments

@bowmanjeffs
Copy link

When I recently updated to the latest version of taxtastic I discovered that taxit taxtable taxonomy.db -f tax_ids.txt -o taxa.csv produces a taxa.csv file with malformed rank names.

From an old file: "tax_id","parent_id","rank","tax_name","root","below_root","superkingdom","below_superkingdom","below_below_superkingdom","below_below_below_superkingdom","below_below_below_below_superkingdom","phylum","below_phylum","below_below_phylum","subphylum","class","below_class","below_below_class","subclass","order","below_order","below_below_order","suborder","family","below_family","below_below_family","below_below_below_family","subfamily","tribe","genus","below_genus","subgenus","species_group","species_subgroup","species","below_species","below_below_species","below_below_below_species","subspecies","below_subspecies","below_below_subspecies","below_below_below_subspecies"

From a new file: "tax_id","parent_id","rank","tax_name","root","root_","superkingdom","superkingdom_","superkingdom__","phylum","phylum_","phylum__","class","class_","order","order_","order__","family","family_","genus","species","species_"

One can distinguish between X, below_X, below_below_X from these names, but it doesn't look like this was an intentional renaming.

@crosenth
Copy link
Member

crosenth commented Mar 15, 2019

Hi Jeff,

The new "_" suffix is intentional and replaces the older "below_" prefix. The new annotation was implemented to avoid extremely long "below_below_below_..." column names that can occur when building extremely large taxtables.

@nhoffman
Copy link
Member

Closing - please repoen if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants