Skip to content

Commit

Permalink
define mem_mb
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Aug 4, 2023
1 parent 794efef commit 6131e04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/rules/cobinning.smk
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ rule sort_bam:
prefix="Intermediate/cobinning/{bingroup}/bams/tmp.{sample}",
threads: 2
resources:
mem=config["simplejob_mem"],
mem_mb=config["simplejob_mem"] *1000,
time=int(config["runtime"]["simplejob"]),
log:
"logs/cobinning/{bingroup}/mapping/sortbam/{sample}.log",
Expand All @@ -178,7 +178,7 @@ rule summarize_bam_contig_depths:
benchmark:
"logs/benchmarks/cobinning/{bingroup}/summarize_bam_contig_depths.tsv"
resources:
mem=config["mem"],
mem_mb=config["mem"]*1000,
shell:
"jgi_summarize_bam_contig_depths "
" --outputDepth {output} "
Expand Down Expand Up @@ -213,7 +213,7 @@ rule run_vamb:
"../envs/vamb.yaml"
threads: config["threads"]
resources:
mem=config["mem"],
mem_mb=config["mem"]*1000,
time=config["runtime"]["long"],
log:
"logs/cobinning/run_vamb/{bingroup}.log",
Expand Down

0 comments on commit 6131e04

Please sign in to comment.