# Demultiplexing error paired-end error

**URL:** <https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665>\
**Category:** User Support\
**Tags:** emp, demux\
**Created:** [June 21, 2018, 3:32pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665 "2018-06-21T15:32:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FranciscoC](https://forum.qiime2.org/user_avatar/forum.qiime2.org/franciscoc/32/5210_2.png) [@FranciscoC](https://forum.qiime2.org/u/FranciscoC)\
**Post date:** [June 21, 2018, 3:32pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/1 "2018-06-21T15:32:48Z")

</div>

Hi there, I´m trying to demultiplex by following the paired-end read analysis protocol.

--m-barcodes-file sample-metadata.tsv   
--m-barcodes-column BarcodeSequence   
--i-seqs emp-paired-end-sequences.qza   
--o-per-sample-sequences demux \

However I´m getting the following error:

"Plugin error from demux:

Mismatched sequence ids: D00420:191:HHG2GBCX2:2:1101:1916:2176, D00420:191:HHG2GBCX2:2:1101:12977:2149, and D00420:191:HHG2GBCX2:2:1101:12977:2149"

Any clues on what may be causing this?

Sincerely,

Francisco

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 21, 2018, 7:15pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/2 "2018-06-21T19:15:49Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 21, 2018, 7:16pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/3 "2018-06-21T19:16:31Z")

</div>

Hi there @FranciscoC!

> [@FranciscoC](#):
>
> Any clues on what may be causing this?

Please take a look at this post (and the rest of that thread) for more detail:

> [@Plugin error from demux: Mismatched sequence descriptions](https://forum.qiime2.org/t/plugin-error-from-demux-mismatched-sequence-descriptions/4585/5):
>
> Hey there @ykhan! This means that the record id in your barcode reads (N:0:1) don't match up or align to the record ids in your forward/reverse reads (N:0:CAGTGCATATGC), for at least one record. How were these data processed or prepared? Did they follow the EMP protocol?

Can you tell us a bit more about your sequence data?

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [June 21, 2018, 7:16pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/4 "2018-06-21T19:16:33Z")

</div>



---

<div class="post-metadata">

**Author:** ![FranciscoC](https://forum.qiime2.org/user_avatar/forum.qiime2.org/franciscoc/32/5210_2.png) [@FranciscoC](https://forum.qiime2.org/u/FranciscoC)\
**Post date:** [June 22, 2018, 10:25am UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/5 "2018-06-22T10:25:58Z")

</div>

Thank you very much Thermokarst. I suspect that the problem is the same. I will also try to contact my sequence provider.

---

<div class="post-metadata">

**Author:** ![ben](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ben/32/1790_2.png) [@ben](https://forum.qiime2.org/u/ben)\
**Post date:** [June 22, 2018, 3:15pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/6 "2018-06-22T15:15:39Z")

</div>

If this is the same issue I had, you could replace the N:0:1 to match across your forward, reverse, and barcode gzip/fastq files. The command would be to change the N:0:1 to match all.

The problem also occurred from our sequencing core where the forward would have the barcode N:0:1, but everything would be sequential (barcode file N:0:2) and reverse N:0:3.

A unix command to search and replace all N:0:2 and N:0:3 across the files to change to N:0:1 allowed me to import correctly. Of course, your problem may be different and before doing this, make a copy of everything and don't use.

I'm at a different station, will provide the unix commands when I get back. Ben

---

<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 23, 2018, 9:15pm UTC](https://forum.qiime2.org/t/demultiplexing-error-paired-end-error/4665/7 "2018-07-23T21:15:41Z")

</div>

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