# Cutadapt for linker and primer

**URL:** <https://forum.qiime2.org/t/cutadapt-for-linker-and-primer/19700>\
**Category:** User Support\
**Created:** [May 27, 2021, 6:48am UTC](https://forum.qiime2.org/t/cutadapt-for-linker-and-primer/19700 "2021-05-27T06:48:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Man](https://forum.qiime2.org/user_avatar/forum.qiime2.org/man/32/18788_2.png) [@Man](https://forum.qiime2.org/u/Man)\
**Post date:** [May 27, 2021, 6:48am UTC](https://forum.qiime2.org/t/cutadapt-for-linker-and-primer/19700/1 "2021-05-27T06:48:36Z")

</div>

Hi there, I have these pair of linker and primers in the demultiplexed files that I downloaded from the sequencing center.

341F - Illumina linker - 5'-TCGTCGGCAGCGTCAGATGTGTATAAGAGACAG-3' native primer 5'-CCTACGGGNGGCWGCAG-3'  
Full sequence 5'-TCGTCGGCAGCGTCAGATGTGTATAAGAGACAGCCTACGGGNGGCWGCAG-3'

806wR - Illumina linker - 5'-GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAG-3' native primer 5'-GACTACHVGGGTWTCTAATCC-3'  
Full sequence 5'-GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAGGACTACHVGGGTWTCTAATCC-3'  
I have used following commands for cutadapt using the full sequence:  
qiime cutadapt trim-paired   
--i-demultiplexed-sequences paired-end-demux.qza   
--p-front-f TCGTCGGCAGCGTCAGATGTGTATAAGAGACAGCCTACGGGNGGCWGCAG   
--p-front-r GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAGGACTACHVGGGTWTCTAATCC   
--o-trimmed-sequences paired-end-demux-trimmed.qza

However, when I use this trimmed.qza file for subsequent dada2 denoising step, I get extremely low percentage of passed filter and other outputs. Can you guys help me out here?  
Thanks  
MAN

# Please read the following before posting!

Is this post about a _User Support Question_? Those include questions about specific results while running QIIME 2, warnings observed while running a QIIME 2 command. Please do not post questions here that have to do with interpretation of results, general discussion, or technical support.

Before posting, please make sure you have the following information available, in order for us to help you in a timely manner:

- Have you searched for the problem on the forum? It is rare that we see a _new_ question asked, so make sure you do your homework before asking for us to commit our time to helping you.
- Have you reviewed the [QIIME 2 Forum Glossary](https://forum.qiime2.org/t/how-the-forum-works/7085#heading--glossary)?
- Version of QIIME 2 you are running, and how it is installed (e.g. Virtualbox, conda, etc.)
- What is the exact command or commands you ran? Copy and paste please.
- What is the exact error message, if applicable? If you didn't run the command with the `--verbose` flag, please re-run and copy-and-paste the results.

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [May 27, 2021, 1:22pm UTC](https://forum.qiime2.org/t/cutadapt-for-linker-and-primer/19700/2 "2021-05-27T13:22:31Z")

</div>

Hi @Man,

The issue is that you are feeding the entire construct into cutadapt, when you should _only_ be providing the PCR primer sequences. Here is a related forum post that should help:

> [@Remove Primer in paired-end demultiplexed file](https://forum.qiime2.org/t/remove-primer-in-paired-end-demultiplexed-file/17376/8):
>
> Hi @mohsen_ej, if you search the forum, you'll come across many examples of how to use cutadapt. There are quite a variety of ways to leverage this tool. You'll likely just want to specify your specific primer sequences not the entire construct. That is, your primers are likely these (anything after the ...GAGACAG): --p-front-f CCTACGGGNGGCWGCAG \ --p-front-r GACTACHVGGGTATCTAATCC \ Here are a couple to get you started: -Mike

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [June 27, 2021, 7:23pm UTC](https://forum.qiime2.org/t/cutadapt-for-linker-and-primer/19700/3 "2021-06-27T19:23:16Z")

</div>

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