thanks for your quick reply.
I have 20 different hdf5 biom files that I need to merge in one file. They are in a folder named Clean_biom, so, I tried to import them with:
Is there any way to make it easier? I mean…if you have 100 files, instead writing each importing files, is it possible to specify a folder? or make a loop?
If you are comfortable working with the python API this is much easier, since you just input a list of tables to this command, so you can easily glob a whole directory to get this done.
Thanks!
In the end, I have found this post, it's really useful and the ruby script works well.
The only problem is that my final merged file doesn't have the taxonomy anymore. A taxonomy was present in the original single biom files. Probably because qiime artifact files don't include taxonomy? Or is there any option that I should include when importing the biom files?
Correct. QIIME 2 keeps feature tables and metadata (e.g., taxonomy) separate at all times — for one, this makes it much clearer what is stored inside. Feature metadata (e.g., taxonomy) is supplied any time it is needed.
The thing to do is import each of those biom tables a second time as a taxonomy artifact: