Skip to content

Commit

Permalink
updates for trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Mar 26, 2024
1 parent 413e588 commit f9f7e5f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,28 @@ process {
ext.args = '--quiet'
}

withName: PLOTQUALITYPROFILE {
publishDir = [
[
path: { "${params.outdir}/Plots/" },
mode: params.publish_dir_mode,
pattern: "*.pdf"
],
[
path: { "${params.outdir}/R/Plots/" },
mode: params.publish_dir_mode,
pattern: "*.RDS"
]
]
}

withName: FILTERANDTRIM {
publishDir = [
path: { "${params.outdir}/TrimmedReads/" },
mode: params.publish_dir_mode
]
}

withName: CUSTOM_DUMPSOFTWAREVERSIONS {
publishDir = [
path: { "${params.outdir}/pipeline_info" },
Expand Down
8 changes: 4 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ params {
trim_rev = 0
trunc_for = 0
trunc_rev = 0
maxEE_for = 0
maxEE_rev = 0
maxEE_for = 2
maxEE_rev = 2
truncQ = 2 //default
maxN = 0 //default
max_read_len = null // default, this can be coersed in R using as.numeric
max_read_len = "Inf" // default, this can be coersed in R using as.numeric
min_read_len = 50 // default
// I think we can make these bool 'false' as above with R coersion (either through as.logical or using optparse in a Rscript)
rmPhiX = false // TODO: test using false instead of string
rmPhiX = false

// Error model
qualityBinning = false // false, set to true if using binned qualities (NovaSeq)
Expand Down

0 comments on commit f9f7e5f

Please sign in to comment.