Hey friends,
I got stuck in the ANCOM step. I used the different columns of metadata but I failed. I received the following error.
Plugin error from composition:
ids_to_keep
must contain at least one ID.
Debug info has been saved to /tmp/qiime2-q2cli-err-9kp4w9w0.log
With verbose I run
Traceback (most recent call last):
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/q2cli/commands.py", line 311, in call
results = action(**arguments)
File "</home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/decorator.py:decorator-gen-466>", line 2, in ancom
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/qiime2/sdk/action.py", line 427, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/q2_composition/_ancom.py", line 46, in ancom
metadata = metadata.filter_ids(table.index)
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/qiime2/metadata/metadata.py", line 1104, in filter_ids
ids_to_keep)
File "/home/mpi/miniconda3/envs/qiime2-2019.4/lib/python3.6/site-packages/qiime2/metadata/metadata.py", line 189, in _filter_ids_helper
raise ValueError("ids_to_keep
must contain at least one ID.")
ValueError: ids_to_keep
must contain at least one ID.
Plugin error from composition:
ids_to_keep
must contain at least one ID.
See above for debug info.
I also made an extra column as a treatment. The same result was shown.
I checked the table. Something went wrong! I got this error
(1/1) Invalid value for "--i-table": Expected an artifact of at least type
FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]. An artifact
of type FeatureTable[Composition] was provided.
Beside the issue I mentioned above, I have some questions in this regard.
I would like to know the filtering step is necessary?
qiime feature-table filter-samples
--i-table
--m-metadata-file
--p-where
--o-filtered-table
I saw in one of the discussions, Matthew Ryan Dillon replied to Yogesh_Gupta " This error means you don’t have multiple values in the Tissue
column. This makes sense since, in an earlier step, you filtered your table to only include Tissue=' Soil'
samples."
So would it be the case? Should I avoid this step or should it be involved?
My aim is to compare the treated and untreated samples each other. There are four untreated and four treated samples, altogether eight samples.
Finally, how could it be solved?