I am trying to use summarize_otu_distributions.py parse my biom table exported from Qiime2. I ran into an issue:
Traceback (most recent call last):
File "summarize_otu_distributions.py", line 61, in
make_otu_summary(path_table, path_otu_summary)
File "summarize_otu_distributions.py", line 21, in make_otu_summary
otu_tax = {i: '; '.join(md['taxonomy']) for v, i, md in table.iter(axis='observation')}
File "summarize_otu_distributions.py", line 21, in
otu_tax = {i: '; '.join(md['taxonomy']) for v, i, md in table.iter(axis='observation')}
TypeError: 'NoneType' object is not subscriptable
The emp biom file (emp_deblur_90bp.subset_2k.rare_5000.biom) worked, so I suspect that it has something to do with the biom format? But I do not know where to investigate....
Hi team,
I am trying to use summarize_otu_distributions.py parse my biom table exported from Qiime2. I ran into an issue:
The emp biom file (emp_deblur_90bp.subset_2k.rare_5000.biom) worked, so I suspect that it has something to do with the biom format? But I do not know where to investigate....
Any help is much appreciated! Many thanks! /Ding