Skip to content

Commit

Permalink
additional fix issue with large pacbio library dereplication; this is…
Browse files Browse the repository at this point in the history
… rare so we may want to make this a setable option
  • Loading branch information
cjfields committed Feb 8, 2024
1 parent ecdf2f6 commit 90cdee8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/DadaPooled.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ if(pool != "pseudo"){
pool <- as.logical(pool)
}

dereps <- derepFastq(filts, n=100000, verbose=TRUE)

cat(paste0("Denoising ${readmode} reads: pool:", pool, "\\n"))
dds <- dada(filts, err=err, multithread=${task.cpus}, pool=pool)
dds <- dada(dereps, err=err, multithread=${task.cpus}, pool=pool)

saveRDS(dds, "all.dd.${readmode}.RDS")

0 comments on commit 90cdee8

Please sign in to comment.