Skip to content

Commit

Permalink
refactor: move fastp variables to config CDCgov#150
Browse files Browse the repository at this point in the history
  • Loading branch information
slsevilla committed Mar 31, 2024
1 parent f33a04a commit e9abaa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ params {
// Params for filtering
minlength = 500
phred = 33
save_trimmed_fail = true
save_merged = false

// Additional input parameters for -entry SRA and CDC_SRA
input_sra = null
Expand Down
2 changes: 1 addition & 1 deletion workflows/phoenix.nf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ workflow PHOENIX_EXTERNAL {

// Trim and remove low quality reads
FASTP_TRIMD (
BBDUK.out.reads, true, false
BBDUK.out.reads, params.save_trimmed_fail, params.save_merged
)
ch_versions = ch_versions.mix(FASTP_TRIMD.out.versions)

Expand Down

0 comments on commit e9abaa2

Please sign in to comment.