Import FeatureData[Taxonomy]

Hello, I am trying to import taxonomy data which I will later use to train a classifier. When importing the data, a number of IDs were flagged as non-unique. When I inspect this IDs, I can see that they contain a character such as ‘#’.

As such, is there any way I can import this data using the ‘qiime tools import’ command without editing my taxonomy (and consequently database) to remove these characters?

Command (using qiime 2018.6):
qiime tools import --type ‘FeatureData[Taxonomy]’ --source-format HeaderlessTSVTaxonomyFormat --input-path taxonomy.txt --output-path ref_taxonomy.qza


Hey there @SamMc!

Unfortunately not — the # is interpreted as a comment. Updating the file using a tool like sed, or a text editor’s find-and-replace functionality could help out here. :t_rex:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.