Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filterAndTrim with ITS data #2078

Open
mya-darsan opened this issue Jan 23, 2025 · 1 comment
Open

filterAndTrim with ITS data #2078

mya-darsan opened this issue Jan 23, 2025 · 1 comment

Comments

@mya-darsan
Copy link

I work with ITS data and I am running into some quality issues.

My usual filterAndTrim parameters are as follows: filterAndTrim(fnFs, filtFs, fnRs, filtRs, maxN = 0, maxEE = c(2, 2), truncQ = 2, minLen = 50, rm.phix = TRUE, compress = TRUE, multithread = TRUE)

This is an image of the forward reads pre and post trim (which I think is fine):
Image

This is an image of the reverse reads pre and post trim (which i think is not great especially with that weird bit around 200):
Image

Any ideas on how to improve the reverse reads without using truncLen (not advised for ITS)? I tried having a stricter expected error and higher quality threshold for reverses and it still didn't address that big dip around 200.

(Additional context: I receive the files demultiplexed and without primers so I do not use cutadapt prior to this)

@benjjneb
Copy link
Owner

On the quality profile I wouldn't worry about it too much. DADA2 models error rates as a function of quality score, so it will handle the dip in quality in the reverse reads fairly well.

Additional context: I receive the files demultiplexed and without primers so I do not use cutadapt prior to this

The issue with ITS is that short ITS regions lead to reads that read-through to the opposite primer: forward reads that read through to the reverse primer, and reverse reads that read-through to the forward primer. I recommend checking if this might be an issue in your data. Our ITS tutorial describes one way to do this: https://benjjneb.github.io/dada2/ITS_workflow.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants