# Obtain the sequences number per amplicon

**URL:** <https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485>\
**Category:** Commands in mothur\
**Created:** [April 28, 2020, 5:26pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485 "2020-04-28T17:26:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidCG](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@DavidCG](https://forum.mothur.org/u/DavidCG)\
**Post date:** [April 28, 2020, 5:26pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485/1 "2020-04-28T17:26:48Z")

</div>

I would like to know how many contigs I have in each one of my samples when I have processed all the steps. In example: sample A has 152200 sequences, sample B 155500.  
I think it easy but I did not find how to do

---

<div class="post-metadata">

**Author:** ![leocadio](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/leocadio/32/203_2.png) [@leocadio](https://forum.mothur.org/u/leocadio)\
**Post date:** [April 28, 2020, 8:04pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485/2 "2020-04-28T20:04:30Z")

</div>

The initial number of contigs per sample it is written in the log file.

If you mean after all cleaning, pre-clustering, clustering, etc, that would be just if you add all counts per sample… if you have your count table, it is just adding all numbers from each OTU/ASV/Whatever from each sample. You can do it in excel or awk

---

<div class="post-metadata">

**Author:** ![DavidCG](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@DavidCG](https://forum.mothur.org/u/DavidCG)\
**Post date:** [April 28, 2020, 8:56pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485/3 "2020-04-28T20:56:03Z")

</div>

I know I can use the excel since the OTUs distribution but I mean with a mothur tool  
Thanks Leocadio

---

<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:** [May 4, 2020, 8:36pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485/4 "2020-05-04T20:36:13Z")

</div>

Try `count.groups` on your final shared file

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/system/32/2_2.png) [@system](https://forum.mothur.org/u/system)\
**Post date:** [May 14, 2020, 8:36pm UTC](https://forum.mothur.org/t/obtain-the-sequences-number-per-amplicon/20485/5 "2020-05-14T20:36:13Z")

</div>

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