# Facing merging problem in dada2-plugin

**URL:** <https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534>\
**Category:** User Support\
**Tags:** dada2, merge, feature-table\
**Created:** [May 22, 2023, 5:46am UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534 "2023-05-22T05:46:41Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [May 22, 2023, 5:46am UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/1 "2023-05-22T05:46:42Z")

</div>

Initially i am facing problem in filtering where very less reads have passed the filter. But now after setting q20, 50-60% reads passed the filter but I don't know why very less reads have passed on merging.  
Can anyone help me to find solution to this problem?  
Here I am attaching the denoising-stats report. Also I am attaching the command below.

```auto
qiime dada2 denoise-paired \
--i-demultiplexed-seqs paired-end-demux-trimmed-p-a.qza \
--p-trunc-len-f 0 \
--p-trim-left-f 0 \
--p-trunc-len-r 0 \
--p-trim-left-r 0 \
--p-trunc-q 20 \
--o-representative-sequences rep-seqs.qza \
--o-table table.qza \
--o-denoising-stats stats.qza

```

Thanks  
Priyanka

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [May 22, 2023, 6:58pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/2 "2023-05-22T18:58:50Z")

</div>

Hi @Priyanka_Mishra,  
I will need more info to help!  
Can you attach your denoising-stats report and your paired-end-demux-trimmed-p-a.qzv?

If your sequences aren't merging, it is typically because they aren't long enough to cover the whole region with overlap. What variable region are you looking at and what are your primers?

Thanks  
🐢

---

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [May 23, 2023, 6:30am UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/3 "2023-05-23T06:30:45Z")

</div>

Hi @cherman2,  
Hereby, I am attaching both the reports for more information. Thank you for your response.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/c/c732972b85efb7720d28f78fe93e5c0fa3ecc8e2.png)  
 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/e/ea9fb0a32869627fce0aead51b2eea7ac82ef8c6.png)

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![colinvwood](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinvwood/32/17303_2.png) [@colinvwood](https://forum.qiime2.org/u/colinvwood)\
**Post date:** [May 23, 2023, 4:23pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/4 "2023-05-23T16:23:31Z")

</div>



---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [May 23, 2023, 4:46pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/5 "2023-05-23T16:46:31Z")

</div>

Hi again @Priyanka_Mishra  
What variable region are you looking at and what are your primers?

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [May 23, 2023, 4:46pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/6 "2023-05-23T16:46:34Z")

</div>



---

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [May 25, 2023, 1:44pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/7 "2023-05-25T13:44:10Z")

</div>

Hi Chloe,  
Our variable region is V3-V4 region and the primers used were-  
Primer Primer sequence 5' --\> 3'  
name  
V3V4F - CCTACGGGNGGCWGCAG  
V3V4R - GACTACHVGGGTATCTAATCC

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [May 25, 2023, 4:24pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/8 "2023-05-25T16:24:21Z")

</div>

Hi @Priyanka_Mishra,  
Looking at all this data your reads should overlap, so this is weird.

It seems like there is enough length in your sequence to overlap but for some reason they are not overlapping. The only thing I can think of is something went wrong in the demux step and its making it so your data is randomly assigned to sequences and therefore the forward and reverse reads are not really meant to go together? I am not exactly sure. Can you attach/dm me your demux.qzv so I could take a look that would be very appreciated.

🐢

---

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [May 26, 2023, 12:59pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/9 "2023-05-26T12:59:03Z")

</div>

Hey @cherman2,  
Okay sure I am attaching here my demux-p-a.qzv file for your reference.

Thanks,  
Priyanka

[demux-p-a-summary.qzv](https://forum.qiime2.org/uploads/short-url/qiS1euRUqzhGPbv4rQVyapGj3Ui.qzv) (327.7 KB)

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [May 30, 2023, 8:31pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/10 "2023-05-30T20:31:25Z")

</div>

Hi @Priyanka_Mishra,  
Your demux file looks fine and your provenance makes sense to me. The last think that I can think of that might be effecting overlap is your adapters are still in the sequences? Do you know if your adapters are still in the sequence? If they are, you will want to use cutadapt to trim them out before dada2. [Demultiplexing and Trimming Adapters from Reads with q2-cutadapt](https://forum.qiime2.org/t/demultiplexing-and-trimming-adapters-from-reads-with-q2-cutadapt/2313)

Hope that helps!  
🐢

---

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [June 1, 2023, 9:58am UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/12 "2023-06-01T09:58:14Z")

</div>

Hi @cherman2 ,  
I have already trimmed the adapter sequences using this command -

```auto
qiime cutadapt trim-paired \
--i-demultiplexed-sequences demux-paired-end.qza \
--p-adapter-f AGATCGGAAGAGCACACGTCTGAACTCCAGTCA \
--p-adapter-r AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT \
--o-trimmed-sequences paired-end-demux-trimmed.qza

```

How can I know that whether the adapters are removed or still there in the sequences after running this command?

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)\
**Post date:** [June 1, 2023, 4:29pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/13 "2023-06-01T16:29:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [June 1, 2023, 10:12pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/16 "2023-06-01T22:12:33Z")

</div>

Hi @Priyanka_Mishra,  
I have one last idea, Have you tried searching for your primers after trimming to verify that they are being trimmed out?

We might have exhausted all options for trying to get these reads to merge and it might be best to proceed with just the forward reads.

🐢

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [June 1, 2023, 10:12pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/17 "2023-06-01T22:12:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![Priyanka\_Mishra](https://forum.qiime2.org/user_avatar/forum.qiime2.org/priyanka_mishra/32/15690_2.png) [@Priyanka\_Mishra](https://forum.qiime2.org/u/Priyanka_Mishra)\
**Post date:** [June 12, 2023, 10:37am UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/18 "2023-06-12T10:37:08Z")

</div>

Hi @cherman2 ,  
Please can you help me out how to check whether the primers have been trimmed out or still there.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)\
**Post date:** [June 12, 2023, 1:55pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/19 "2023-06-12T13:55:28Z")

</div>

Hi @Priyanka_Mishra,  
I think the simplest way to do this is to use command F /control F to search your fastq file after you have trimmed the adapters out of the sequences.

Hope that helps!  
🐢

---

<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:** [July 13, 2023, 7:56pm UTC](https://forum.qiime2.org/t/facing-merging-problem-in-dada2-plugin/26534/20 "2023-07-13T19:56:24Z")

</div>

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