Skip to content

Commit

Permalink
Update fastp.nf
Browse files Browse the repository at this point in the history
small fix on aditional param loading
  • Loading branch information
fmalmeida committed Mar 2, 2022
1 parent c00a46d commit ea0b822
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/fastp.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ process FASTP {
reads_param = "-i ${sreads} -o ${id}.preprocessed.fq.gz"
}
correction_param = (params.fastp_correct_pairs) ? "--correction" : ""
additional_param = (params.fastp_additional_parameters) ? "${params.fastp_additional_parameters}" : ""
"""
# run fastp
fastp \\
${params.fastp_additional_parameters} \\
$additional_param \\
--thread ${task.cpus} \\
--average_qual ${params.fastp_average_quality} \\
--json ${id}_fastp.json \\
Expand Down

0 comments on commit ea0b822

Please sign in to comment.