# Is decontam available in QIIME 2?

**URL:** <https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749>\
**Category:** Other Bioinformatics Tools\
**Created:** [January 9, 2019, 8:47am UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749 "2019-01-09T08:47:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas](https://forum.qiime2.org/user_avatar/forum.qiime2.org/tomas/32/3790_2.png) [@Tomas](https://forum.qiime2.org/u/Tomas)\
**Post date:** [January 9, 2019, 8:47am UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/1 "2019-01-09T08:47:57Z")

</div>

Dea Nicholas, any updates on including a decontam plugin in qiime?  
(struggling with R right now...)

> [@Filter Controls or Not to Filter Controls](https://forum.qiime2.org/t/filter-controls-or-not-to-filter-controls/1832/11):
>
> Thanks for mentioning @yanxianl! For those who have not seen, these new actions are [evaluate-composition](https://docs.qiime2.org/2017.11/tutorials/quality-control/#evaluating-quality-of-samples-with-known-composition) and [evaluate-seqs](https://docs.qiime2.org/2017.11/tutorials/quality-control/#evaluating-sequence-quality). These are designed with mock communities in mind, but could also be useful for testing simulated communities or other samples types with an "expected" composition/sequences. We hope to have decontam as a new action in the q2-quality-control plugin by early 2018. Stay tuned!

---

<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:** [January 9, 2019, 2:35pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/2 "2019-01-09T14:35:48Z")

</div>

Made this topic public on January 9, 2019, 2:35pm UTC



---

<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:** [January 9, 2019, 2:39pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/3 "2019-01-09T14:39:21Z")

</div>

Not yet but maybe soon. The authors very understandably did not want to add a `decontam` method to QIIME 2 until their work was published, which it now is as of December 2018. 🎉

cc: @benjjneb

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [January 9, 2019, 8:03pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/4 "2019-01-09T20:03:37Z")

</div>

Yes I'd be able to help add decontam to Q2 at some point now that it is published.  
Is there a GH issue on this open yet somewhere?

---

<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:** [January 9, 2019, 8:11pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/5 "2019-01-09T20:11:52Z")

</div>

> [@benjjneb](#):
>
> Is there a GH issue on this open yet somewhere?

Not yet.

We had discussed adding this to q2-quality-control once upon a time — it is your call whether to add this to that plugin or create a new plugin (q2-decontam?) to house this method.

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [January 9, 2019, 10:08pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/6 "2019-01-09T22:08:46Z")

</div>

Does the action of decontam, which identifies contaminants after initial processing QC into ASV/OTU/taxa tables, fit with the functionality in q2-quality-control?

If decontam is added to q2-quality-control, does the provenance mechanism in Q2 note the decontam method and guide users towards how to cite it? Or does that just happen at the plugin level hence would need its own plugin to be easily discoverable/citable via provenance?

---

<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:** [January 9, 2019, 10:21pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/7 "2019-01-09T22:21:27Z")

</div>

> [@benjjneb](#):
>
> Does the action of decontam, which identifies contaminants after initial processing QC into ASV/OTU/taxa tables, fit with the functionality in q2-quality-control?

q2-quality-control is a bit of a hodge podge right now. I would say yes, it fits the original intent of q2-quality-control for filtering and evaluation of data post-processing (though that intended role has yet to fully manifest itself, and lots of stuff in there is more evaluation tools). The other post-processing QC type method in there right now is positive + negative filtering based on alignment.

> [@benjjneb](#):
>
> If decontam is added to q2-quality-control, does the provenance mechanism in Q2 note the decontam method and guide users towards how to cite it?

Yes! Citations can be defined both at the plugin level (e.g., [this](https://github.com/qiime2/q2-longitudinal/blob/master/q2_longitudinal/plugin_setup.py#L48)) and the action level (e.g., [this](https://github.com/qiime2/q2-longitudinal/blob/master/q2_longitudinal/plugin_setup.py#L345)). Those citations will be recorded in provenance and hence be discoverable to users.

---

<div class="post-metadata">

**Author:** ![benjjneb](https://forum.qiime2.org/user_avatar/forum.qiime2.org/benjjneb/32/1602_2.png) [@benjjneb](https://forum.qiime2.org/u/benjjneb)\
**Post date:** [January 10, 2019, 3:00pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/8 "2019-01-10T15:00:20Z")

</div>

That seems reasonable. I would prefer to not create a new plugin, simply for reasons of keeping my maintenance burden limited and focused on just one primary outlet (the R packages).

---

<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:** [February 10, 2019, 9:00pm UTC](https://forum.qiime2.org/t/is-decontam-available-in-qiime-2/7749/9 "2019-02-10T21:00:24Z")

</div>

Closed on February 10, 2019, 9:00pm UTC

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