Feature table - Sample ID column

I used q2-amplicon-2024.2 in my current project and observed that the sample-ids in feature tables do not match the sample-id values of the metadata file compared to previous q2 releases. As examples, I added her two feature tables created by a filter-features command.

Using q2-2022.11 release:
qiime feature-table filter-features --i-table table.qza --m-metadata-file representative_sequences.qza --o-filtered-table table-filtered-14.qza --p-min-frequency 14

Using q2-amplicon-2024.2 release:
qiime feature-table filter-features --i-table table.qza --m-metadata-file representative_sequences.qza --o-filtered-table table-filtered-14-new.qza --p-min-frequency 14

Then visualized by q2 feature-table summarize:

table-filtered-14.qzv (785.8 KB)
table-filtered-14-new.qzv (748.9 KB)

Although the default sorting in the Interactive Sample Detail tab is different, the absolute numbers of reads per sample seem to be identical (assuming that the increasing numbers correspond to the sample ids in the old version). Downstream steps such as taxa barplots do use sample IDs as defined in the metadata file.

As far as I could test so far, this behaviour shows up when using q2-amplicon-2024.2. Here, the table created by dada2 and then visualized by feature-table summarize showed this sample ID formats, not only a subsequent filtering step.

I have tested this behaviour using tables created by dada2 of previous q2 releases (the sample ID is used as defined in the metadata file) and then executing a filtering step with q2-amplicon-2024.2 (the sample ID is now an increasing number).

I would very much appreciate if somebody from the developers could have a look at this.

Hi @arwqiime,
Thanks for bringing this to our attention!
This is a visual bug that was identified in q2-2024.2 and patched! If you re-install qiime2-2024.2, this issue should be fix!

Hope this helps!

1 Like

Hi @cherman2
Thank you for your reply.

Is it possible to update qiime2 releases instead of re-install?
A conda update --file qiime2-amplicon-2024.2-py38-linux-conda.yml (new download today) within an activated 2024.2 env does not work.
CondaValueError: could not parse '- https://packages.qiime2.org/qiime2/2024.2/amplicon/released' in: qiime2-amplicon-2024.2-py38-linux-conda.yml


Hi @arwqiime,
Unfortunately I don't think that you can conda update your QIIME 2 env and will need to re-install.

1 Like

Thanks! Re-installed the q2 release and the visual bug is resolved.
Best, :slight_smile:

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