# Taxaplots error

**URL:** https://forum.qiime2.org/t/taxaplots-error/27063
**Category:** User Support
**Tags:** taxonomy
**Created:** [July 13, 2023, 6:10pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063 "2023-07-13T18:10:59Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 13, 2023, 6:10pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/1 "2023-07-13T18:10:59Z")

</div>

Hello I am using Qiime2-2022.11  
I am getting a error in the taxaplot step:  
This are the commands :  
qiime taxa barplot   
--i-table table\_.qza   
--i-taxonomy taxonomy\_.qza   
--m-metadata-file Metadatos\_.tsv   
--o-visualization taxa-bar-plots\_.qzv

**Plugin error from taxa:**

**Feature IDs found in the table are missing from the taxonomy: {'e471b4d90051213a2f380260fc40378f', '6ae397141328fcc917b9a87aa5d548a3', '4c5b12e3825577cde8437df04f5536cc', 'c6d453157c99855d562c971b88788b3c', '6f61d8be1f0a019dc7e7a7ae07c54d08', '5169c226a333dcb12102eff6cd3ad818', '7fee385ad9598137793ac77c7e7c11b4', '043761376a7b4bbf5ed08e472972dd4f', '8ea54389c04fc34bcf3487220ad73af0', '950a9b08dd59529ce33fc4c92c45165b', 'c9a6fea22a7d3e590311fa5674ad44db', '1c7f2d2baa0b3c0e45c3423b4d62d091', 'b3b31167d7d79314b45e782a7939b17e', 'a70c70e204e3b5a7632b047988b6b1ef', 'a1d62669ba5f67dd079c2f7ff250f1fe', 'f66631894ca0b6bbfb15c71c0c6fde10', '** etc. etc.

I am not sure what to do.  
Thanks

---

<div class="post-metadata">

### Author: ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)
#### Post date: [July 13, 2023, 6:15pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/2 "2023-07-13T18:15:24Z")

</div>

Hello @EugeniaSH,

Please see [this](https://forum.qiime2.org/t/keeping-unassigned-sequences-in-the-barplot/26183) post, from a user with an identical problem.

Thanks.

---

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 13, 2023, 7:03pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/3 "2023-07-13T19:03:07Z")

</div>

Thank you  
I will try it.  
He uses Qiime2-2023 , and I am using 2-2022.11, would that be an issue?  
I noticed several different steps in the pipeline, starting on step 7 : qiime feature-table filter-samples  
Thanks

---

<div class="post-metadata">

### Author: ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)
#### Post date: [July 13, 2023, 8:09pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/4 "2023-07-13T20:09:55Z")

</div>

Hello @EugeniaSH,

The version of qiime will almost certainly not be an issue. The post I linked wasn't meant to be a pipeline to follow, but rather contain an explanation of why/how your feature table and taxonomy became out of sync, which is the root of the issue here.

---

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 13, 2023, 11:08pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/5 "2023-07-13T23:08:19Z")

</div>

Thanks  
However I am not sure how to fix it.  
Any and all help will be greatly appreciated  
Eugenia

---

<div class="post-metadata">

### Author: ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)
#### Post date: [July 13, 2023, 11:46pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/6 "2023-07-13T23:46:05Z")

</div>

Hello @EugeniaSH,

What filtering have you applied to the sequences that made your taxonomy? You need to apply the same filtering to your feature table.

---

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 14, 2023, 4:05pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/7 "2023-07-14T16:05:44Z")

</div>

Thank you,  
I am sorry for the novice questions, but I am not even sure that I filter.

This is my pipeline after import :

3- qiime dada2 denoise-paired   
--i-demultiplexed-seqs imported\_seq.qza   
--p-trunc-len-f 210   
--p-trunc-len-r 210   
--p-trim-left-f 0   
--p-trim-left-r 0   
--p-n-threads 0   
--o-representative-sequences rep-seqs.qza   
--o-table table.qza   
--o-denoising-stats stats.qza

1. visualize

2. qiime feature-table summarize   
--i-table table.qza   
--o-visualization table.qzv   
--m-sample-metadata-file Metadata.tsv

3. qiime feature-table tabulate-seqs   
--i-data rep-seqs.qza   
--o-visualization rep-seqs.qzv

4. qiime phylogeny align-to-tree-mafft-fasttree   
--i-sequences rep-seqs.qza   
--o-alignment aligned-rep-seq.qza   
--o-masked-alignment masked-aligned-rep-seqs.qza   
--o-tree unrooted-tree-qza   
--o-rooted-tree rooted-tree.qza

5. diversity core metrics

6. alphararefraction  
10 alpha diversity

7. taxonomy  
qiime feature-classifier classify-sklearn   
--i-classifier Classifier/classifier.qza   
--i-reads Classifier/ref-seqs.qza   
--o-classification taxonomy.qza

qiime metadata tabulate   
--m-input-file taxonomy.qza   
--o-visualization taxonomy.qzv

12 taxabar plots  
qiime taxa barplot   
--i-table table.qza   
--i-taxonomy taxonomy.qza   
--m-metadata-file Metadatos.tsv   
--o-visualization taxa-bar-plots.qzv

THANK YOU

---

<div class="post-metadata">

### Author: ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)
#### Post date: [July 14, 2023, 7:38pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/8 "2023-07-14T19:38:00Z")

</div>

Hello @EugeniaSH,

You're classifying the reference-sequences in step 10. Although this will result in a very accurate classification 😀, this isn't what you want. You want to classify _your_ sequences, namely `rep-seqs.qza`, which came out of dada2.

Let us know if this makes sense.

---

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 14, 2023, 7:59pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/9 "2023-07-14T19:59:32Z")

</div>

Absolutely. Makes TOTAL SENSE!

Sorry for the trouble.  
Eugenia

---

<div class="post-metadata">

### Author: ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)
#### Post date: [July 14, 2023, 8:02pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/10 "2023-07-14T20:02:21Z")

</div>

@EugeniaSH,

No need to apologize, this is what the forum is for. Let us know if the taxa bar plot works smoothly now.

---

<div class="post-metadata">

### Author: ![EugeniaSH](https://forum.qiime2.org/user_avatar/forum.qiime2.org/eugeniash/32/6728_2.png) [@EugeniaSH](https://forum.qiime2.org/u/EugeniaSH)
#### Post date: [July 14, 2023, 8:05pm UTC](https://forum.qiime2.org/t/taxaplots-error/27063/11 "2023-07-14T20:05:33Z")

</div>

perfectly.  
Thanks again

---

<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: [August 15, 2023, 2:05am UTC](https://forum.qiime2.org/t/taxaplots-error/27063/12 "2023-08-15T02:05:53Z")

</div>

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