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

Should I trim the primers for dada2 workflow? #2060

Open
danielsangarci opened this issue Nov 20, 2024 · 1 comment
Open

Should I trim the primers for dada2 workflow? #2060

danielsangarci opened this issue Nov 20, 2024 · 1 comment

Comments

@danielsangarci
Copy link

Hi @benjjneb

I am using dada2 to perform my 16S V3-V4 bioinformatics. I read dada2 require trimming the primers for a correct workflow, but I was said not trimming the primers is better because you have extra information in the sequences. Is it actually correct if I leave the primers in my sequences? If not I will remove them using Cutadapt.

Thank you so much in advance,
Dani

@benjjneb
Copy link
Owner

Yes you should trim primers if they are present on the sequencing reads. They are not extra information -- the primer sequences are put in by the experimenter, they do not come from the sample.

If, as is usual, primers are at the start of your reads and a fixed length, filterAndTrim(..., trimLeft=c(FWD_PRIMER_LEN, REV_PRIMER_LEN)) is the recommended way to remove them. cutadapt is a fine alternative though.

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