Hello everyone!
I have a problem with the feature classifier. I know that it has been already discussed in the qiime2 forum, but I still have not find the solution.
I am working on a virtual machine from Azure with a PC that has 110G RAM (92G available) and 8 CPU.
Since my qiime2 environment is installed in the PC, when I run the script
qiime feature-classifier fit-classifier-naive-bayes --i-reference-reads silva_99_515F806R.seqs.qza --i-reference-taxonomy silva_99_consensus_taxonomy.qza --o-classifier silva_99_515F806R_classifier.qza
I am getting a plugin error, saying:
[Errno 28] No space left on device
/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_feature_classifier/classifier.py:102: UserWarning: The TaxonomicClassifier artifact that results from this method was trained using scikit-learn version 0.23.1. It cannot be used with other versions of scikit-learn. (While the classifier may complete successfully, the results will be unreliable.)
warnings.warn(warning, UserWarning)
Traceback (most recent call last):
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_feature_classifier/_taxonomic_classifier.py", line 86, in _2
tar.add(fn, os.path.basename(fn))
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/tarfile.py", line 1954, in add
self.addfile(tarinfo, f)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/tarfile.py", line 1982, in addfile
copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/tarfile.py", line 252, in copyfileobj
dst.write(buf)
OSError: [Errno 28] No space left on deviceDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/q2cli/commands.py", line 329, in call
results = action(**arguments)
File "", line 2, in fit_classifier_naive_bayes
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 418, in callable_executor
spec.qiime_type, output_view, spec.view_type, prov)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/sdk/result.py", line 267, in _from_view
result = transformation(view, validate_level)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/core/transform.py", line 70, in transformation
new_view = transformer(view)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_feature_classifier/_taxonomic_classifier.py", line 87, in _2
os.unlink(fn)
File "/home/ale/anaconda3/envs/qiime2-2021.2/lib/python3.6/tarfile.py", line 2441, in exit
self.fileobj.close()
OSError: [Errno 28] No space left on device
I initially thought that temporary files needed to be located elsewhere, so I tried with:
mkdir home/ale/mpodars-new-temporary-directory
export TMPDIR=' home/ale/mpodars-new-temporary-directory'
without any success.
Any suggestions?
Thanks a lot for your help.
All the best,
Rosangela