Can I display taxa bar plots in groups using qiime2?

I want to display my samples in a taxa bar plot divided into 2 groups, according to a column called Type, so first I grouped them as follows:
qiime feature-table group
--i-table table.qza
--m-metadata-file metadata.tsv
--m-metadata-column Type
--p-mode median-ceiling
--p-axis sample
--o-grouped-table type-table.qza

Next, I created a new metadata in which instead of the sample ID's I wrote the group names, according to a reply I found in qiime2forum: Display taxa bar plots by group instead of sample-id - User Support - QIIME 2 Forum

The problem is the new sample ID's are not unique and therefore qiime2 won't load the metadata file. Is there a fix to this?
I appreciate your help:)

Welcome to the forum!
Just remove duplicated Ids (groups names) form your new metadata file. It should contain only 1 row for each group. This metadata file is only used for taxabarplot creation.


I finally got it to work, I didn't get that the new small metadata is just a column with group names...
Thank you so much!

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