WDL workflow for short-read alignment in capture-based panel sequencing.
WDL workflow for short-read alignment in capture-based panel sequencing. It is designed to be modular, reproducible, and optimized for use in clinical settings.
- WDL (Workflow Description Language)
- Cromwell (Workflow Execution Engine)
- Apptainer (for containerized tools)
This workflow is designed to be used on HPC cluster with apptainer images. You could install images from this repo : https://github.com/MobiDL/apptainer-recipes
- FastQ files (paired-end)
- Reference genome (e.g., GRCh38)
- Target regions (BED file for panel definition)
git clone --recursive https://github.com/MobiDL/alignmentSR.git
cd alignmentSRBefore running the workflow, adapt the backend configuration to match your HPC environment.
Common parameters to review include:
queuetmp_dirroot_dirtemporary-directoryroot
These parameters are usually cluster-specific and may need to be adjusted depending on your scheduler and storage architecture.
A minimal test dataset is available in the tests directory.
Update the paths in tests/test.json, then run:
java cromwell run alignmentSR.wdl \
-Dconfig.file=backends.conf/slurm_apptainer.conf \
-i tests/test.jsonEdit the inputs.json file to specify your input files and parameters:
{
"alignmentSR.sample": "SampleName",
"alignmentSR.fasta": "/path/to/my/genomes/GRCh38/GRCh38.fa",
"alignmentSR.fastq_R1": "/path/to/my/fastq_R1.fastq.gz",
"alignmentSR.fastq_R2": "/path/to/my/fastq_R2.fastq.gz",
"alignmentSR.knownSites": [
"/path/to/my/knownsites_1.vcf.gz",
"/path/to/my/knownsites_2.vcf.gz"
],
"alignmentSR.bed": "/path/to/my/intervals.bed",
"alignmentSR.outputPath": "/path/to/my/output"
}java cromwell run alignmentSR.wdl -Dconfig.file=backends.conf/slurm_apptainer.conf -i inputs.jsonalignmentSR/
├── backends.conf/ # Backends sub-repository
├── modules/ # Modules sub-repository
├── tests/ # tests directory containing minimal dataset
├── alignmentSR.wdl # Main workflow file
├── inputs.json # Example input configuration
└── README.md # This file
- BAM files: Aligned and processed reads.
- QC Reports: FastQC, MultiQC, and alignment metrics.
- Logs: Execution logs for debugging.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
For any questions or issues, please open an issue in this repository or contact us.