-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbeb2e3
commit 5e07a3b
Showing
1 changed file
with
49 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
version 1.1 | ||
|
||
import "./methylation-cohort.wdl" as cohort | ||
import "./methylation-preprocess.wdl" as preprocess | ||
|
||
workflow methylation { | ||
meta { | ||
description: "Run the methylation pipeline on a cohort of samples" | ||
outputs: { | ||
beta_swan_norm_unfiltered_genomic: "Normalized beta values for all probes that map to the genome", | ||
combined_beta: "Matrix (in CSV format) containing beta values for every (common) probe on the array as rows and all of the input samples as columns.", | ||
filtered_beta: "Matrix (in CSV format) containing only beta values for the retained probes (top N highest standard deviation) for all provided samples.", | ||
filtered_probeset: "List of probe names that were retained after filtering to the top N highest standard deviation", | ||
umap_embedding: "UMAP embedding for all samples", | ||
umap_plot: "UMAP plot for all samples", | ||
} | ||
} | ||
|
||
parameter_meta { | ||
green_idats: "Array of raw green IDAT files from the Illumina methylation array" | ||
red_idats: "Array of raw red IDAT files from the Illumina methylation array" | ||
} | ||
|
||
input { | ||
Array[File] green_idats | ||
Array[File] red_idats | ||
} | ||
|
||
scatter (pair in zip(green_idats, red_idats)) { | ||
call preprocess.methylation_preprocess { input: | ||
idats = pair | ||
} | ||
} | ||
|
||
call cohort.methylation_cohort { input: | ||
unfiltered_normalized_beta = | ||
methylation_preprocess.beta_swan_norm_unfiltered_genomic, | ||
} | ||
|
||
output { | ||
Array[File] beta_swan_norm_unfiltered_genomic = | ||
methylation_preprocess.beta_swan_norm_unfiltered_genomic | ||
File combined_beta = methylation_cohort.combined_beta | ||
File filtered_beta = methylation_cohort.filtered_beta | ||
File filtered_probeset = methylation_cohort.filtered_probeset | ||
File umap_embedding = methylation_cohort.umap_embedding | ||
File umap_plot = methylation_cohort.umap_plot | ||
} | ||
} |