# Seeking Advice on Primer and Adapter Trimming for MiSeq Amplicon Sequencing Data Using Cutadapt

**URL:** <https://forum.qiime2.org/t/seeking-advice-on-primer-and-adapter-trimming-for-miseq-amplicon-sequencing-data-using-cutadapt/30384>\
**Category:** General Discussion\
**Tags:** trim, cutadapt\
**Created:** [June 4, 2024, 6:23am UTC](https://forum.qiime2.org/t/seeking-advice-on-primer-and-adapter-trimming-for-miseq-amplicon-sequencing-data-using-cutadapt/30384 "2024-06-04T06:23:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miseon](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@Miseon](https://forum.qiime2.org/u/Miseon)\
**Post date:** [June 4, 2024, 6:23am UTC](https://forum.qiime2.org/t/seeking-advice-on-primer-and-adapter-trimming-for-miseq-amplicon-sequencing-data-using-cutadapt/30384/1 "2024-06-04T06:23:22Z")

</div>

Hello,

I am a student studying microbiology, and I am teaching myself bioinformatics. However, I lack a way to verify if my analysis is appropriate, so I am seeking help from this forum.

My question is about trimming adapters and primers from demultiplexed sample-specific fastq files.

Here is some information about my analysis: I performed amplicon metagenomic sequencing using a MiSeq instrument, targeting the V3-V4 region. The primer sequences I used are as follows:

- 341F: CCTACGGGNGGCWGCAG
- 805R: GACTACHVGGGTATCTAATCC

I used the Nextera XT kit for library preparation, and the sequencing primers, indexes, and adapter sequences are as follows:

- 5'- AATGATACGGCGACCACCGAGATCTACAC[i5]TCGTCGGCAGCGTCAGATGTGTATAAGAGACAG-[locusspecific sequence]-CTGTCTCTTATACACATCTCCGAGCCCACGAGAC[i7]ATCTCGTATGCCGTCTTCTGCTTG -3'
- 3'- TTACTATGCCGCTGGTGGCTCTAGATGTG[i5]AGCAGCCGTCGCAGTCTACACATATTCTCTGTC-[locusspecific sequence]-GACAGAGAATATGTGTAGAGGCTCGGGTGCTCTG[i7]TAGAGCATACGGCAGAAGACGAAC -5'

When I checked the fastq files for one sample, most of the sequences in the \_1 (forward) file started with the 341F primer, and most of the sequences in the \_2 (reverse) file started with the 805R primer (though not all reads did). Additionally, a few reads had primer and adapter sequences at the ends. Therefore, I planned to use cutadapt with the following command:

```auto
cutadapt 
    -j 14 
    -a CTGTCTCTTATACACATCTCCGAGCCCACGAGAC 
    -g CCTACGGGNGGCWGCAG 
    -A CTGTCTTATACACATCTGACGCTGCCGACGA 
    -G GACTACHVGGGTATCTAATCC 
    -o ${OUTPUT_DIR}/primer_${base_name}_1.fastq.gz 
    -p ${OUTPUT_DIR}/primer_${base_name}_2.fastq.gz 
    -m 50 
    -q 20 

```

In summary, I would like to know:

1. Is my script suitable for trimming my data?
2. How should a researcher decide on the parameters for minimum length (-m) and quality score (-q)?
3. Are there any other considerations I should be aware of?

If more information is needed to address these questions, I am happy to provide it.  
I will also provide images of some of my fastq files for reference.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/1/4/145f46c90931efab24639587bae4a18f0ca78773.jpeg)

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![kranderson](https://forum.qiime2.org/user_avatar/forum.qiime2.org/kranderson/32/21888_2.png) [@kranderson](https://forum.qiime2.org/u/kranderson)\
**Post date:** [August 3, 2026, 10:36am UTC](https://forum.qiime2.org/t/seeking-advice-on-primer-and-adapter-trimming-for-miseq-amplicon-sequencing-data-using-cutadapt/30384/2 "2026-08-03T10:36:04Z")

</div>

Hi Miseon, I found your post in hopes I could walk myself through using cutadapt. Unfortunately there is no discussion. 😔 It's been a couple years so this is no help to you Miseon, BUT if folks find themselves here then [this post](https://forum.qiime2.org/t/remove-primer-in-paired-end-demultiplexed-file/17376/8) might be of help.
