Dear QIIME2 Team, thank you for your extraordinary contributions.
I’m working on qiime2-2020.2, and was trying to run the qiime longitudinal maturity-index function.
It did well with the sample data, while when it came to my own, it keeps yielding error “nan”.
Here are my codes and the error log:
qiime longitudinal maturity-index
Traceback (most recent call last):
File “/Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli/commands.py”, line 328, in call
results = action(**arguments)
File “</Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/decorator.py:decorator-gen-278>”, line 2, in maturity_index
File “/Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 245, in bound_callable
File “/Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 484, in callable_executor
outputs = self._callable(scope.ctx, **view_args)
File “/Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_longitudinal/_longitudinal.py”, line 528, in maturity_index
pred_md, ‘prediction’, state_column, group_by, control)
File “/Users/norchen/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_longitudinal/_utilities.py”, line 823, in _maz_score
_median, _std = medians[metadata.loc[i][column]]
Plugin error from longitudinal:
See above for debug info.
The same files were all good when applied to some other longitudinal functions, so I was wondering why it claims so. I also have re-checked my metadata file with Keemei and it passed.
Sincere thanks to your kind suggestions for your kind supports!