Skip to content

Commit

Permalink
fix: add parameters setting to change MASH sketch size
Browse files Browse the repository at this point in the history
  • Loading branch information
matinnuhamunada committed May 6, 2024
1 parent df1d541 commit dc3aae0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/rules/mash.smk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ rule mash:
conda:
"../envs/mash.yaml"
threads: 32
params:
sketch_size=1000,
log:
"logs/mash/mash-triangle-{name}.log",
shell:
Expand All @@ -15,7 +17,7 @@ rule mash:
do
echo $fna >> {output.mash_infile}
done
(mash triangle -p {threads} -l {output.mash_infile} >> {output.triangle_dist}) 2>> {log}
(mash triangle -s {params.sketch_size} -p {threads} -l {output.mash_infile} >> {output.triangle_dist}) 2>> {log}
"""


Expand Down

0 comments on commit dc3aae0

Please sign in to comment.