make csv to qza


I want to convert the shannon number calculated in R to qza.

I made a biom file with biom convert -i shannon_share.tsv -o new_otu_table.biom --to-hdf5.

qiime tools import --input-path new_otu_table.biom --input-format BIOMV100Format --output-path shannon.qza --type

–type Which one should I choose next?

Thank you.

Could you try "SampleData[AlphaDiversity]"

I tried, but I got an error.

Traceback (most recent call last):
File “/data/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/builtin/”, line 158, in import_data
File “/data/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/”, line 241, in import_data
File “/data/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/”, line 266, in _from_view
File “/data/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/core/”, line 59, in make_transformation
(self._view_type, other._view_type))
Exception: No transformation from <class ‘q2_types.feature_table._format.BIOMV100Format’> to <class ‘qiime2.plugin.model.directory_format.AlphaDiversityDirectoryFormat’>

An unexpected error has occurred:

No transformation from <class ‘q2_types.feature_table._format.BIOMV100Format’> to <class ‘qiime2.plugin.model.directory_format.AlphaDiversityDirectoryFormat’>

See above for debug info.

Why did you convert it to biom? If you want a shannon.qza, as it produced in Qiime, you should use a .tsv file.
If you just want to add this metric to feature table, use 'FeatureTable[Frequency]'

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