Problem in Alpha and beta diversity analysis core metrics phylogeny

Hello, I am new to qiime2 and i am trying to learn. I have one sample and I am stuck on the stage Alpha and beta diversity analysis, core metrics phylogeny. I ran the command
qiime diversity core-metrics-phylogenetic
--i-phylogeny rooted-tree.qza
--i-table table.qza
--p-sampling-depth 46132
--m-metadata-file sample-metadata.tsv
--output-dir core-metrics-results

and got the result: Plugin error from diversity:
Ordinations with less than two dimensions are not supported.
Debug info has been saved to /tmp/qiime2-q2cli-err-fh14mfp0.log


How to proceed further? and if I can't do ordination because of one sample, then what to do next?

Hello and welcome to the forum!

One can not calculate beta diversity (dissimilarity/similarity between samples). It is why you are getting this error.
If you still need alpha diversity metrics, check out available plugins. There is a plugin that will calculate the metric of your choice (but I am not sure if it will work for one sample - I have never tried it).

1 Like