# taxa barplot (barchart) error

**URL:** https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255
**Category:** User Support
**Tags:** taxonomy, feature-classifier, taxa, barplot
**Created:** [July 31, 2023, 6:50am UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255 "2023-07-31T06:50:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Carlita](https://forum.qiime2.org/user_avatar/forum.qiime2.org/carlita/32/16380_2.png) [@Carlita](https://forum.qiime2.org/u/Carlita)
#### Post date: [July 31, 2023, 6:50am UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/1 "2023-07-31T06:50:33Z")

</div>

Hello, I need help.

The results that need to come out as bacteria from the barchart analyzed as Archaea according to the command tool .  
In addition, when the samples that came out well as bacteria are turned along with the samples that came out as Archaea, it also comes out as Archaea.  
I asked the company I sequenced and found that the sample was made up of bacteria without any Archaea.

I can't find the cause.  
I analyzed using dada2 and used silva-138-99-nb-classifier.qza.

Thank you.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/b/1/b1f3706ccdd3597762678ecc4f8c25f92f4fa4f4.png)  
It is a result that came out bacteria. (fig.1)

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/7/f/7ff6389f7a66f5973c0c41e5f6d49d13454211b9.png)  
It is a result that came out Archaea including (fig.1) results.

---

<div class="post-metadata">

### Author: ![crusher083](https://forum.qiime2.org/user_avatar/forum.qiime2.org/crusher083/32/9597_2.png) [@crusher083](https://forum.qiime2.org/u/crusher083)
#### Post date: [July 31, 2023, 11:02am UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/2 "2023-07-31T11:02:13Z")

</div>

Hello and welcome to :qiime2:!

I expect it might be an error of a classifier. Try to find your primers and create a custom classifier using tutorial: [Processing, filtering, and evaluating the SILVA database (and other reference sequence data) with RESCRIPt](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494)

Cheers  
V

---

<div class="post-metadata">

### Author: ![Carlita](https://forum.qiime2.org/user_avatar/forum.qiime2.org/carlita/32/16380_2.png) [@Carlita](https://forum.qiime2.org/u/Carlita)
#### Post date: [August 10, 2023, 1:29pm UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/3 "2023-08-10T13:29:14Z")

</div>

I am rebuilding Silva data through the link you sent me.  
But it has a problem.  
In Import SILVA files into QIIME 2 step, An error " 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte " appears.  
I referred to the forum, but found no solution.  
How should I do it?

---

<div class="post-metadata">

### Author: ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)
#### Post date: [August 10, 2023, 1:57pm UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/4 "2023-08-10T13:57:16Z")

</div>

Hi @Carlita, can you provide the exact command you are running when you encounter this error?

It sounds like you are running the semi-manual approach of importing SILVA data. You can skip all of that and simply run the commands starting with the `qiime rescript get-silva-data ...` step. This command wraps most of the commands under "The gritty details" section. The commands provided under that section are provided in case there is a version of SILVA that we do not provide automated access too via the `get-silva-data` action, _i.e._ where you can specify the recent versions of SILVA.

---

<div class="post-metadata">

### Author: ![Carlita](https://forum.qiime2.org/user_avatar/forum.qiime2.org/carlita/32/16380_2.png) [@Carlita](https://forum.qiime2.org/u/Carlita)
#### Post date: [August 11, 2023, 1:14am UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/5 "2023-08-11T01:14:38Z")

</div>

Hello! Thank you for answering.  
I used this command.

qiime tools import   
--type 'FeatureData[SILVATaxonomy]'   
--input-path tax\_slv\_ssu\_138.1.txt   
--output-path taxranks-silva-138.1-ssu-nr99.qza \

Thank you!

---

<div class="post-metadata">

### Author: ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)
#### Post date: [August 11, 2023, 1:00pm UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/6 "2023-08-11T13:00:35Z")

</div>

> [@Carlita](#):
>
> qiime tools import  
> --type 'FeatureData[SILVATaxonomy]'  
> --input-path tax\_slv\_ssu\_138.1.txt  
> --output-path taxranks-silva-138.1-ssu-nr99.qza

Hi @Carlita,

I was able to successfully run this command without any issues, and I was unable to replicate the error.

What version of QIIME 2 are you running? The latest version of RESCRIPt will run with the latest version of QIIME 2. You can install older versions of RESCRIPt, for the specific version of QIIME 2 you are running. These are available on the RESCRIPt GitHub page.

-Mike

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [September 11, 2023, 7:01pm UTC](https://forum.qiime2.org/t/taxa-barplot-barchart-error/27255/7 "2023-09-11T19:01:00Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
