Dear community,
I came up with a difficult error when performing q2-songbird suggested pipeline. Need to say that I previously ran exactly the same command (but using another feature table) and it was executed successfully.
I also saw that could be a metadata related error (longitudinal pairwise difference error), but after checking carefully my metadata I discarded this option. Moreover, I had no problems running alfa and beta diversity metrics.
The command (from a genus-level collapsed table):
qiime songbird multinomial
--i-table ancom-24/table-patology-l6.qza
--m-metadata-file metadata-24.tsv
--p-formula "type"
--p-epochs 1000000
--p-differential-prior 0.1
--p-summary-interval 1
--p-learning-rate 0.0001
--p-batch-size 8
--o-differentials songbird/24/differentials-l6.qza
--o-regression-stats songbird/24/regression-stats-l6.qza
--o-regression-biplot songbird/24/regression-biplot-l6.qza
--verbose
The error:
Traceback (most recent call last):
File "/home/pau/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/q2cli/commands.py", line 329, in call
results = action(**arguments)
File "", line 2, in multinomial
File "/home/pau/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/home/pau/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in callable_executor
output_views = self._callable(**view_args)
File "/home/pau/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/songbird/q2/_method.py", line 69, in multinomial
silent=silent)
File "/home/pau/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/songbird/multinomial.py", line 213, in fit
iter_n.append(i)
UnboundLocalError: local variable 'i' referenced before assignment
Plugin error from songbird:
local variable 'i' referenced before assignment
See above for debug info.
Thanks a lot in advance