Skip to content

Commit

Permalink
Merge pull request #57 from friendsofstrandseq/weber8thomas/bug-slurm…
Browse files Browse the repository at this point in the history
…-time

fix(slurm): Fix wrongly formated job time for slurm
  • Loading branch information
weber8thomas authored Jul 1, 2024
2 parents f5463e8 + 79d9760 commit f754ea0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions workflow/rules/rules.smk
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if config["paired_end"] is True:
idx_prefix=lambda wildcards, input: input.ref_index[0].rsplit(".", 1)[0],
resources:
mem_mb=get_mem_mb_heavy,
time="1:000:",
time="01:00:00",
conda:
"../envs/ashleys_base.yaml"
shell:
Expand Down Expand Up @@ -137,7 +137,7 @@ else:
idx_prefix=lambda wildcards, input: input.ref_index[0].rsplit(".", 1)[0],
resources:
mem_mb=get_mem_mb_heavy,
time="1:000:",
time="01:00:00",
conda:
"../envs/ashleys_base.yaml"
shell:
Expand All @@ -156,7 +156,7 @@ rule samtools_sort_bam:
"{folder}/{sample}/log/samtools_sort/{cell}.log",
resources:
mem_mb=get_mem_mb,
time="1:000:",
time="01:00:00",
conda:
"../envs/ashleys_base.yaml"
shell:
Expand All @@ -174,7 +174,7 @@ rule mark_duplicates:
"../envs/ashleys_base.yaml"
resources:
mem_mb=get_mem_mb_heavy,
time="1:000:",
time="01:00:00",
shell:
"sambamba markdup {input.bam} {output} 2>&1 > {log}"

Expand Down Expand Up @@ -243,7 +243,7 @@ if config["bypass_ashleys"] is False:
),
resources:
mem_mb=get_mem_mb_heavy,
time="1:000:",
time="01:00:00",
shell:
"ashleys -j {threads} features -f {params.folder} -w {params.windows} -o {output} --recursive_collect -e {params.extension}"

Expand All @@ -261,7 +261,7 @@ if config["bypass_ashleys"] is False:
model_stringent="./workflow/ashleys_models/svc_stringent.pkl",
resources:
mem_mb=get_mem_mb,
time="1:000:",
time="01:00:00",
shell:
"ashleys predict -p {input.folder} -o {output} -m {params.model_default}"

Expand Down

0 comments on commit f754ea0

Please sign in to comment.