-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into aa-slidetag-one
- Loading branch information
Showing
21 changed files
with
888 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Test ImputationBeagle | ||
|
||
# Controls when the workflow will run | ||
on: | ||
pull_request: | ||
branches: [ "develop", "staging", "master" ] | ||
# Only run if files in these paths changed: | ||
#################################### | ||
# SET PIPELINE SPECIFIC PATHS HERE # | ||
#################################### | ||
paths: | ||
- 'pipelines/broad/arrays/imputation_beagle/**' | ||
- 'structs/imputation/ImputationBeagleStructs.wdl' | ||
- 'tasks/broad/ImputationTasks.wdl' | ||
- 'tasks/broad/ImputationBeagleTasks.wdl' | ||
- 'verification/VerifyImputationBeagle.wdl' | ||
- 'verification/test-wdls/TestImputationBeagle.wdl' | ||
- 'tasks/broad/Utilities.wdl' | ||
- 'tasks/broad/TerraCopyFilesFromCloudToCloud.wdl' | ||
- '.github/workflows/test_imputation_beagle.yml' | ||
- '.github/workflows/warp_test_workflow.yml' | ||
|
||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
inputs: | ||
useCallCache: | ||
description: 'Use call cache (default: true)' | ||
required: false | ||
default: "true" | ||
updateTruth: | ||
description: 'Update truth files (default: false)' | ||
required: false | ||
default: "false" | ||
testType: | ||
description: 'Specify the type of test (Plumbing or Scientific)' | ||
required: false | ||
type: choice | ||
options: | ||
- Plumbing | ||
- Scientific | ||
truthBranch: | ||
description: 'Specify the branch for truth files (default: master)' | ||
required: false | ||
default: "master" | ||
|
||
env: | ||
# pipeline configuration | ||
PIPELINE_NAME: TestImputationBeagle | ||
DOCKSTORE_PIPELINE_NAME: ImputationBeagle | ||
PIPELINE_DIR: "pipelines/broad/arrays/imputation_beagle" | ||
|
||
# workspace configuration | ||
TESTING_WORKSPACE: WARP Tests | ||
WORKSPACE_NAMESPACE: warp-pipelines | ||
|
||
# service account configuration | ||
SA_JSON_B64: ${{ secrets.PDT_TESTER_SA_B64 }} | ||
USER: pdt-tester@warp-pipeline-dev.iam.gserviceaccount.com | ||
|
||
|
||
jobs: | ||
TestImputationBeagle: | ||
uses: ./.github/workflows/warp_test_workflow.yml | ||
with: | ||
pipeline_name: TestImputationBeagle | ||
dockstore_pipeline_name: ImputationBeagle | ||
pipeline_dir: pipelines/broad/arrays/imputation_beagle | ||
use_call_cache: ${{ github.event.inputs.useCallCache || 'true' }} | ||
update_truth: ${{ github.event.inputs.updateTruth || 'false' }} | ||
test_type: ${{ github.event.inputs.testType }} | ||
truth_branch: ${{ github.event.inputs.truthBranch || 'master' }} | ||
secrets: | ||
PDT_TESTER_SA_B64: ${{ secrets.PDT_TESTER_SA_B64 }} | ||
DOCKSTORE_TOKEN: ${{ secrets.DOCKSTORE_TOKEN }} |
This file contains 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 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 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
4 changes: 4 additions & 0 deletions
4
pipelines/broad/arrays/imputation_beagle/ArrayImputationQuotaConsumed.changelog.md
This file contains 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# 1.0.0 | ||
2025-02-24 (Date of Last Commit) | ||
|
||
* Initial release of pipeline to calculate the number of samples, i.e. quota used by an imputation service that uses ImputationBeagle.wdl. |
29 changes: 29 additions & 0 deletions
29
pipelines/broad/arrays/imputation_beagle/ArrayImputationQuotaConsumed.wdl
This file contains 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version 1.0 | ||
|
||
import "../../../../tasks/broad/ImputationTasks.wdl" as tasks | ||
|
||
workflow QuotaConsumed { | ||
String pipeline_version = "1.0.0" | ||
|
||
input { | ||
Int chunkLength = 25000000 | ||
Int chunkOverlaps = 5000000 | ||
|
||
File multi_sample_vcf | ||
|
||
File ref_dict | ||
Array[String] contigs | ||
String reference_panel_path_prefix | ||
String genetic_maps_path | ||
String output_basename | ||
} | ||
|
||
call tasks.CountSamples { | ||
input: | ||
vcf = multi_sample_vcf | ||
} | ||
|
||
output { | ||
Int quota_consumed = CountSamples.nSamples | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
pipelines/broad/arrays/imputation_beagle/ImputationBeagle.changelog.md
This file contains 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 1.0.0 | ||
2025-02-26 (Date of Last Commit) | ||
|
||
* Initial public release of the ImputationBeagle pipeline. | ||
* The ImputationBeagle pipeline imputes missing genotypes from a multi-sample VCF using a large genomic reference panel. It is based on the Michigan Imputation Server pipeline but uses the Beagle imputation tool instead of minimac. Overall, the pipeline filters, phases, and performs imputation on a multi-sample VCF. It outputs the imputed VCF. |
Oops, something went wrong.