I get an error message when I try to visualize my ANCOM-BC results with the following plugin: tabulate: View tabular output from ANCOM-BC. — QIIME 2 2022.11.1 documentation
I tried with several datasets - so I do not think that this error is really affiliated to my dataset.
I'm using qiime2-2022.11 in a conda environment.
See the error message with the --verbose flag below.
Thanks for your help!
qiime composition tabulate --i-data ancombc.qza --o-visualization ancombc.qzv --verbose
Traceback (most recent call last):
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/q2cli/commands.py", line 352, in call
results = action(**arguments)
File "", line 2, in tabulate
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/qiime2/sdk/action.py", line 234, in bound_callable
outputs = self.callable_executor(scope, callable_args,
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/qiime2/sdk/action.py", line 443, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/q2_composition/_dataloaf_tabulate/_visualizer.py", line 33, in tabulate
slice_df = slice[1].view(pd.DataFrame).set_index('id')
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
File "/home/conda/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/pandas/core/frame.py", line 6009, in set_index
raise KeyError(f"None of {missing} are in the columns")
KeyError: "None of ['id'] are in the columns"
Plugin error from composition:
"None of ['id'] are in the columns"
See above for debug info.