Daniel Straub
02/02/2026, 2:42 PMDaniel Lundin
02/02/2026, 7:52 PMDaniel Straub
02/03/2026, 7:20 AMDaniel Lundin
02/03/2026, 7:23 AMquant_reading field in the input sheet.Daniel Lundin
02/03/2026, 7:29 AMDaniel Straub
02/03/2026, 7:54 AMI'm confused by Vsearch -- is that an input to Decontam?So after the ASVs are produced by DADA2, the pipelines offers various tools to reduce ASVs before taxonomic assignment. The first tool is VSEARCH for clustering ASVs to OTUs. In my PR, the next tool is decontam, so yes, the input is from VSEARCH or (DADA2 if OTU clustering is skipped). But generally, as a tool, decontam can take any abundance table and is not related to VSEARCH in any way.
I could imagine that Decontam would be stronger if artifacts were already removed so the program only sees true target sequences. Moreover, if a user were to apply Decontam themselves, they would likely do so after any filtering by the pipeline.So I could move Decontam as last in the sequence, instead of first. You assume that this increases sensitivity, or do you know that? I tend to agree, but I dont know.
Also, assigning taxonomy to all ASVs, not only those that pass Decontam would make sense to me.Currently in the PR, whenever the required column(s) are provided in the samplesheet, Decontam is run but nothing is filtered. That means, all ASVs are going into taxonomic classification. Decontam annotation is just treated as an information, not more. However, when -
-decontam decontaminate or --decontam notcontaminant is used, then the correspoding Decontam results are applied to remove ASVs. My intention here was to be able to skip contamination and reduce runtime with taxonomic assignment, if desired. And to subsequently use QIIME2 visualisations on filtered ASVs.
.Daniel Straub
02/03/2026, 8:16 AMYou might want to apply other filters before or after decontam. But fundamentally decontam is operating on a per-feature basis, so it isn't really affected by filtering of features.in https://github.com/benjjneb/decontam/issues/91, so it seems it doesnt matter at what step Decontam is applied!
Daniel Lundin
02/03/2026, 8:29 AMDaniel Straub
02/03/2026, 8:34 AMDaniel Straub
02/03/2026, 10:29 AMDaniel Lundin
02/03/2026, 10:40 AMDaniel Straub
02/03/2026, 12:01 PMDaniel Straub
02/04/2026, 9:19 AM