Sample IDs error

Hi Users,
I have a problem while running the command:
qiime feature-table summarize
--i-table 16S-table-noplant-rarefied-3000_filtered.qza
--o-visualization 16S-table-noplant-summarized.qzv
--m-sample-metadata-file SampleSeq-info.tsv
qiime feature-table tabulate-seqs
--i-data 16S-rep-seqs-filtered.qza
--o-visualization 16S-rep-seqs-filtered-summarized.qzv

I got this error:
Plugin error from feature-table:

The following IDs are not present in the metadata: 'sample1', 'sample10', 'sample11', 'sample12', 'sample13', 'sample14', 'sample15', 'sample16', 'sample17', 'sample18', 'sample19', 'sample2', 'sample20', 'sample22', 'sample24', 'sample3', 'sample4', 'sample5', 'sample6', 'sample7', 'sample8', 'sample9'

Debug info has been saved to /tmp/qiime2-q2cli-err-ulnqjxvc.log

I tried to validate my data on keemei, but i still get the same error

The Metadata file looks like this:

The plugin is complaining that sample ids from feature table are not present in the metadata file.
Please check if sampling ids are consistent between feature table and metadata file.
You can create a summary of feature table without metadata file to check sample ids.
By the link you shared access is restricted.


Thank you so much for your reply
I already run the command without metadata file, should i change the sample IDs?
Here is a screenshot of my data file

and here is the screenshot of the feature table


I find it's easier for me to edit my metadata.tsv file then the Qiime2 .qza files. Once you get those sample IDs into the #SampleID column, this command should work much better!


Yes if you are planning to run any analyses with them! Metadata file should contain sample description and grouping for statistical analyses, and therefore sample ids from metadata should match sample ids from feature table.


So the only way is to change the names in the metadata file (ex: change CD104JUN2 to sample11), right?

1 Like


I would add a new column:

sampld-id origional-SampleID more columns
sample11 CD104JUN2 east
1 Like

Right! If it is the same sample, of course.

1 Like

Thank you so much, it is a great suggestion

Thanks so much for your help, i will run it after changing sample IDs

the command works finally, Appreciate your help so much,
Thanks a bunch


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.