File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,26 @@ workflow Run {
5959
6060 if (shard_id != "alts" ) {
6161 if (!use_gpu ) {
62+ ### shards on t2t that are known to need more memory
6263 Boolean is_t2t_chrX = length (how_to_shard_wg_for_calling ) < 20 && shard_id == "18_X"
6364 Boolean is_t2t_shard8 = length (how_to_shard_wg_for_calling ) < 20 && shard_id == "9_15"
65+
66+ Boolean is_t2t_pay_toll_shard = is_t2t_chrX || is_t2t_shard8
67+
68+ ### shards on GRCh38 that are known to need more memory
6469 Boolean is_38_chr1 = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "1-p"
6570 Boolean is_38_shard3 = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "11-q_17-q"
66- Boolean is_38_1q_17p = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "1-q_17-p"
6771
68- Boolean pay_toll = is_t2t_chrX || is_38_chr1 || is_t2t_shard8 || is_38_shard3 || is_38_1q_17p # true #
72+ Boolean is_38_10 = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "10"
73+ Boolean is_38_13_16p = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "13_16-p"
74+ Boolean is_38_21_22_y = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "21_22_y"
75+ Boolean is_38_3q_20q = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "3-q_20-q"
76+ Boolean is_38_4p_5p_11p = length (how_to_shard_wg_for_calling ) > 20 && shard_id == "4-p_5-p_11-p"
77+
78+ Boolean is_38_pay_toll_shard = is_38_chr1 || is_38_shard3 || is_38_10 || is_38_13_16p || is_38_21_22_y || is_38_3q_20q || is_38_4p_5p_11p
79+
80+
81+ Boolean pay_toll = is_t2t_pay_toll_shard || is_38_pay_toll_shard # true #
6982 Int use_this_memory = if (pay_toll ) then 6 *dv_threads else dv_memory
7083 call DV as DeepV {
7184 input :
You can’t perform that action at this time.
0 commit comments