# Question about VENN

**URL:** <https://forum.mothur.org/t/question-about-venn/20565>\
**Category:** Commands in mothur\
**Created:** [June 8, 2020, 9:29pm UTC](https://forum.mothur.org/t/question-about-venn/20565 "2020-06-08T21:29:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![allan\_santos](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@allan\_santos](https://forum.mothur.org/u/allan_santos)\
**Post date:** [June 8, 2020, 9:29pm UTC](https://forum.mothur.org/t/question-about-venn/20565/1 "2020-06-08T21:29:50Z")

</div>

Hey folks,  
i’ve got a shared file with A, B, C and D as groups. then, i’ve performed venn diagram between A and B. Right, so by now i’ve got the number of OTUs in A (605), B (708) and shared between them (312). How can I find those specific 605 OTUs exclusively in group A???

Many thanks.

---

<div class="post-metadata">

**Author:** ![allan\_santos](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@allan\_santos](https://forum.mothur.org/u/allan_santos)\
**Post date:** [June 8, 2020, 9:34pm UTC](https://forum.mothur.org/t/question-about-venn/20565/2 "2020-06-08T21:34:57Z")

</div>

please note, i need what kind of OTUs are exclusively for that group which are doesn’t shared with group B and not how many OTUs …

---

<div class="post-metadata">

**Author:** ![emmagagen](https://avatars.discourse-cdn.com/v4/letter/e/65b543/32.png) [@emmagagen](https://forum.mothur.org/u/emmagagen)\
**Post date:** [June 12, 2020, 12:15am UTC](https://forum.mothur.org/t/question-about-venn/20565/3 "2020-06-12T00:15:32Z")

</div>

Hi Allan,  
I believe you could use this command: [https://mothur.org/wiki/get.sharedseqs/](https://mothur.org/wiki/get.sharedseqs/)

---

<div class="post-metadata">

**Author:** ![westcott](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/westcott/32/18_2.png) [@westcott](https://forum.mothur.org/u/westcott)\
**Post date:** [June 15, 2020, 2:02pm UTC](https://forum.mothur.org/t/question-about-venn/20565/4 "2020-06-15T14:02:02Z")

</div>

This post about the venn and get.sharedseqs commands may also be helpful, [https://github.com/mothur/mothur/issues/181](https://github.com/mothur/mothur/issues/181).

To find otus that only contain sequences from sample A:

mothur \> get.sharedseqs(shared=yourSharedFile, uniquegroups=A)

---

<div class="post-metadata">

**Author:** ![allan\_santos](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@allan\_santos](https://forum.mothur.org/u/allan_santos)\
**Post date:** [June 18, 2020, 4:09am UTC](https://forum.mothur.org/t/question-about-venn/20565/5 "2020-06-18T04:09:09Z")

</div>

thank you so much both replies

---

<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:** [June 28, 2020, 4:14am UTC](https://forum.mothur.org/t/question-about-venn/20565/6 "2020-06-28T04:14:09Z")

</div>

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