# Error on running silva-132-99-nb-classifier-1.qza classifier

**URL:** https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252
**Category:** Technical Support
**Created:** [January 17, 2020, 3:03pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252 "2020-01-17T15:03:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![sunette](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sunette/32/4742_2.png) [@sunette](https://forum.qiime2.org/u/sunette)
#### Post date: [January 17, 2020, 3:03pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/1 "2020-01-17T15:03:04Z")

</div>

Hi everyone

I am working on 16s Illumina data and I am trying to assign taxonomy to my data. With the green genes classifier (gg-13-8-99-515-806-nb-classifier.qza), the classification is working fine, however, the moment I use the silva-132-99-nb-classifier.qza classifier, I am getting errors, which I cannot figure out what is the problem. Any help will be appreciated.

I am using the following command in the taxonomic analysis  
qiime feature-classifier classify-sklearn --i-classifier silva-132-99-nb-classifier.qza --i-reads dada2\_rep\_seq.qza --o-classification taxonomy.qza --p-n-jobs 4

The errors I am getting from this command  
(1/2) Invalid value for "--i-classifier": There was not enough space left on  
'/tmp' to extract the artifact 'silva-132-99-nb-classifier-1.qza'. (Try  
setting $TMPDIR to a directory with more space, or increasing the size of  
'/tmp')  
(2/2) Invalid value for "--i-reads": There was not enough space left on  
'/tmp' to extract the artifact 'dada2\_rep\_seq.qza'. (Try setting $TMPDIR to  
a directory with more space, or increasing the size of '/tmp')

When I use the exact same command with the green genes classifier it is working fine. Where am I doing something wrong here, any help?

Thank you in advance for the help

Regards  
Sunette

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [January 17, 2020, 8:02pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/2 "2020-01-17T20:02:11Z")

</div>

Welcome to the forum @sunette!

Did you see the error message here? This describes the problem and solution:

> [@sunette](#):
>
> (1/2) Invalid value for “–i-classifier”: There was not enough space left on  
> ‘/tmp’ to extract the artifact ‘silva-132-99-nb-classifier-1.qza’. (Try  
> setting $TMPDIR to a directory with more space, or increasing the size of  
> ‘/tmp’)

So you don't have enough space in your temp folder to load the SILVA classifier!

> [@sunette](#):
>
> When I use the exact same command with the green genes classifier it is working fine

Greengenes is a much smaller database/classifier.

Good luck!

---

<div class="post-metadata">

### Author: ![sunette](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sunette/32/4742_2.png) [@sunette](https://forum.qiime2.org/u/sunette)
#### Post date: [January 17, 2020, 9:49pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/3 "2020-01-17T21:49:22Z")

</div>

Dear @Nicholas_Bokulich

Thank you for the reply. I do not have much knowledge on the computers and programs, how do I get a directory with more space, can I just create a new directory? Or is it the computer which do not have enough space allocated to the qiime for this big datasets. My apologies if the questions sound plain, but I really do not have any knowledge on these type of things.

Regards  
Sunette

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [January 17, 2020, 10:08pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/4 "2020-01-17T22:08:24Z")

</div>

Hi @sunette,  
You can see instructions for setting a new temporary directory here:

> [@No space left on device classifier TMPDIR](https://forum.qiime2.org/t/no-space-left-on-device-classifier-tmpdir/2768/3):
>
> Hi @arsalane1978! First off, do you have a directory on your machine at /data? You can check by running: $ ls /data If you see something like ls: /data: No such file or directory, then you will first need to make the directory: $ mkdir /data Then, you can export that environment variable: $ export TMPDIR='/data' You can check that the variable is set by running: $ echo $TMPDIR It should display /data. If not, you will need to export it again. Give that a shot and please let us know how…

The TMPDIR can be named whatever you want, does not need to be `/data`.

But if this is a personal computer I suspect the issue is not enough space on your hard drive, not TMPDIR, in which case creating a new directory will not fix... you should check out your available disc space first.

---

<div class="post-metadata">

### Author: ![sunette](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sunette/32/4742_2.png) [@sunette](https://forum.qiime2.org/u/sunette)
#### Post date: [January 20, 2020, 10:02am UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/5 "2020-01-20T10:02:21Z")

</div>

Dear @Nicholas_Bokulich

Thank you, I was using a personal computer for this, however I am currently using a computer in our lab, which is used to run sequencing results, QIIME2, etc. However, I am using the commands to check and create the directory as explained in the previous reply, but even after I did the commands to create and export the directory, I still have the same issue with no space left on device. The computer I am working on have a hardrive named New Volume (E:) with 45.8GB free of 167GB. Is the problem with the space on the hardrive of the computer or with the TMPDIR? How do I check if there is enough space on the TMPDIR should this be the problem? Below is the error I am getting after running the same command as mentioned in the first post on a different computer, which is not my personal computer.

Plugin error from feature-classifier:

[Errno 28] No space left on device

Debug info has been saved to /tmp/qiime2-q2cli-err-\_gnx4n24.log

Thank you for the help in advance.

Regards  
Sunette

---

<div class="post-metadata">

### Author: ![sunette](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sunette/32/4742_2.png) [@sunette](https://forum.qiime2.org/u/sunette)
#### Post date: [January 21, 2020, 3:46pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/6 "2020-01-21T15:46:45Z")

</div>

Dear all

I have managed to fix the problem with the error on my computer. Seems like the directory I was using was perhaps just the wrong directory, I have specified the path of the tempdir to another location, where I think this solved the problem.

Regards  
Sunette

---

<div class="post-metadata">

### Author: ![g.ahumada](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/g/8dc957/32.png) [@g.ahumada](https://forum.qiime2.org/u/g.ahumada)
#### Post date: [January 28, 2020, 10:48pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/7 "2020-01-28T22:48:31Z")

</div>

Dear sunette,  
Thank you for share with us your answer. I would like to ask you gently how did you resolve this problem...because I'm having the same problem right now and my computer has 80Gb. Did you create a new directory?  
I will really appreciate your reply.  
Regards  
Germán

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [January 30, 2020, 11:28pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/8 "2020-01-30T23:28:54Z")

</div>

Hi @g.ahumada,  
Welcome to the forum! Please see the troubleshooting steps in this topic:

> [@No space left on device classifier TMPDIR](https://forum.qiime2.org/t/no-space-left-on-device-classifier-tmpdir/2768/3):
>
> Hi @arsalane1978! First off, do you have a directory on your machine at /data? You can check by running: $ ls /data If you see something like ls: /data: No such file or directory, then you will first need to make the directory: $ mkdir /data Then, you can export that environment variable: $ export TMPDIR='/data' You can check that the variable is set by running: $ echo $TMPDIR It should display /data. If not, you will need to export it again. Give that a shot and please let us know how…

Good luck!

---

<div class="post-metadata">

### Author: ![g.ahumada](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/g/8dc957/32.png) [@g.ahumada](https://forum.qiime2.org/u/g.ahumada)
#### Post date: [January 31, 2020, 3:35pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/9 "2020-01-31T15:35:21Z")

</div>

Hi @arsalane1978! It works!! Just like you said, with the same scripts. Thank you very much for your help! Since I'm new in these approaches, I would ask you why the problem can be resolved by creating a new TMP folder? Just for curiosity.  
Thanks again!  
German

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [January 31, 2020, 5:11pm UTC](https://forum.qiime2.org/t/error-on-running-silva-132-99-nb-classifier-1-qza-classifier/13252/10 "2020-01-31T17:11:27Z")

</div>

> [@g.ahumada](#):
>
> why the problem can be resolved by creating a new TMP folder?

your default TMP directory does not have enough space. Glad this helped!
