Hi, I'm trying to calculate beta diversity (unifrac), but I keep getting the following error: "The table does not appear to be completely represented by the phylogeny.". Specifically, the "--verbose" output produces:
Traceback (most recent call last):
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2cli/commands.py", line 329, in call
results = action(**arguments)
File "", line 2, in beta_phylogenetic
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 484, in callable_executor
outputs = self._callable(scope.ctx, **view_args)
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_diversity/_beta/_pipeline.py", line 32, in beta_phylogenetic
bypass_tips=bypass_tips)
File "", line 2, in unweighted_unifrac
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in callable_executor
output_views = self._callable(**view_args)
File "", line 2, in unweighted_unifrac
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_diversity_lib/_util.py", line 49, in _disallow_empty_tables
return wrapped_function(*args, **kwargs)
File "", line 2, in unweighted_unifrac
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_diversity_lib/_util.py", line 92, in _validate_requested_cpus
return wrapped_function(*bound_arguments.args, **bound_arguments.kwargs)
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_diversity_lib/beta.py", line 159, in unweighted_unifrac
variance_adjusted=False, bypass_tips=bypass_tips)
File "/home/kaz/miniconda3/envs/qiime2/lib/python3.6/site-packages/unifrac/_methods.py", line 103, in unweighted
variance_adjusted, 1.0, bypass_tips, threads)
File "unifrac/_api.pyx", line 86, in unifrac._api.ssu
ValueError: The table does not appear to be completely represented by the phylogeny.
Plugin error from diversity:
The table does not appear to be completely represented by the phylogeny.
See above for debug info.
I tried the "qiime phylogeny filter-table" to overlap the tree and my input matrices but the output file is empty.
I modified the tree manually based on my table, and vice versa. I left only species level (with and without "s__"), I also tried keeping all taxonomic levels. Still no results.
The tree is downloaded from the GTDB (version 214) and imported to QIIME2 as a tree in a newick format, *qza.
I would greatly appreciate your help!