Hi all, I am having a problem with running Qiime2 - MICOM I keep getting this error:
Merged with the database using ranks: species
Traceback (most recent call last):
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/q2cli/commands.py", line 520, in call
results = self._execute_action(
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/q2cli/commands.py", line 581, in _execute_action
results = action(**arguments)
File "", line 2, in build
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/qiime2/sdk/action.py", line 566, in callable_executor
output_views = self._callable(**view_args)
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/q2_micom/_build.py", line 88, in build
tax = build_spec(abundance, taxonomy, models, cutoff, strict)
File "/opt/anaconda3/envs/qiime2-amplicon-2023.9/lib/python3.8/site-packages/q2_micom/_build.py", line 60, in build_spec
round(n_stats["mean"]),
ValueError: cannot convert float NaN to integer
Plugin error from micom:
cannot convert float NaN to integer
See above for debug info.
I used this code: (I have taken out the correct file path as it includes personal information)
qiime micom build
--i-abundance abundanceOTU4.qza
--i-taxonomy taxonomy_cleaned.qza
--i-models metabolic_models_2024.qza
--p-cutoff 0.0001
--p-threads 2
--o-community-models output_models_2024.qza
--verbose
I have tried everything, I have messed around with each qza file to see what the problem is but nothing is working. I think my abundance data may be causing a problem but I am not sure how.
Please see attached all three files:
abundanceOTU4.qza (12.2 KB)
taxonomy_cleaned.qza (6.2 KB)
metabolic_models_2024.qza (555.9 KB)
NMWcsM1k.qza) (6.2 KB)
If anyone has any advice please do respond, as I have been stuck on this step the past week. I highly appreciate this thank you