Alpha and beta diversity error

Hi everyone, Im I first-timer with qiime2, and Im having some problem with Alpha and beta diversity analysis. Im currently following the “Moving pictures” tutorial and for the following code

qiime diversity core-metrics-phylogenetic \

–i-phylogeny rooted-tree.qza
–i-table table-dn-99_filtered.qza
–p-sampling-depth 1103
–m-metadata-file sample-metadata.tsv
–output-dir core-metrics-results

I obtain this error message

Plugin error from diversity:

Ordinations with less than two dimensions are not supported.

Debug info has been saved to /tmp/qiime2-q2cli-err-xcxjhkq9.log
(qiime2-2019.7)

I don’t understand where the mistake might be. Thank you all in advance.

Welcome to qiime2 forum!

Thats weird because the tutorial file is proved by many users. I believe one of your inputing file is broken. I suggest you re-download the table-file in the tutorial page and re-command to see if there still has error issue.

Im afraid I forgot to mention that Im working with my own data set.

Welcome to the forum @jose_gacia!

This error seems to suggest that you only have a single sample in your feature table. Is that correct?

If yes: don’t use this method, since beta diversity is only meaningful if you have ≥ 2 samples. You could still run qiime diversity rarefy and qiime diversity alpha to estimate alpha diversity on that single sample if that is what you are after.

if no: run qiime feature-table summarize and please post the QZV here.

I hope that helps!

This is indeed the case, should have seen It before, so much to learn. Tank you very much!!!

2 Likes

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