# subsampling

**URL:** <https://forum.mothur.org/t/subsampling/3016>\
**Category:** Commands in mothur\
**Created:** [October 12, 2016, 2:11pm UTC](https://forum.mothur.org/t/subsampling/3016 "2016-10-12T14:11:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jitendrakeshri](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jitendrakeshri](https://forum.mothur.org/u/jitendrakeshri)\
**Post date:** [October 12, 2016, 2:11pm UTC](https://forum.mothur.org/t/subsampling/3016/1 "2016-10-12T14:11:46Z")

</div>

Please suggest whether alpha diversity is also to be calculated on subsampled data?

---

<div class="post-metadata">

**Author:** ![Kendra](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/kendra/32/112_2.png) [@Kendra](https://forum.mothur.org/u/Kendra)\
**Post date:** [October 12, 2016, 2:50pm UTC](https://forum.mothur.org/t/subsampling/3016/2 "2016-10-12T14:50:42Z")

</div>

yes, pick a number of sequences and subsample to that for both alpha and beta indicies

---

<div class="post-metadata">

**Author:** ![stevewhitemd](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@stevewhitemd](https://forum.mothur.org/u/stevewhitemd)\
**Post date:** [October 13, 2016, 5:35pm UTC](https://forum.mothur.org/t/subsampling/3016/3 "2016-10-13T17:35:37Z")

</div>

Hi

I’ve been told the same by several of my microbiome colleagues and that is what I do.

The question for me: what value to pick?

Recent example: I have ~40 patient samples, and to that run added 10 reagent controls (blanks, etc). The nseqs for the patient samples ranged from 9,500 to 30,000. The highest nseqs for my reagent controls (I have a great tech 😃 ) was 400. So it was easy for me, in calculating alpha and beta indices, to set subsampling to 9500.

Is that right? And what would be a good rationale for setting the value?

---

<div class="post-metadata">

**Author:** ![Kendra](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/kendra/32/112_2.png) [@Kendra](https://forum.mothur.org/u/Kendra)\
**Post date:** [October 14, 2016, 2:50pm UTC](https://forum.mothur.org/t/subsampling/3016/4 "2016-10-14T14:50:33Z")

</div>

I like to go a bit below my lowest sample. Because subsampling the sample that has 9500 to 9500 is different than subsampling the 30000 to 9500. I’d probably have gone with 7500. But this is probably a really minor point.

I’m still trying to figure out what to do with the negative controls, for now I’m processing them with the rest of the samples but they get dropped when subsampled (which is ok for me. clients have the data, they can see what OTUs show up in the neg and decide what to do with that information)

---

<div class="post-metadata">

**Author:** ![jitendrakeshri](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jitendrakeshri](https://forum.mothur.org/u/jitendrakeshri)\
**Post date:** [October 20, 2016, 2:56pm UTC](https://forum.mothur.org/t/subsampling/3016/5 "2016-10-20T14:56:31Z")

</div>

Thanks kmitchell for informative reply.
