# Taxonomy analysis error

**URL:** https://forum.qiime2.org/t/taxonomy-analysis-error/8429
**Category:** Technical Support
**Tags:** taxonomy
**Created:** [February 19, 2019, 9:00am UTC](https://forum.qiime2.org/t/taxonomy-analysis-error/8429 "2019-02-19T09:00:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sugakk](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sugakk](https://forum.qiime2.org/u/sugakk)
#### Post date: [February 19, 2019, 9:00am UTC](https://forum.qiime2.org/t/taxonomy-analysis-error/8429/1 "2019-02-19T09:00:00Z")

</div>

I had a problem ,and I found that there are other people like this，but not solved，please，thanks！

 ![%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190219143107](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/b/b14bbb0469adddc2530112929584d9fefea677d6.jpeg)

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [February 19, 2019, 2:46pm UTC](https://forum.qiime2.org/t/taxonomy-analysis-error/8429/2 "2019-02-19T14:46:15Z")

</div>

Hi!  
I had the same error and I found solution for it on this forum, but it was for older version, so I rewrote some of the commands. The funny thing is that I cant access my working machine, so I will post the commands here tomorrow, If nobody will help you by this time.

---

<div class="post-metadata">

### Author: ![timanix](https://forum.qiime2.org/user_avatar/forum.qiime2.org/timanix/32/17879_2.png) [@timanix](https://forum.qiime2.org/u/timanix)
#### Post date: [February 20, 2019, 2:55pm UTC](https://forum.qiime2.org/t/taxonomy-analysis-error/8429/3 "2019-02-20T14:55:55Z")

</div>

Hi!  
I found on this forum and a little changed this way to fix it:

```
!qiime feature-classifier classify-sklearn \
  --i-classifier training-feature-classifiers/classifier.qza \
  --i-reads rep-seqs.qza \
  --o-classification taxonomy.qza
!qiime tools export \
  --input-path taxonomy.qza \
  --output-path taxonomy-with-spaces
!qiime metadata tabulate \
  --m-input-file taxonomy-with-spaces/taxonomy.tsv \
  --o-visualization taxonomy-as-metadata.qzv
!qiime tools export \
  --input-path taxonomy-as-metadata.qzv \
  --output-path taxonomy-as-metadata
!qiime tools import \
  --type 'FeatureData[Taxonomy]' \
  --input-path taxonomy-as-metadata/metadata.tsv \
  --output-path taxonomy-without-spaces.qza
!qiime metadata tabulate \
  --m-input-file taxonomy-without-spaces.qza \
  --o-visualization taxonomy-without-spaces.qzv

```
