# How to compute several alpha-diversity rarefaction plots

**URL:** <https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952>\
**Category:** User Support\
**Tags:** alpha-rarefaction\
**Created:** [November 22, 2017, 12:34pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952 "2017-11-22T12:34:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![matoro](https://forum.qiime2.org/user_avatar/forum.qiime2.org/matoro/32/18571_2.png) [@matoro](https://forum.qiime2.org/u/matoro)\
**Post date:** [November 22, 2017, 12:34pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/1 "2017-11-22T12:34:56Z")

</div>

hi! sorry I am trying to compute several alpha-diversity curves through qiime diversity alpha-rarefaction plugin. Similar to qiime1, I'm trying to pass through command line. I've tried in a text file (similar to qiime1 alpha\_diversity:metrics X,X), also trying as --p-metrics X,X; --p-metrics X|X... but it does not work!

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [November 22, 2017, 6:15pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/3 "2017-11-22T18:15:37Z")

</div>

Hi @matoro,  
Thanks for posting! I am a little unclear on your question — are you trying to compute alpha rarefaction plots with multiple metrics at once? Or are you trying to use a QIIME1 text file as input? I assume the former, based on the title.

To compute multiple metrics, you need to pass the `metrics` parameter multiple times if you want to use metrics other than the default. E.g., `--p-metrics X --p-metrics Y --p-metrics Z`

Please let me know if that solves your question!

---

<div class="post-metadata">

**Author:** ![matoro](https://forum.qiime2.org/user_avatar/forum.qiime2.org/matoro/32/18571_2.png) [@matoro](https://forum.qiime2.org/u/matoro)\
**Post date:** [November 22, 2017, 6:43pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/5 "2017-11-22T18:43:14Z")

</div>

Yes!!! it solves! I think it was the only way I didn't try.

Thank you! (I'm on the way to go from Qiime1 to Qiime2, step by step).

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [November 22, 2017, 6:48pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/6 "2017-11-22T18:48:52Z")

</div>

Thanks for confirming! Happy to help.

> [@matoro](#):
>
> I’m on the way to go from Qiime1 to Qiime2, step by step

Welcome to the QIIME2 family! 👨‍👩‍👧‍👦

If you haven't already, check out the docs and tutorials at [https://docs.qiime2.org/](https://docs.qiime2.org/) to help you make the switch. In-depth information on the available plugins/actions is [here](https://docs.qiime2.org/2017.10/plugins/) (e.g., I answered your question by checking out [this page](https://docs.qiime2.org/2017.10/plugins/available/diversity/alpha-rarefaction/)) and the [tutorials](https://docs.qiime2.org/2017.10/tutorials/) have lots of useful information to aid in the transition.

Happy QIIMEing! 🏖🕶🌞

---

<div class="post-metadata">

**Author:** ![matoro](https://forum.qiime2.org/user_avatar/forum.qiime2.org/matoro/32/18571_2.png) [@matoro](https://forum.qiime2.org/u/matoro)\
**Post date:** [November 22, 2017, 7:02pm UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/7 "2017-11-22T19:02:09Z")

</div>

Thanks! I'm performing right now tutorials! thank you!

---

<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:** [December 24, 2017, 1:02am UTC](https://forum.qiime2.org/t/how-to-compute-several-alpha-diversity-rarefaction-plots/1952/8 "2017-12-24T01:02:20Z")

</div>

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