that include taxonomy class and the form must be strictly hierarchy.
Please tell me how to get the right form data that STAMP could use.
Thanks very much!!!
I would export your data to a biom file, export your taxonomy to a tsv, combine them, and then convert to a text file. I'll put those commands below.
However, my unsolicited reply is also to strongly discourage the use of STAMPS. It's taxonomic comparisons are based on tests that aren't appropriate for microbiome data (the user manual shows anova(!!!!) as a possible statistical test which makes all kinds of assumptions that got thrown out 2014-2017). There are a couple of posts that list some issues; here's one that links to about half a dozen more posts:
You can use ANCOM, which is compositionally aware, within QIIME 2, which I might recommend as a starting point.
And, that warning issued, here's hwat I would do:
Export feature table to a qza. Im going to assume your feature table is called feature-table.qza
Carefully edit the file according to your needs, wants and desires. If you're using excel, you want to open AS TEXT. Alternatively I would recommend python, R, or another text-handling programatic software of your choice. (Although if you're using Python, I suggest the python API for both biom and , since they're going to be easier.)
And , you now have a tax with taxonomy that is appropriate for all sorts of other visualisation software but probably shouldn't go into stamps for the aforementioned reasons.