Hi there,
I’m getting the following error when trying to run ‘feature-table summarize’ even though that sample is present in the metadata. The hang up appears to be the fact there is a space at the end of the sample ID. The error persists even when that space is included in the metadata, which suggests to me that the script that inputs the metadata ID is stripping trailing white-spaces at this step (which weren’t stripped from the same metadata at an earlier step).
I am unable to complete the command. Please advise,
Thanks!
ERROR CODE:
Plugin error from feature-table:
The following ID(s) are not present in the Metadata: 'Jl_NTR1 ’
ERROR LOG:
Traceback (most recent call last):
File “/home/roli/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/q2cli/commands.py”, line 246, in call
results = action(**arguments)
File “”, line 2, in summarize
File “/home/roli/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/qiime2/sdk/action.py”, line 228, in bound_callable
output_types, provenance)
File “/home/roli/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/qiime2/sdk/action.py”, line 424, in callable_executor
ret_val = self._callable(output_dir=temp_dir, **view_args)
File “/home/roli/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/q2_feature_table/_summarize/_visualizer.py”, line 148, in summarize
sample_frequencies.index)
File “/home/roli/anaconda3/envs/qiime2-2018.2/lib/python3.5/site-packages/qiime2/metadata/metadata.py”, line 489, in filter_ids
% (’, '.join(repr(e) for e in sorted(missing_ids))))
ValueError: The following ID(s) are not present in the Metadata: 'Jl_NTR1 ’