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

Trimming/ derep error #1953

Open
tobaiasbama opened this issue May 11, 2024 · 3 comments
Open

Trimming/ derep error #1953

tobaiasbama opened this issue May 11, 2024 · 3 comments

Comments

@tobaiasbama
Copy link

Hi, am running 16s Hifi demultiplexed analysis, after running the last line of code in this chunk:
meta_ana <- "~/Users/oluwatobifijabi/Downloads/Elijah/Metagenomics Results 2"
path.out <- "Figures/"
path.rds <- "RDS/"
fns1 <- list.files(meta_ana, pattern="fastq.gz", full.names=TRUE)
F27 <- "AGRGTTYGATYMTGGCTCAG"
R1492 <- "RGYTACCTTGTTACGACTT"
rc <- dada2:::rc
theme_set(theme_bw())
nops1 <- file.path(meta_ana, "noprimers", basename(fns1))
prim1 <- removePrimers(fns1, nops1, primer.fwd=F27, primer.rev=dada2:::rc(R1492), orient=TRUE) ; i got this
warning message:
In removePrimers(fns1, nops1, primer.fwd = F27, primer.rev = dada2:::rc(R1492), :
No reads passed the primer detection.

@benjjneb
Copy link
Owner

No reads are passing primer detection. This means that the removePrimers function is not finding any reads that contain both the primers you provided, and thus is not creating an output file, at least for some samples.

Can you say more about what type of data you are working with? Is this amplicon sequencing data? if so, what are the primers being used? What is the sequencing technology? Have you confirmed the primers are on the reads?

@benjjneb benjjneb mentioned this issue May 13, 2024
@tobaiasbama
Copy link
Author

@benjjneb
Copy link
Owner

I would start by confirming that the expected primers are actually on the reads you are working with. The identify primers section of the dada2 tutorial for ITS data shows an example of this: https://benjjneb.github.io/dada2/ITS_workflow.html#identify-primers

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