Hi all,
I was having trouble testing the feature-classifier that I have generated through following "Training feature classifier tutorial"(Training feature classifiers with q2-feature-classifier — QIIME 2 2018.6.0 documentation)
V3 and V4 of 16S sequence were extracted from the SILVA full-length database using the f/r primer sequences given by the sequencing facility. Below was the script I used.
qiime feature-classifier extract-reads
--i-sequences silva_132_97_16S.qza
--p-f-primer CCTAYGGGRBGCASCAG
--p-r-primer GGACTACNNGGGTATCTAAT
--o-reads ref-seqs_V3V4.qza
Classifier was trained as below:
qiime feature-classifier fit-classifier-naive-bayes
--i-reference-reads ref-seqs_V3V4.qza
--i-reference-taxonomy ref-taxonomy.qza
--o-classifier classifier.qza
And the classifier was tested using my 16S dataset of 17 samples (testset):
qiime feature-classifier classify-sklearn
--i-classifier classifier.qza
--i-reads rep-seqs.qza
--o-classification taxonomy.qza
qiime metadata tabulate
--m-input-file taxonomy.qza
--o-visualization taxonomy.qzv
When done, I viewed the taxonomy.qzv file and it gave me the same taxon for all 1606 of my feature IDs:
D_0__Archaea;D_1__Nanoarchaeaeota;D_2__Nanoarchaeia;D_3__Nanoarchaeales;D_4__Nanoarchaeaceae;D_5__Nanoarchaeum;D_6__hot springs metagenome
What may have caused this?
- I've checked to see if the classifier.qza file was wrong by using the rep-set.qza file from the "MovingPictures tutorial", and it seemed fine (various taxons were listed)
- I've visualized the rep-set.qzv, table.qzv and denoising-stats.qzv files but none of them show one single feature.
Thanks in advance for the help.