How wustl-oncology/analysis-wdls works
Project Type & Purpose
– This is a repository of WDL (Workflow Description Language) pipelines for genomic analyses (e.g., somatic/germline variant calling, RNA‐Seq, epigenomics, immunogenomics).
– Each pipeline (e.g., immuno.wdl) orchestrates a set of tool containers via Cromwell (or Terra) to process sequencing data end-to-end.
High-Level File Structure
• definitions/
– Top-level WDL workflow files (e.g., alignment_exome.wdl, immuno.wdl, rnaseq.wdl)
– subworkflows/ (reusable logical blocks)
– tools/ (individual task definitions, each invoking a Docker container)
– types.wdl (shared type definitions)
• example_data/ (YAML/JSON inputs for testing each workflow and task)
• . github/workflows/verify.yaml (CI to lint & validate WDLs)
• README.md (project overview, execution guidance)
Additional Insights from README
– Designed for Cromwell/Terra on GCP (or other WDL engines)
– Each task uses a dedicated Docker image for portability
– Input “bundles” of reference genomes & annotations are hosted externally
Main Components
a. Workflow Engine (Cromwell/Terra)
b. WDL Workflows (e.g., immuno.wdl)
c. Subworkflows & Task Definitions (from definitions/subworkflows and definitions/tools)
d. Docker Containers (one per tool)
e. Input Data Bundles (reference FASTA, annotations)
f. Execution Environment (GCP buckets, local HPC, or Terra workspace)
g. Outputs (VCFs, QC reports, neoantigen tables)
Component Relationships & Data Flow
1. User triggers immuno.wdl (via Cromwell CLI or Terra UI)
2. Cromwell parses immuno.wdl → instantiates tasks and subworkflows
3. Each task calls a Docker image, mounts inputs (FASTQs, reference bundles)
4. Tasks run in sequence or scatter/gather as defined
5. Intermediate results passed between tasks (BAMs → VCFs → immunogenicity tables)
6. Final outputs written to cloud storage or local filesystem
7. CI pipeline verifies WDL syntax & example inputs
Architectural Patterns & Principles
– Workflow orchestration: Declarative DAG via WDL
– Modularity: Reusable subworkflows & tool definitions
– Containerization: Tool isolation & versioning via Docker
– Cloud‐native: Storage and execution on GCP/Terra, but portable across platforms
Technologies & Frameworks
• WDL (Workflows and Tasks)
• Cromwell or Terra (Execution engines)
• Docker (Container runtime)
• GitHub Actions (CI lint/validation)
• Google Cloud Storage or HPC cluster (Data storage & compute)