# Rarefaction values too high?

**URL:** <https://forum.mothur.org/t/rarefaction-values-too-high/679>\
**Category:** Theory behind mothur\
**Created:** [October 21, 2011, 10:04am UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679 "2011-10-21T10:04:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirk](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kirk](https://forum.mothur.org/u/Kirk)\
**Post date:** [October 21, 2011, 10:04am UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/1 "2011-10-21T10:04:19Z")

</div>

Dear all,

I did some rarefaction based on 96 pre-aligned sequences. I started from the pre-aligned fasta file, and consequently used dist.seqs  
(output = lt), cluster and rarefaction.single. Now, the obtained values appear to match the manually calculated ones, but are 10.000  
times higher. For example, manually we might obtain 15.8 while with mothur this is 162.280 (or if the dot is a decimal point, it still is 10  
times higher). Any ideas why this might be?

Except for the dist.seqs part, I used default settings.

thanks

Kind regards

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [October 21, 2011, 4:08pm UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/2 "2011-10-21T16:08:27Z")

</div>

Can you post the sabund or rabund data? Are you looking at the same number of sequences sampled?

---

<div class="post-metadata">

**Author:** ![Kirk](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kirk](https://forum.mothur.org/u/Kirk)\
**Post date:** [October 24, 2011, 11:11am UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/3 "2011-10-24T11:11:59Z")

</div>

hi,

number of sequences sampled: Normally yes. But I probably made a mistake somewhere, but since I’m new to it all, I don’t see where … :oops:

thanks

rabund (an)

```nohighlight
unique 64 12 7 5 4 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.01 39 18 13 8 7 7 6 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.02 32 18 13 8 8 7 7 7 3 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.03 29 18 13 11 9 7 7 7 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.04 27 18 14 11 9 8 7 7 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.05 25 18 17 14 11 7 7 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.06 24 18 17 14 11 7 7 3 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.07 23 18 17 14 11 7 7 3 3 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
0.08 21 32 17 11 7 7 3 3 2 2 1 1 1 1 1 1 1 1 1 1 1 1 
0.09 19 33 17 12 7 7 3 3 2 2 1 1 1 1 1 1 1 1 1 1 
0.10 18 35 17 12 7 7 3 3 2 1 1 1 1 1 1 1 1 1 1 
0.12 17 36 17 12 7 7 3 3 2 1 1 1 1 1 1 1 1 1 
0.37 16 36 17 12 7 7 3 3 2 2 1 1 1 1 1 1 1 
0.49 15 36 17 12 8 7 3 3 2 2 1 1 1 1 1 1 
0.58 14 36 17 12 8 7 3 3 3 2 1 1 1 1 1 
0.59 13 36 17 12 8 7 5 3 3 1 1 1 1 1 
0.60 12 36 17 15 12 5 3 3 1 1 1 1 1 
0.63 11 48 17 15 5 3 3 1 1 1 1 1 
0.64 10 48 17 15 5 3 3 2 1 1 1 
0.65 9 48 17 15 5 4 3 2 1 1 
0.66 7 65 17 5 4 3 1 1 
0.68 6 65 20 5 4 1 1 
0.69 4 89 5 1 1 
0.70 3 94 1 1 
0.75 2 95 1 
0.79 1 96

```

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [October 25, 2011, 11:31am UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/4 "2011-10-25T11:31:00Z")

</div>

For these data, can you give me the commands you are using to generate the rarefaction curve data that is problematic?

---

<div class="post-metadata">

**Author:** ![Kirk](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kirk](https://forum.mothur.org/u/Kirk)\
**Post date:** [December 7, 2011, 9:47am UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/5 "2011-12-07T09:47:18Z")

</div>

To quote my first message:

> I started from the pre-aligned fasta file, and consequently used dist.seqs  
> (output = lt), cluster and rarefaction.single.  
> …  
> Except for the dist.seqs part, I used default settings.

Or did you mean something else? :oops:

Thanks

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [December 7, 2011, 3:32pm UTC](https://forum.mothur.org/t/rarefaction-values-too-high/679/6 "2011-12-07T15:32:34Z")

</div>

I was looking for the exact wording of your commands, not just the general flow of things… I just saved those data as kirk.rabund and rand the following…

rarefaction.single(rabund=kirk.rabund, freq=1)

Looking at kirk.rarefaction, all of the numbers seem very reasonable. Are you doing something different?
