Dear All,
I am trying out the q2-metnet plugin and facing with the following error.
(qiime2-amplicon-2024.5) annalex@ANNPC:~/q2-metnet$ qiime metnet generateFeatures --i-frequency GMIA_table.qza --i-taxa GMIA_taxonomy.qza --p-selection AGORAv103 --p-level s --o-reactions ../output_reactions.qza --o-subsystems ../output_subsystems.qza --o-xmatrix ./output_X_matrix.qza --verbose
Traceback (most recent call last):
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 520, in call
results = self._execute_action(
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 581, in _execute_action
results = action(**arguments)
File "", line 2, in generateFeatures
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 576, in callable_executor
output_views = self._callable(**view_args)
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/metnet-2023.0.1-py3.9.egg/q2_metnet/_generateFeatures.py", line 97, in generateFeatures
PresentTaxa, newFrequency, Samples = _extractTaxaPresentAGREDA(frequency, taxa, stream, level)
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/metnet-2023.0.1-py3.9.egg/q2_metnet/_inputFiles.py", line 132, in _extractTaxaPresentAGREDA
return _contextTaxa(frequency, taxa, reference, level)
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/metnet-2023.0.1-py3.9.egg/q2_metnet/_inputFiles.py", line 36, in _contextTaxa
df_frequency['LINEAGE'] = [dictionary_otu_taxa for x in df_frequency.index]
File "/home/annalex/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/metnet-2023.0.1-py3.9.egg/q2_metnet/_inputFiles.py", line 36, in
df_frequency['LINEAGE'] = [dictionary_otu_taxa for x in df_frequency.index]
KeyError: '34'
Plugin error from metnet:
'34'
Kindly advise on this.
Thanks.