Skip to content

Commit 270384a

Browse files
committed
fds
1 parent 8b1da58 commit 270384a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wdl/pipelines/TechAgnostic/VariantCalling/CallStructuralVariants.wdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ workflow Work {
101101
Boolean limit_pbsv_threads = 0 < length(select_all(is_match))
102102

103103
if (limit_pbsv_threads) {
104-
RuntimeAttr overrideMem = object {cpu_cores: if ("chr2"==contig) then 48 else 8, mem_gb: if ("chr2"==contig) then 288 else 48, preemptible_tries: 1}
104+
RuntimeAttr overrideMem = object {cpu_cores: 8, mem_gb: 48, preemptible_tries: 1}
105+
RuntimeAttr overrideMemFuck = object {cpu_cores: 96, mem_gb: 576, preemptible_tries: 0}
105106
call PBSV.Discover as pbsv_discover_chr_limit {
106107
input:
107108
bam = shard_bam,
@@ -114,7 +115,7 @@ workflow Work {
114115
ref_fasta_fai = ref_bundle.fai,
115116
tandem_repeat_bed = ref_bundle.tandem_repeat_bed,
116117
zones = zones,
117-
runtime_attr_override = overrideMem
118+
runtime_attr_override = if ("chr2"==contig) then overrideMemFuck else overrideMem
118119
}
119120
}
120121

0 commit comments

Comments
 (0)