# How to prepare the barcodes.fastq.file

**URL:** https://forum.qiime2.org/t/how-to-prepare-the-barcodes-fastq-file/13532
**Category:** User Support
**Created:** [February 7, 2020, 3:28pm UTC](https://forum.qiime2.org/t/how-to-prepare-the-barcodes-fastq-file/13532 "2020-02-07T15:28:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![angelrica\_kuan](https://forum.qiime2.org/user_avatar/forum.qiime2.org/angelrica_kuan/32/7145_2.png) [@angelrica\_kuan](https://forum.qiime2.org/u/angelrica_kuan)
#### Post date: [February 7, 2020, 3:28pm UTC](https://forum.qiime2.org/t/how-to-prepare-the-barcodes-fastq-file/13532/1 "2020-02-07T15:28:06Z")

</div>

Hi, I am new user. I obtained three files from NGS company as below:

1. MS18201-pool\_R1\_001.fastq.gz\
2. MS18201-pool\_R2\_001.fastq.gz\
3. Dual barcode sequences which are in excel file

My question is how to create a barcode. fastq. file?

Thanks for replying.

Angelrica

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [February 7, 2020, 7:25pm UTC](https://forum.qiime2.org/t/how-to-prepare-the-barcodes-fastq-file/13532/2 "2020-02-07T19:25:39Z")

</div>

Welcome to the forum @angelrica_kuan!

I recommend discussing with the NGS company to figure out where your barcodes are located. I suspect they may be in-line in the forward and reverse sequences, in which case you can follow this tutorial to import and demux:

> [@Demultiplexing and Trimming Adapters from Reads with q2-cutadapt](https://forum.qiime2.org/t/demultiplexing-and-trimming-adapters-from-reads-with-q2-cutadapt/2313):
>
> exclamation exclamation exclamation NOTE exclamation exclamation exclamationThis tutorial is a work in progress, and is incomplete at the moment. It demonstrates at a high level some of the methods available in the [q2-cutadapt](https://docs.qiime2.org/2020.2/plugins/available/cutadapt/) plugin available in [QIIME 2 2018.2](https://docs.qiime2.org). Please stay tuned here for additional updates as this tutorial is expanded upon in the coming weeks. Multiplexed reads with the barcodes in the sequence reads can be demultiplexed in QIIME 2 using the q2-cutadapt plugin, w…

And note that `qiime cutadapt demux-paired` now supports dual-index barcodes (see the --help documentation for details).

Good luck!

---

<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: [March 10, 2020, 1:25am UTC](https://forum.qiime2.org/t/how-to-prepare-the-barcodes-fastq-file/13532/3 "2020-03-10T01:25:43Z")

</div>

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