-
Notifications
You must be signed in to change notification settings - Fork 118
TSPS-1127 make all disk sizes dynamic and set bootDiskSizeGb to 0 for all tasks #1925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+58
−28
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
afbe62c
make all disk sizes dynamic and set bootDiskSizeGb to 0 for all tasks
1d71fa6
forgot a "gb" param in size call
e0bf173
update changelog and pipeline versions
4110662
Updated pipeline_versions.txt with all pipeline version information
actions-user 124b3cb
set default sample batch size to 1000
5c6d3fc
update changelog
8603c13
kick tests
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
pipelines/wdl/glimpse/sv_imputation/Glimpse2SVImputation.changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pipelines/wdl/glimpse/sv_imputation/Glimpse2SVImputationBatch.changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ import "../../../../tasks/wdl/Glimpse2SVImputationTasks.wdl" as Glimpse2SVImputa | |
|
|
||
| workflow Glimpse2SVImputationBatch { | ||
| # if this changes, update the batch_pipeline_version value in Glimpse2SVImputation.wdl | ||
| String pipeline_version = "0.0.13" | ||
| String pipeline_version = "0.0.14" | ||
|
|
||
| input { | ||
| File input_preprocessed_joint_vcf | ||
|
|
@@ -167,7 +167,7 @@ task GLIMPSE2Phase { | |
| } | ||
| } | ||
|
|
||
| Int disk_size_gb = ceil(size(input_vcf, "GiB") + size(panel_split_chunk_bin, "GiB") + size(genetic_map, "GiB") + 30) | ||
| Int disk_size_gb = ceil(size(input_vcf, "GiB") + size(panel_split_chunk_bin, "GiB") + size(genetic_map, "GiB") + 40) | ||
|
|
||
| command <<< | ||
| set -euxo pipefail | ||
|
|
@@ -211,7 +211,7 @@ task GLIMPSE2Phase { | |
| cpu_cores: threads, | ||
| mem_gb: 16, | ||
| disk_gb: disk_size_gb, | ||
| boot_disk_gb: 10, | ||
| boot_disk_gb: 0, | ||
| use_ssd: true, | ||
| preemptible_tries: 30, | ||
| max_retries: 3, | ||
|
|
@@ -242,7 +242,7 @@ task GLIMPSE2Ligate { | |
| RuntimeAttr? runtime_attr_override | ||
| } | ||
|
|
||
| Int disk_size_gb = 2 * ceil(size(phased_vcfs, "GB")) + 10 | ||
| Int disk_size_gb = ceil(2.1*size(phased_vcfs, "GB")) + 10 | ||
|
|
||
| command <<< | ||
| set -euox pipefail | ||
|
|
@@ -263,7 +263,7 @@ task GLIMPSE2Ligate { | |
| cpu_cores: 2, | ||
| mem_gb: 18, | ||
| disk_gb: disk_size_gb, | ||
| boot_disk_gb: 10, | ||
| boot_disk_gb: 0, | ||
| use_ssd: true, | ||
| preemptible_tries: 0, | ||
| max_retries: 1, | ||
|
|
@@ -298,7 +298,7 @@ task PopAndMarginalizeCollisions { | |
| RuntimeAttr? runtime_attr_override | ||
| } | ||
|
|
||
| Int disk_gb = 10 + 3 * ceil(size([posteriors_vcf, panel_bubble_split_sites_only_vcf, panel_id_split_vcf_gz], "GB")) | ||
| Int disk_gb = ceil(3*size(posteriors_vcf, "GB")) + ceil(size([panel_bubble_split_sites_only_vcf, panel_id_split_vcf_gz], "GB")) + 10 | ||
|
|
||
| command <<< | ||
| set -euox pipefail | ||
|
|
@@ -319,9 +319,9 @@ task PopAndMarginalizeCollisions { | |
| ######################### | ||
| RuntimeAttr default_attr = object { | ||
| cpu_cores: 2, | ||
| mem_gb: 6, | ||
| mem_gb: 8, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also a fix from the glimpse batch testing |
||
| disk_gb: disk_gb, | ||
| boot_disk_gb: 10, | ||
| boot_disk_gb: 0, | ||
| use_ssd: true, | ||
| preemptible_tries: 2, | ||
| max_retries: 1, | ||
|
|
@@ -349,7 +349,7 @@ task UpdateHeader { | |
|
|
||
| Int mem_gb = 2 | ||
| Int cpu = 1 | ||
| Int disk_size_gb = ceil(2.1 * size(bcf_to_reheader, "GiB") + 10) | ||
| Int disk_size_gb = ceil(2.1 * size(bcf_to_reheader, "GiB")) + 10 | ||
| Int max_retries = 1 | ||
| String docker | ||
| } | ||
|
|
@@ -382,6 +382,7 @@ task UpdateHeader { | |
| runtime { | ||
| docker: docker | ||
| disks: "local-disk " + disk_size_gb + " SSD" | ||
| bootDiskSizeGb: 0 | ||
| memory: mem_gb + " GiB" | ||
| cpu: cpu | ||
| maxRetries: max_retries | ||
|
|
||
5 changes: 5 additions & 0 deletions
5
...l/glimpse/sv_imputation/MultilevelHierarchicallyPasteVcfsStreaming.changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pipelines/wdl/glimpse/sv_imputation/PreprocessPLsGVCF.changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change was to help with the batch size testing, this will need to change when we scale test as well so just tryign to help with that now