# Problem with recognizing adapters while using Cutadapt or Trimmomatic

**URL:** <https://help.galaxyproject.org/t/problem-with-recognizing-adapters-while-using-cutadapt-or-trimmomatic/5031>\
**Category:** usegalaxy.org support\
**Created:** [December 16, 2020, 4:10pm UTC](https://help.galaxyproject.org/t/problem-with-recognizing-adapters-while-using-cutadapt-or-trimmomatic/5031 "2020-12-16T16:10:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhilash719](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abhilash719](https://help.galaxyproject.org/u/abhilash719)\
**Post date:** [December 16, 2020, 4:10pm UTC](https://help.galaxyproject.org/t/problem-with-recognizing-adapters-while-using-cutadapt-or-trimmomatic/5031/1 "2020-12-16T16:10:31Z")

</div>

I got my samples sequenced from a commercial facility. They used the following adapter sequences for sequencing  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/f/f9691fd838deeeb027e9538d1c25bedb36173aee.png)  
|Sample ID|Index i7|Index i5|  
|S0A|GTTCTTCTGT|CCAAGGTATT|  
|S0B|CCAAGGTATT|GTTCTTCTGT|  
|S0C|TGTGGAGAGG|AACGAACCGG|  
|S5A|TTCCTTGAGG|TGCTGTCTTA|  
|S5B|GTTAATTGCG|GAGGAGATAA|  
|S5C|GAGGAGATAA|GTTAATTGCG|  
|S15A|GTTCCTCATT|AATGTCGGTT|  
|S15B|AATGTCGGTT|GTTCCTCATT|  
|S15C|TTGACAGGTA|TGGTGGTTGT|

I am confused with the nomenclature of adapters. I am trying to use the Cutadapt tool in galaxy, and I am not sure out of the given adapter sequences which are 3’(End) adapters, 5’(Front) adapters, or 5’ or 3’ (Anywhere) Adapters. I also tried using the trimmomatic tool but I am not sure if I should use the TruSeq2 (pair ended) or TruSeq3 (pair ended). Could anyone please guide me through this so that I can start my data analysis? Thank you.

---

<div class="post-metadata">

**Author:** ![gallardoalba](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/gallardoalba/32/1903_2.png) [@gallardoalba](https://help.galaxyproject.org/u/gallardoalba)\
**Post date:** [December 16, 2020, 7:12pm UTC](https://help.galaxyproject.org/t/problem-with-recognizing-adapters-while-using-cutadapt-or-trimmomatic/5031/2 "2020-12-16T19:12:56Z")

</div>

Hi @abhilash719,  
i7 index adapter corresponds to the 3’ adapter and i5 index adapter to 5’ adapter. Regarding the ILLUMINACLIP options, it depends on the technology used; according to the [Trimmomatic manual](http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/TrimmomaticManual_V0.32.pdf) TrueSeq2 is used in samples generated by GAII systems, while TrueSeq3 should be used when the samples have been generated by HiSeq and MiSeq machines.

---

<div class="post-metadata">

**Author:** ![abhilash719](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abhilash719](https://help.galaxyproject.org/u/abhilash719)\
**Post date:** [December 16, 2020, 7:34pm UTC](https://help.galaxyproject.org/t/problem-with-recognizing-adapters-while-using-cutadapt-or-trimmomatic/5031/3 "2020-12-16T19:34:15Z")

</div>

Thank you so much, @gallardoalba.
