Skip to content

Commit 69337c8

Browse files
tpshea2claude
andcommitted
Fix Skani: increase disk allocation and delete archive after extraction
35 GB archive + 56 GB extracted simultaneously exhausted the ~92 GB disk (2x multiplier was too tight). Bump to 3x and rm the archive immediately after extraction to free 35 GB before skani search runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c23149c commit 69337c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

wdl/tasks/MAG/Skani.wdl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ task Skani {
3232
RuntimeAttr? runtime_attr_override
3333
}
3434

35-
Int disk_size = 20 + ceil(2.0 * size(skani_db_tgz, "GB")) + ceil(2.0 * size(bins, "GB"))
35+
Int disk_size = 20 + ceil(3.0 * size(skani_db_tgz, "GB")) + ceil(2.0 * size(bins, "GB"))
3636

3737
command <<<
3838
set -euxo pipefail
@@ -46,6 +46,8 @@ task Skani {
4646
else
4747
tar -xzf ~{skani_db_tgz} -C skani_db
4848
fi
49+
# Free the 35 GB archive — no longer needed once extracted
50+
rm -f ~{skani_db_tgz}
4951
5052
# Stage bins to a local directory so we can glob them
5153
mkdir -p bins_dir

0 commit comments

Comments
 (0)