Alpha diversity Simpson Index

I am analyzing 16S V3-V4 sequencing and would like to measure Simpson diversity index . I tried to install it from q2_diversity, using

from q2_diversity.diversity import simpson_index,

but I get this error from: can't read /var/mail/q2_diversity.diversity
after "from q2_diversity.diversity import simpson_index"

I am using qiime2-2022.11

Hi @EugeniaSH,
Could you give us some more info? Are you running this in python?

I believe in python you will want to import like this
from qiime2.plugins.diversity.pipelines import alpha

Here are the docs I am referencing: alpha: Alpha diversity — QIIME 2 2023.9.2 documentation

1 Like

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