# changing --p-max-ee-r to obtain more filtered sequence in DADA2

**URL:** <https://forum.qiime2.org/t/changing-p-max-ee-r-to-obtain-more-filtered-sequence-in-dada2/16699>\
**Category:** User Support\
**Tags:** dada2\
**Created:** [September 25, 2020, 9:30am UTC](https://forum.qiime2.org/t/changing-p-max-ee-r-to-obtain-more-filtered-sequence-in-dada2/16699 "2020-09-25T09:30:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afinaa](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@afinaa](https://forum.qiime2.org/u/afinaa)\
**Post date:** [September 25, 2020, 9:30am UTC](https://forum.qiime2.org/t/changing-p-max-ee-r-to-obtain-more-filtered-sequence-in-dada2/16699/1 "2020-09-25T09:30:12Z")

</div>

Hi all,

I am running ITS1 analysis. And based on my readings, ITS works differently as it has varying length.  
We did the primer trimming using bbduk and then imported into QIIME2.

From rawdata.qzv, the quality dropped quite significantly for reverse reads and the sequence length is around 279-300 bp.

[rawdata.qzv](https://forum.qiime2.org/uploads/short-url/dXHRmxS5tjTyLrDSsMyLQ4xDmIl.qzv) (275.6 KB)

Then, I noticed that DADA2 filtered out lots of reads (refer dada2-stats-0.qzv). As we are more concerned to have more reads included in DADA2, we then changed the parameter --`p-max-ee-r` to 6 and it did include more reads(refer dada2-stats.qzv).

[dada2-stats-0.qzv](https://forum.qiime2.org/uploads/short-url/hvYAKmK3EAvnLC4LRxPVcjV9O4n.qzv) (1.2 MB)  
[dada2-stats.qzv](https://forum.qiime2.org/uploads/short-url/edflZUt8khXkb6VEp9iqCGDLizA.qzv) (1.2 MB)

I think changing this parameter is better for my data but can anyone give any opinion about this?  
Am I doing it right or should I just stick with the default parameter? I understand that ITS is a bit different than usual 16S or 18S but am I missing anything?

Thank you for the help.

---

<div class="post-metadata">

**Author:** ![ChrisKeefe](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chriskeefe/32/1907_2.png) [@ChrisKeefe](https://forum.qiime2.org/u/ChrisKeefe)\
**Post date:** [October 13, 2020, 1:41am UTC](https://forum.qiime2.org/t/changing-p-max-ee-r-to-obtain-more-filtered-sequence-in-dada2/16699/2 "2020-10-13T01:41:18Z")

</div>

Sorry about the radio silence, @afinaa! It's been super busy in QIIME-land lately. I'm not experienced with ITS sequences personally, so _please take the following as brainstorming, not as recommendation._

Changing max-ee is _legal_ but should be justified in any publication - you are essentially telling DADA2 to work with more-erroneous reads, which it can do, but this could increase the number of "false" reads it might produce. This may be the best approach for your data, but exploring some other approaches might be worthwhile.

Are your `bbduk` parameters searching for reverse-complement sequences in addition to your primer sequences themselves? I _think_ it does this by default, but it would be a shame if you were losing reads due to artifacts present due to sequence readthrough.

Would you lose too much data by using forward reads only? This would obviously be a compromise, but your forward reads look pretty clean out to about position 255, so you'd still have something to work with.

Finally, here are some other approaches to preprocessing ITS sequences ([with q2-cutadapt](https://forum.qiime2.org/t/fungal-its-analysis-tutorial/7351), [with q2-ITSxpress](https://forum.qiime2.org/t/q2-itsxpress-a-tutorial-on-a-qiime-2-plugin-to-trim-its-sequences/5780), [in R](https://benjjneb.github.io/dada2/ITS_workflow.html)) for DADA2, and an [interesting discussion](https://github.com/benjjneb/dada2/issues/327) on same. I'm not sure these will be directly useful, but there's some good conceptual discussion in them that might help you diagnose and correct the issue.

I wish I had more experience I could lend - hopefully these resources are useful. If not, let us know how things are going, and someone with more experience than I have may step in to help out.

Good luck!  
Chris 🐆

---

<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:** [November 13, 2020, 7:41am UTC](https://forum.qiime2.org/t/changing-p-max-ee-r-to-obtain-more-filtered-sequence-in-dada2/16699/3 "2020-11-13T07:41:20Z")

</div>

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