# Filter Controls or Not to Filter Controls

**URL:** https://forum.qiime2.org/t/filter-controls-or-not-to-filter-controls/1832
**Category:** User Support
**Tags:** dada2, pending-development, quality-filter, filtering, feature-table
**Created:** [November 14, 2017, 12:01am UTC](https://forum.qiime2.org/t/filter-controls-or-not-to-filter-controls/1832 "2017-11-14T00:01:36Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)
#### Post date: [November 14, 2017, 6:55pm UTC](https://forum.qiime2.org/t/filter-controls-or-not-to-filter-controls/1832/5 "2017-11-14T18:55:17Z")

</div>

I really like the term 'cross-indexing' to differentiate issues on the sequencers from environmental 'cross-contamination.'

Given that it's hard to differentiate cross-contamination and true biological similarity, my lab has mostly focused on cross-indexing, as it's a tractable problem.

> [@Stream\_biofilm](#):
>
> how would you calculate the correct minimum read count to use for an entire feature table?

From your **monoculture positive control** that you included in the run.

For example, if you have a batch of human samples, you may include a saltwater microbe as a positive control. After the run has finished, you can easily evaluate cross-indexing in two different ways.

1. Did my positive control end up in uman samples?
2. Did my most abundant Human reads end up in my positive control?
3. (Bonus!) Is my ASV denoising algorithm doing a good job resolving my single, known microbe in my positive control?

Based on these observed frequency of cross-indexing error, you can identify any samples that are massively contaminated, and also measure the baseline cross-indexing error.

* * *

But how do you remove this cross-indexing error from all other samples? The solution that I think would work best is outlined by @ebolyen here:

> [@Tutorial for filtering controls](https://forum.qiime2.org/t/tutorial-for-filtering-controls/557/4):
>
> However, I wonder if you would be able to scale the control's counts to a sample's total frequency. It won't be perfect as there'll still be sequences which the control didn't see, but could have, if it had happened to have more sequencing depth, but that's a problem with a qualitative filter anyhow.

Given that filtering is inelegant, maybe it's better to leave in contamination and control for it statistically, as @mortonjt suggested:

> [@Tutorial for filtering controls](https://forum.qiime2.org/t/tutorial-for-filtering-controls/557/5):
>
> If you think that you are dealing with some sort of bias that is widely distributed across your samples, check out some of the compositional statistics available in skbio and gneiss.

---

_[View the full topic](https://forum.qiime2.org/t/filter-controls-or-not-to-filter-controls/1832)._
