Skip to content

Commit

Permalink
Adjust minimum overlap parameters so that also reads under 30 bp leng…
Browse files Browse the repository at this point in the history
…th are merged
  • Loading branch information
verku committed Nov 11, 2024
1 parent 888ccf7 commit 7cc5d55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflow/rules/1.1_fastq_processing.smk
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ rule fastp_historical:
"docker://quay.io/biocontainers/fastp:0.22.0--h2e03b76_0"
shell:
"""
fastp -i {input.R1} -I {input.R2} -p -c --merge --merged_out={output.merged} -o {output.R1_un} -O {output.R2_un} \
-h {output.html} -j {output.json} -R '{params.report}' -w {threads} -l {params.readlength} 2> {log}
fastp -i {input.R1} -I {input.R2} -p -c --merge --overlap_len_require 15 --overlap_diff_limit 1 \
--merged_out={output.merged} -o {output.R1_un} -O {output.R2_un} -h {output.html} -j {output.json} \
-R '{params.report}' -w {threads} -l {params.readlength} 2> {log}
"""


Expand Down

0 comments on commit 7cc5d55

Please sign in to comment.