Skip to content

Commit

Permalink
sampling rule threads fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 25, 2024
1 parent 57be315 commit 259f628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions workflow/rules/mashtree.smk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ rule sequence_select:
THRES=config["UPPER_CASE"]
benchmark:
config["OUT_DIR"]+"/benchmarks/{sample}.sample.txt"
threads: lambda wildcards: int(config['num_threads'])
output:
config["OUT_DIR"]+"/samples/{sample}_temp.fa"
shell:
Expand Down
1 change: 1 addition & 0 deletions workflow/rules/sampling.smk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ rule sequence_select:
THRES=config["UPPER_CASE"]
benchmark:
config["OUT_DIR"]+"/benchmarks/{sample}.sample.txt"
threads: lambda wildcards: int(config['num_threads'])
output:
config["OUT_DIR"]+"/samples/{sample}_temp.fa"
shell:
Expand Down

0 comments on commit 259f628

Please sign in to comment.