# Importing and Demultiplexing Sequence Data Quick Reference

**URL:** https://forum.qiime2.org/t/importing-and-demultiplexing-sequence-data-quick-reference/14002
**Category:** Tutorials
**Created:** [March 11, 2020, 9:14pm UTC](https://forum.qiime2.org/t/importing-and-demultiplexing-sequence-data-quick-reference/14002 "2020-03-11T21:14:18Z")
**Posts on this page:** 2
**Page:** 1

<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: [March 11, 2020, 9:14pm UTC](https://forum.qiime2.org/t/importing-and-demultiplexing-sequence-data-quick-reference/14002/1 "2020-03-11T21:14:18Z")

</div>

The following is a "pocket guide" to determining the appropriate methods for importing and demultiplexing FASTA/FASTQ sequences (primarily from marker-gene sequencing experiments). Many samples are often "multiplexed" (pooled and sequenced together) on a single sequencing run. So the first step to analyzing these data is to [demultiplex](https://docs.qiime2.org/2020.2/tutorials/overview/#demultiplexing) the data. Often, demultiplexing is performed automatically by sequencing centers/services and users. How can you tell if you have demultiplexed data? If you have one sequence file (or pair of files) per sample. The following steps are meant as a guide to determine appropriate steps and tutorials for importing (and demultiplexing) sequence data.

If you find errors in this guide, or want to provide steps for importing or demultiplexing other formats, get in touch!

- Do you have **demultiplexed FASTQ sequences**? (i.e., one file per sample)
  - **Yes**
    - Are the sequences in CASAVA 1.8 format? (see descriptions of [CASAVA 1.8](http://gensoft.pasteur.fr/docs/casava/1.8.2/CASAVA1_8_Changes.pdf) and other [FASTQ formats](https://en.wikipedia.org/wiki/FASTQ_format) for details)
      - **Yes** : [use the CASAVA](https://docs.qiime2.org/2020.2/tutorials/importing/#casava-1-8-single-end-demultiplexed-fastq) format to import
      - **No** : [Use the appropriate Manifest format](https://docs.qiime2.org/2020.2/tutorials/importing/#fastq-manifest-formats) to import
      - **I don't know!** 😱[Use the appropriate Manifest format](https://docs.qiime2.org/2020.2/tutorials/importing/#fastq-manifest-formats) to import

  - **No**
    - If you followed the [**Earth Microbiome Project** (EMP) protocol](http://www.earthmicrobiome.org/): import as an EMP format — [single-end](https://docs.qiime2.org/2020.2/tutorials/importing/#emp-protocol-multiplexed-single-end-fastq) or [paired-end](https://docs.qiime2.org/2020.2/tutorials/importing/#emp-protocol-multiplexed-paired-end-fastq) — and demux with the corresponding method in q2-demux...
    - If you have a **separate barcodes/index FASTQ file** : import as an EMP format: [single-end](https://docs.qiime2.org/2020.2/tutorials/importing/#emp-protocol-multiplexed-single-end-fastq) or [paired-end](https://docs.qiime2.org/2020.2/tutorials/importing/#emp-protocol-multiplexed-paired-end-fastq) — and demux with the corresponding method in q2-demux...
    - If **barcodes are in-line with the sequences** : see the [q2-cutadapt](https://forum.qiime2.org/t/demultiplexing-and-trimming-adapters-from-reads-with-q2-cutadapt/2313) tutorial for importing and demux instructions.
    - Do you have **dual-index barcodes**? If yes, use [q2-cutadapt](https://forum.qiime2.org/t/demultiplexing-and-trimming-adapters-from-reads-with-q2-cutadapt/2313) but see the [demux-paired](https://docs.qiime2.org/2020.2/plugins/available/cutadapt/demux-paired/) manual for details on using dual-index barcodes. Note: combinatorial dual-index barcodes are not yet supported.
    - See also: [how to demultiplex without a barcode fastq?](https://forum.qiime2.org/t/demultiplexing/13255)

- Do you have **demultiplexed FASTA data**?
  - Follow the [OTU clustering tutorial](https://docs.qiime2.org/2020.2/tutorials/otu-clustering/)
  - Note: the denoising methods in QIIME 2 require FASTQ data so your only choice is to use OTU clustering or if possible convert your FASTA data to FASTQ.

- **Having trouble answering the questions above?**
  - If in doubt, contact the sequencing center/service or the original source of the data.

- **Don't have FASTQ or demultiplexed FASTA data?**
  - See the [importing tutorial](https://docs.qiime2.org/2020.2/tutorials/importing/) to see if a description exists for your data type. If not, get in touch on the [QIIME 2 forum](https://forum.qiime2.org).

---

<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: [October 6, 2020, 6:28pm UTC](https://forum.qiime2.org/t/importing-and-demultiplexing-sequence-data-quick-reference/14002/2 "2020-10-06T18:28:05Z")

</div>

A post was split to a new topic: [best method for importing my data](https://forum.qiime2.org/t/best-method-for-importing-my-data/16912)
