# Dereplication error

**URL:** <https://forum.qiime2.org/t/dereplication-error/8601>\
**Category:** User Support\
**Created:** [March 2, 2019, 10:16pm UTC](https://forum.qiime2.org/t/dereplication-error/8601 "2019-03-02T22:16:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamoc](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/g/aca169/32.png) [@gamoc](https://forum.qiime2.org/u/gamoc)\
**Post date:** [March 2, 2019, 10:16pm UTC](https://forum.qiime2.org/t/dereplication-error/8601/1 "2019-03-02T22:16:43Z")

</div>

I've got some samples from Illumina MiSeq to perform metagenomics out of 16S rRNA analysis. The reads came up paired,zipped and in a fastq format. I've already made their import into a .qza artifact, joined the paired ends, applied quality control (q-score 20), trimmed (cut off reads smaller than 200bp), discarded singletons (abundance lower than 2), but I'm stuck in the dereplication process.  
I typed the following script

qiime vsearch dereplicate-sequences --i-sequences seqs.qza --o-dereplicated-sequences derep-seqs --o-dereplicated-table derep-table

However, I've got this warning:

_Parameter 'sequences' received an argument of type FeatureData[Sequence]. An argument of subtype SampleData[JoinedSequencesWithQuality] | SampleData[SequencesWithQuality] | SampleData[Sequences] is required._

_Debug info has been saved to /tmp/qiime2-q2cli-err-mwsuvmto.log_

What am I doing wrong? I need to dereplicate these reads before I sort out the chimeras and start to cluster to obtain the feature tables/sequences.

---

<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 4, 2019, 2:11pm UTC](https://forum.qiime2.org/t/dereplication-error/8601/2 "2019-03-04T14:11:26Z")

</div>

Hi @gamoc,  
It looks like `seqs.qza` is the wrong type of input. It appears to be a `FeatureData[Sequence]` artifact, which is the type of output you would get from `dereplicate-sequences`. So you are either inputting the wrong artifact (e.g., you already ran this command and are mixing up your files) or else you imported this file as the wrong format. You may want to review [this tutorial](https://docs.qiime2.org/2019.1/tutorials/otu-clustering/) for a similar workflow and importing instructions for the relevant data type.

---

<div class="post-metadata">

**Author:** ![gamoc](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/g/aca169/32.png) [@gamoc](https://forum.qiime2.org/u/gamoc)\
**Post date:** [March 6, 2019, 11:37pm UTC](https://forum.qiime2.org/t/dereplication-error/8601/3 "2019-03-06T23:37:40Z")

</div>

Thank you, Nicholas! Let me remake my question just to finish it up: may I skip the dereplication step and go straight forward to the OTU picking? The clusterization process already arrange the sequences into several clusters, so does it mean those ones which are equal (replicated) would fit in the same group?

---

<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 7, 2019, 12:51am UTC](https://forum.qiime2.org/t/dereplication-error/8601/4 "2019-03-07T00:51:37Z")

</div>

> [@gamoc](#):
>
> may I skip the dereplication step and go straight forward to the OTU picking?

No. Dereplicated seqs are required — it speeds up the process but most importantly the OTU clustering methods in QIIME 2 require specific input types, namely a feature table and `FeatureData[Sequence]` artifacts, which are the outputs of the dereplicate method.

> [@gamoc](#):
>
> The clusterization process already arrange the sequences into several clusters, so does it mean those ones which are equal (replicated) would fit in the same group?

yes

---

<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:** [April 7, 2019, 6:51am UTC](https://forum.qiime2.org/t/dereplication-error/8601/5 "2019-04-07T06:51:38Z")

</div>

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