error while using rescript

Hi! thank you so much for this

I hope you could help me, I am running the last part of the code:
qiime rescript evaluate-fit-classifier
--i-sequences bold_anml_seqs.qza
--i-taxonomy bold_anml_taxa.qza
--p-reads-per-batch 6000
--p-n-jobs 6
--output-dir fitClassifier_boldANML

but I get the error: AttributeError: '_io.TextIOWrapper' object has no attribute 'rscript'

Can I train the classifier using another code?
Thanks in advance!

Hi @sofiaracelli ,

Could you please post the complete error message? (see the log file or re-run the action with the addition of the --verbose option). Please also indicate your QIIME 2 and RESCRIPt version numbers and other relevant info.

Based on the information so far it sounds like you might have an incorrect or incomplete installation, e.g., with dependency versions that are not compatible.

Yes you can just use q2-feature-classifier to train the classifier without any autotesting/evaluation.

1 Like