# sample not in taxa bar plot

**URL:** https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558
**Category:** User Support
**Tags:** taxa, barplot, feature-table
**Created:** [November 20, 2019, 9:12am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558 "2019-11-20T09:12:20Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![the\_dummy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/the_dummy/32/5626_2.png) [@the\_dummy](https://forum.qiime2.org/u/the_dummy)
#### Post date: [November 20, 2019, 9:12am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/1 "2019-11-20T09:12:20Z")

</div>

Even though the sample has a feature count of 3037, it is not shown in taxa barplot. I have tried close reference with NCBI sequence, and then tried with silva classifier but the result is not shown in taxa barplot for both ways.

Analysis includes 6 samples and for the other 5 samples, results satisfy the expectation. I'm pretty confused about this. Could someone help me?

Thanks...

---

<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: [November 20, 2019, 9:50am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/2 "2019-11-20T09:50:40Z")

</div>

Hi!  
Could you attache your metadata and barplot.qzv?

PS Just in case - sometimes there is a scroll bar under the barplot and some samples are not shown so you need to scroll it to see it.

---

<div class="post-metadata">

### Author: ![the\_dummy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/the_dummy/32/5626_2.png) [@the\_dummy](https://forum.qiime2.org/u/the_dummy)
#### Post date: [November 20, 2019, 10:08am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/3 "2019-11-20T10:08:46Z")

</div>

Here is metadata: [metafile.tsv](https://forum.qiime2.org/uploads/short-url/vnB4zgzo4qBEMOpBuvlfbOudex3.tsv) (226 Bytes)  
Here is barplot: [taxa-bar-plots.qzv](https://forum.qiime2.org/uploads/short-url/hcLoYApvinYrZZZK3p6EXJZlBSR.qzv) (360.3 KB)  
Here is table after dada2: [table.qzv](https://forum.qiime2.org/uploads/short-url/s8WTC0HMqtu8P4aSFLrw7Gv2kR8.qzv) (419.9 KB)

I haven't seen any scroll bars since this is an analysis for 6 samples. I was expecting problems with OK-6 because it was from a different run but I got problem with OK1.

---

<div class="post-metadata">

### Author: ![the\_dummy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/the_dummy/32/5626_2.png) [@the\_dummy](https://forum.qiime2.org/u/the_dummy)
#### Post date: [November 20, 2019, 10:22am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/4 "2019-11-20T10:22:41Z")

</div>

[taxa-bar-plots.qzv](https://forum.qiime2.org/uploads/short-url/iSAU2U0YilemeKWERMvWewFB4B2.qzv) (733.7 KB)  
[table.qzv](https://forum.qiime2.org/uploads/short-url/8K0Cze9mYP7fyWVaOU0lwJNGyIG.qzv) (410.1 KB)

These are the results of the analysis done with only forward read. Still, OK1 doesn't show up.

---

<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: [November 20, 2019, 3:33pm UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/5 "2019-11-20T15:33:27Z")

</div>

The table summaries and taxa barplots are not matching up, i.e., the summaries are not of the tables that were actually used to generate the barplots.

Check the provenance to make sure you are using the correct files. And compare the table summaries before and after using filter\_features.

I suspect the problem here is that the sample is being dropped from the feature table when you use `filter_features` because no features are left in that sample (e.g., because all are chloroplast).

---

<div class="post-metadata">

### Author: ![the\_dummy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/the_dummy/32/5626_2.png) [@the\_dummy](https://forum.qiime2.org/u/the_dummy)
#### Post date: [November 21, 2019, 11:02am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/6 "2019-11-21T11:02:22Z")

</div>

@Nicholas_Bokulich  
You did it! Thank you...

They were filtered out because they are chloroplast and mitochondria features, and silva classifier had them.

I'm not sure if I should post a new topic about this but, is it wise to filter out these features? Are they supposed to be amongst 16S sequences? Is there any material that you know of I could read about this?

---

<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: [November 21, 2019, 3:26pm UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/7 "2019-11-21T15:26:39Z")

</div>

> [@the\_dummy](#):
>
> is it wise to filter out these features?

Chloroplast and mitochondria? Definitely filter them out unless if you want them there. These are usually host DNA or in any case usually not microbial so are just "noise" on your plots and can massively skew your data. By way of example I will tell you a story. 📖

Once upon a time I was studying the microbiota of grapes from different sites. 🍇 🧫

Some grape samples really stood out on a PCoA plot and I thought "wow, what makes those grapes so special?" 🤔

...nothing, it turns out, just an inordinately high amount of host DNA. Filtering that out made the profiles comparable to everything else once again. 🎉

---

<div class="post-metadata">

### Author: ![the\_dummy](https://forum.qiime2.org/user_avatar/forum.qiime2.org/the_dummy/32/5626_2.png) [@the\_dummy](https://forum.qiime2.org/u/the_dummy)
#### Post date: [November 22, 2019, 6:29am UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/8 "2019-11-22T06:29:33Z")

</div>

Thank you very much.

Now, I'm pretty sure there is a problem with the treatment of the sample.

---

<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: [December 23, 2019, 12:29pm UTC](https://forum.qiime2.org/t/sample-not-in-taxa-bar-plot/12558/9 "2019-12-23T12:29:37Z")

</div>

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