When I am running the following command:

qiime sample-classifier classify-samples \
--i-table merged_table.qza \
--m-metadata-file metadata.txt \
--m-metadata-column Description \
--p-optimize-feature-selection \
--p-parameter-tuning \
--p-estimator RandomForestClassifier \
--p-n-estimators 20 \
--p-random-state 123 \
--output-dir moving-pictures-classifier

I'm not getting the files training_targets.qza and test_targets.qza in the moving-pictures-classifier folder. For your consideration I have attached my table and metadata.

merged_table.qza (1.2 MB)
metadata.txt (15.7 KB)

Hello @amin, what version of QIIME 2 are you running, and what environment are you running it in (Mac, Linux, VM, etc.)? Additionally, I'm assuming the other output files are showing up in the moving-picture-classifier directory as expected. Are the files training_targets.qza and test_targets.qza being created elsewhere, or are they not being created at all?

1 Like

Hi Oddant11,

Thank you so much for your prompt reply. I was using the old version of qiime2 but when I used qiime 2 2022.8 version, it worked.