# Plugin error from diversity-lib: The table does not appear to be completely represented by the phylogeny

**URL:** https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220
**Category:** Technical Support
**Tags:** taxonomy, phylogeny, collapse, greengenes
**Created:** [July 16, 2021, 1:07pm UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220 "2021-07-16T13:07:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![guyshur](https://forum.qiime2.org/user_avatar/forum.qiime2.org/guyshur/32/11491_2.png) [@guyshur](https://forum.qiime2.org/u/guyshur)
#### Post date: [July 16, 2021, 1:07pm UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220/1 "2021-07-16T13:07:36Z")

</div>

Hello Q2 team,

I am working with public OTU tables, and am trying to run some analyses. I collapsed a subset of Human Microbiome Project samples with Greengenes feature IDs with taxa collapse, and as a result I now have a collapsed feature table with taxon names: [hmp\_genus.qza](https://forum.qiime2.org/uploads/short-url/2DgQMhb7I9opfQ0cdKfkCYOF4SK.qza). (912.8 KB) So far so good!

Before collapsing, I could use something like weighted unifrac because the feature IDs matched the tip names in the un-annotated Greengenes reference tree. However, the full taxonomic names (such as 'k\_\_Bacteria; p\_\_Firmicutes; c\_\_Bacilli; o\_\_Bacillales; f\_\_Bacillaceae; g\_\_Anoxybacillus; s\_\_kestanbolensino') do not appear to match the convention in the annotated Greengenes tree file - [99\_otus\_tree.qza](https://forum.qiime2.org/uploads/short-url/vVEAjYHAvj5AqKKasBUB5k9zXMJ.qza) (1.8 MB) -, where the name of nodes are truncated (e.g 'g\_\_Methanopyrus; s\_\_kandleri' for a leaf). (I assume that) as a result, I receive an error when I try to use a method involving phylogeny - 'The table does not appear to be completely represented by the phylogeny' in the case of unifrac and " 'NoneType' object has no attribute 'remove' " in the case of gneiss ilr-phylogenetic.

I could re-replace the taxonomic names with feature IDs in theory, but I was wondering if this is an indicator of some other issue, or if I was actually doing something incorrectly (since I would really like to not switch more than once along the pipeline),

I was using qiime2-2021.4.

Thank you very much in advance!

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [July 22, 2021, 4:38pm UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220/2 "2021-07-22T16:38:56Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 22, 2021, 6:30pm UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220/3 "2021-07-22T18:30:11Z")

</div>

Hi @guyshur!

This is a great question - while I do think that replacing the taxonomic names with feature IDs could be an option, I share your same concern about this being caused by a deeper issue. I'm going to loop in a couple of folks who may be able to provide some further insight on this!

@Mehrbod_Estaki @Nicholas_Bokulich have either of you seen this issue before, where the node names aren't truncated?

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 22, 2021, 6:30pm UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220/4 "2021-07-22T18:30:22Z")

</div>



---

<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 23, 2021, 12:30am UTC](https://forum.qiime2.org/t/plugin-error-from-diversity-lib-the-table-does-not-appear-to-be-completely-represented-by-the-phylogeny/20220/5 "2021-08-23T00:30:52Z")

</div>

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