Skip to content

Commit

Permalink
PIPE-110-localizer-memory-parameter (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-whaling authored Sep 26, 2023
1 parent bd2ed12 commit 33d33af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hic.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,7 @@ task localizer {
Int quality = 0
Int disk_size_gb = 100
Int num_cpus = 24
Int ram_gb = 64
RuntimeEnvironment runtime_environment
}
Expand Down Expand Up @@ -1137,7 +1138,7 @@ task localizer {
runtime {
cpu : "~{num_cpus}"
disks: "local-disk ~{disk_size_gb} HDD"
memory: "64 GB"
memory: "~{ram_gb} GB"
docker: runtime_environment.docker
singularity: runtime_environment.singularity
}
Expand Down
4 changes: 4 additions & 0 deletions megamap.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ workflow megamap {
Int? hiccups_2_ram_gb

Int? localizer_disk_size_gb
Int? localizer_num_cpus
Int? localizer_ram_gb

Int? merge_bigwigs_disk_size_gb
Int? merge_bigwigs_num_cpus
Expand Down Expand Up @@ -158,6 +160,8 @@ workflow megamap {
localizer_window = 10,
quality = quality,
disk_size_gb = localizer_disk_size_gb,
num_cpus = localizer_num_cpus,
ram_gb = localizer_ram_gb,
runtime_environment = runtime_environment,
}
}
Expand Down

0 comments on commit 33d33af

Please sign in to comment.