Skip to content

Commit

Permalink
edit runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
CChahrour committed Oct 16, 2024
1 parent 1b77ea3 commit 97f585f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions seqnado/workflow/rules/align.smk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rule align_paired:
bam=temp("seqnado_output/aligned/raw/{sample}.bam"),
threads: config["bowtie2"]["threads"]
resources:
runtime=lambda wildcards, attempt: f"{4 * 2 ** (attempt - 1)}h",
runtime=lambda wildcards, attempt: f"{6 * 2 ** (attempt - 1)}h",
mem=lambda wildcards, attempt: f"{4 * 2 ** (attempt - 1)}GB",
log:
"seqnado_output/logs/align/{sample}.log",
Expand All @@ -34,7 +34,7 @@ rule align_single:
output:
bam=temp("seqnado_output/aligned/raw/{sample}.bam"),
resources:
runtime=lambda wildcards, attempt: f"{4 * 2 ** (attempt - 1)}h",
runtime=lambda wildcards, attempt: f"{6 * 2 ** (attempt - 1)}h",
mem=lambda wildcards, attempt: f"{4 * 2 ** (attempt - 1)}GB",
threads: config["bowtie2"]["threads"]
log:
Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/rules/peak_call_grouped.smk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rule lanceotron_no_input_consensus:
peaks="seqnado_output/peaks/merged/lanceotron/{group}.bed",
threads: 8
resources:
runtime=lambda wildcards, attempt: f"{4 * 2 ** (attempt - 1)}h",
runtime=lambda wildcards, attempt: f"{6 * 2 ** (attempt - 1)}h",
mem=lambda wildcards, attempt: f"{10 * 2 ** (attempt - 1)}GB",
params:
outdir="seqnado_output/peaks/merged/lanceotron",
Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rule fastqc_raw_paired:
threads: 1
resources:
mem="1.5GB",
runtime=lambda wildcards, attempt: f"{1 * 2 ** (attempt - 1)}h",
runtime=lambda wildcards, attempt: f"{6 * 2 ** (attempt - 1)}h",
log:
"seqnado_output/logs/fastqc_raw/{sample}.log",
shell:
Expand Down
2 changes: 1 addition & 1 deletion seqnado/workflow/rules/variant.smk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if config["call_snps"]:
faidx=config["fasta_index"],
resources:
mem=lambda wildcards, attempt: f"{10 * 2 ** (attempt -1)}GB",
runtime=lambda wildcards, attempt: f"{5 * 2 ** (attempt - 1)}h",
runtime=lambda wildcards, attempt: f"{6 * 2 ** (attempt - 1)}h",
threads: config["bcftools"]["threads"]
log:
"seqnado_output/logs/variant/bcftools/bcftools/{sample}.log",
Expand Down

0 comments on commit 97f585f

Please sign in to comment.