# 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:** 1
**Showing post:** 3

<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

```

---

_[View the full topic](https://forum.qiime2.org/t/taxonomy-analysis-error/8429)._
