How does classify-consensus-vsearch compute consensus taxonomy?
Hi everyone,
I am running qiime feature-classifier classify-consensus-vsearch in qiime2-amplicon-2025.4 (installed via Conda), with the following parameters: --p-perc-identity 0.97, --p-maxaccepts 5, --p-min-consensus 0.51 (default).
I have some questions about how the consensus taxonomy is calculated in certain cases. For example, for one ASV, the taxonomy of the top hits (all with identical identity values of 99.7%) is:
k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae;g__Creontiades k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae;g__Campylomma k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae;g__Creontiades k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae;g__Creontiades
According to my understanding, the consensus taxonomy should be: k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae;g__Creontiades
However, the consensus taxonomy returned is: k__Metazoa;p__Arthropoda;c__Insecta;o__Hemiptera;f__Miridae
Could you clarify how the consensus is determined in this case? Is the truncation at the family level due to a missing genus-level annotation in one of the reference hits?
Thank you very much!