Plugin error while using qiime taxa filter-table

I am using qiime taxa filter-table to filter one of my studies (with 295 samples). I used the following command:
qiime taxa filter-table --i-table pig_table_clustered.qza --i-taxonomy taxonomy-295.qza --o-filtered-table filter_pig_clustered.qza

here, pig_table_clustered.qza is the table obtained after denovo clustering
taxonomy-295.qza is the taxonomic classification output

error:

Plugin error from taxa:

CategoricalMetadataColumn does not support values with leading or trailing whitespace characters. Column ‘Taxon’ has the following value: 'D_0__Bacteria;D_1__Firmicutes;D_2__Bacilli;D_3__Lactobacillales;D_4__Carnobacteriaceae;D_5__Alloiococcus;D_6__bacterium '

Please help!

Hi @SAHIL_JAIN_16110144,
The error here is telling us that it doesn’t like the blank white space at the end of your taxonomy annotations:
'D_0__Bacteria;D_1__Firmicutes;D_2__Bacilli;D_3__Lactobacillales;D_4__Carnobacteriaceae;D_5__Alloiococcus;D_6__bacterium '

Would work if it was

'D_0__Bacteria;D_1__Firmicutes;D_2__Bacilli;D_3__Lactobacillales;D_4__Carnobacteriaceae;D_5__Alloiococcus;D_6__bacterium'

How was this taxonomy artifact created exactly?

The taxonomy artifact was created using the following command:

qiime feature-classifier classify-sklearn --i-classifier silva-132-99-nb-classifier.qza --i-reads merged-rep-seqs-295.qza --o-classification taxonomy-295.qza

How can I remove that space at the end??

Hi @SAHIL_JAIN_16110144,
The issue with trailing white spaces is a known bug that will hopefully be resolved in the next release or two.

Have a look through this work-around solution here and let us know if it works.

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