Skip to content

Commit

Permalink
remove comments from older trimming step
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Feb 22, 2024
1 parent 61d0fa1 commit 048772d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions templates/PacBioFilterAndTrim.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ suppressPackageStartupMessages(library(dada2))
suppressPackageStartupMessages(library(ShortRead))
suppressPackageStartupMessages(library(Biostrings))

# out1 <- removePrimers("${reads}",
# paste0("${meta.id}",".noprimer.fastq.gz"),
# primer.fwd="${params.fwdprimer}",
# primer.rev=dada2:::rc("${params.revprimer}"),
# orient=TRUE,
# compress=TRUE,
# verbose=TRUE)

out2 <- filterAndTrim(fwd = "${reads}",
filt = "${meta.id}.R1.filtered.fastq.gz",
maxEE = ${params.maxEEFor},
Expand All @@ -22,5 +14,4 @@ out2 <- filterAndTrim(fwd = "${reads}",
multithread = ${task.cpus})

#Change input read counts to actual raw read counts
# out2[1] <- out1[1]
write.csv(out2, paste0("${meta.id}", ".trimmed.txt"))

0 comments on commit 048772d

Please sign in to comment.