All notable changes to the nl-wgs_wf pipeline will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Performance optimizations for large-scale datasets
- Additional variant calling tools integration
- Enhanced reporting and visualization features
- Support for additional cloud platforms
Release Date: January 29, 2025
Status: Production Ready
Breaking Changes: None
- HapCUT2 Phasing Module: Complete haplotype phasing workflow for heterozygous variants
HAPCUT2_EXTRACTHAIRS: Extract haplotype-informative reads from BAM filesHAPCUT2_HAPCUT2: Assemble haplotype blocks and phase variants
- BCFtools Module: VCF filtering and preprocessing for phasing
BCFTOOLS_VIEW_DIPLOID: Filter VCF for diploid genotypes (0/0, 0/1, 1/1)
- HAPCUT2_PHASING Subworkflow: Orchestrates the complete phasing pipeline
- Integrates BCFtools filtering, read extraction, and haplotype phasing
- Processes DeepVariant VCF output for phase determination
- Subworkflow Architecture: Modular pipeline organization
FASTQ_PROCESSING: Handle FASTQ input with FASTP, alignment, and sortingBAM_PROCESSING: Handle BAM input with sortingCRAM_PROCESSING: Handle CRAM input with conversion to BAMCOMMON_ANALYSIS: Shared downstream analysis for all input types
- Docker Support: New container parameters
bcftools_docker: BCFtools container for VCF operationshapcut2_docker: HapCUT2 container for phasing
- Documentation: Comprehensive updates
- Updated architecture mermaid diagram showing subworkflow structure
- Added HapCUT2 and BCFtools process documentation
- Added phasing output files to output structure documentation
- Added resource requirements for new processes
- Added citations for HapCUT2 and BCFtools
- Pipeline Architecture: Reorganized into input-specific subworkflows
- Main workflow now routes to FASTQ, BAM, or CRAM processing based on input type
- All paths converge to COMMON_ANALYSIS for downstream processing
- Output Structure: SNV directory now includes phasing outputs
*.diploid.vcf: Filtered diploid variants*.fragment_file: Haplotype-informative read fragments*.haplotype_output_file*: Phased haplotype blocks
-
BCFTOOLS_VIEW_DIPLOID:
- Resources: 16GB memory, 8 CPUs, 2h runtime
- Filters VCF using bcftools view with genotype criteria
- Publishes to SNV directory
-
HAPCUT2_EXTRACTHAIRS:
- Resources: 16GB memory, 8 CPUs, 2h runtime
- Extracts reads using extractHAIRS tool
- Requires BAM, VCF, and reference genome
-
HAPCUT2_HAPCUT2:
- Resources: 16GB memory, 8 CPUs, 2h runtime
- Performs phasing using HAPCUT2 algorithm
- Generates haplotype block output
- FASTQ_PROCESSING: FASTP → BWAMEM2_MEM → SAMTOOLS_SORT
- BAM_PROCESSING: SAMTOOLS_SORT (re-sort for consistency)
- CRAM_PROCESSING: SAMTOOLS_CRAM2BAM
- HAPCUT2_PHASING: BCFTOOLS_VIEW_DIPLOID → HAPCUT2_EXTRACTHAIRS → HAPCUT2_HAPCUT2
- COMMON_ANALYSIS: All downstream QC, variant calling, and analysis
- Added
bcftools_dockerandhapcut2_dockerparameters tonextflow.config - Added process configurations with labels
bcftools_view_diploidandhapcut2 - Added resource allocations for new processes
- Updated
parameters.jsonwith new Docker image parameters
- HapCUT2 phasing runs after DeepVariant in COMMON_ANALYSIS subworkflow
- Takes indexed BAM and DeepVariant VCF as inputs
- Integrates seamlessly with existing variant calling pipeline
- Outputs publish to SNV directory alongside DeepVariant results
Release Date: January 27, 2025
Commit: 7280316
Status: Production Ready
Breaking Changes: Output directory structure simplified (removed genome subdirectories)
samtools_dockerparameter for dedicated SAMtools container support- Proper SAMtools container configuration for BAM to CRAM conversion
- Increased Manta resources from 16GB/8CPUs to 32GB/16CPUs for better performance
- Simplified output directory structure by removing
hg38/subdirectories - Updated AutoMap parameter ordering for proper execution
- AutoMap parameter ordering issue that prevented proper execution
- SAMtools container configuration (was incorrectly using BWA container)
- Output directory structure consistency across all processes
- MANTA_GERMLINE: Increased memory allocation to 32GB and CPU allocation to 16
- SAMTOOLS_BAM2CRAM: Now uses dedicated
samtools_dockercontainer instead ofbwa_docker - AUTOMAP: Fixed parameter order in AutoMap_v1.3.sh call
- Added
samtools_dockerparameter tonextflow.config - Updated all
publishDir.pathconfigurations to remove genome-specific subdirectories - Enhanced resource management for improved pipeline stability
Release Date: January 27, 2025
Commit: a19016a
Status: Production Ready
Breaking Changes: None from 0.1.0 (complete rewrite)
- Initial pipeline development
- BWA-MEM2 alignment module
- Samtools sorting and indexing modules
- Picard MarkDuplicates module
- Manta structural variant calling module
- CNVpytor copy number variant analysis module
- ExpansionHunter repeat expansion detection module
- ExpansionHunterDenovo de novo repeat detection module
- DeepVariant SNV/indel calling module
- AutoMap variant annotation module
- BAM to CRAM conversion module
- FASTP quality control and adapter trimming module
- MultiQC quality control report aggregation
- Qualimap BAM quality control
- Picard CollectMultipleMetrics and CollectWgsMetrics
- S3 support for input/output files
- Docker container support for all tools
- Comprehensive error handling and validation
- Memory optimization for large datasets
- Mermaid architecture diagram in README
- Complete documentation and usage examples
- Updated BWA-MEM2 process to use optimized memory allocation
- Improved samtools sort command with memory limits
- Enhanced input/output channel handling for better data flow
- Updated process configurations for better resource management
- Refined error messages and validation checks
- Updated workflow architecture to include quality control and assessment steps
- Improved output directory structure with dedicated QC folder
- Syntax errors in all module files
- Input/output cardinality mismatches between processes
- Undefined variable issues in CNVPYTOR process
- Missing parameter definitions in nextflow.config
- Tab character handling in BWA-MEM2 read group strings
- Memory allocation issues in samtools sort
- File path handling for S3 and local files
- Process output file naming consistency
- FASTP module output paths and workflow integration
- Missing expansionhunterdenovo Docker parameter
- QUALIMAP_BAMQC output directory capture and MULTIQC integration
- BWA-MEM2 FASTQ input handling and pipeline integration
- Nextflow configuration parsing errors (unquoted strings)
- publishDir configuration syntax (removed closures)
- MULTIQC input channel structure and metadata handling
- BWAMEM2_MEM: Added read group information, optimized memory usage, fixed FASTQ input handling
- SAMTOOLS_SORT: Added memory limits and temporary directory support
- PICARD_MARKDUPLICATES: Updated to handle new input format
- PICARD_COLLECT_MULTIPLE_METRICS: Added comprehensive BAM metrics collection
- PICARD_COLLECT_WGS_METRICS: Added whole genome sequencing metrics
- SAMTOOLS_INDEX: Added as separate process for BAM indexing
- CNVPYTOR: Fixed variable references and added error handling
- EXPANSIONHUNTER: Updated input/output structure
- MANTA_GERMLINE: Enhanced with proper reference handling
- EXPANSIONHUNTERDENOVO_PROFILE: Added parameter validation
- FASTP: Fixed output paths, added cleaned FASTQ outputs, integrated with workflow
- QUALIMAP_BAMQC: Added BAM quality control analysis
- MULTIQC: Added QC report aggregation from all tools
- DEEPVARIANT_RUNDEEPVARIANT: Integrated SNV/indel calling
- AUTOMAP: Added variant annotation capabilities
- Added S3 configuration for cloud execution
- Updated Docker image parameters for all tools
- Added memory and CPU resource allocations
- Implemented process-specific configurations
- Added parameter validation and defaults
- Fixed configuration parsing issues
- Corrected publishDir syntax for all processes
- Organized modules in separate directories
- Standardized process naming conventions
- Added version tracking for all tools
- Implemented consistent output file naming
- Updated output directory structure with QC folder
- Initial pipeline structure
- Basic Nextflow workflow setup
- Core alignment processes
- Variant calling framework
- Input/output cardinality mismatches between some processes
- Memory allocation issues with large datasets
- S3 file access requires proper AWS configuration
- CNVPYTOR requires reference genome resource files
- Configuration parsing errors with unquoted strings
- BWA-MEM2 input handling issues
- MULTIQC integration challenges
- Nextflow 22.04.0+
- Docker/Singularity
- BWA-MEM2 index files for reference genome
- AWS credentials for S3 access
- Date: 2025-01-29
- Status: Production Ready
- Features: Haplotype phasing with HapCUT2, subworkflow architecture, BCFtools integration
- Breaking Changes: None
- Git Tag: v1.1.0
- Date: 2025-01-27
- Status: Production Ready
- Features: Bug fixes and resource optimizations
- Breaking Changes: Output directory structure simplified
- Git Tag: v1.0.1
- Commit: 7280316
- Date: 2025-01-27
- Status: Production Ready
- Features: Complete WGS analysis pipeline with all major components
- Breaking Changes: None from 0.1.0 (complete rewrite)
- Git Tag: v1.0.0
- Commit: a19016a
- Date: 2025-07-24
- Status: Development
- Features: Core pipeline functionality
- Known Issues: Several syntax and configuration issues
- None. This is a feature addition with full backward compatibility.
- Add
bcftools_dockerparameter tonextflow.config - Add
hapcut2_dockerparameter tonextflow.config - Update
parameters.jsonwith new Docker image parameters (if using parameter file) - No changes required to existing workflows - phasing runs automatically after DeepVariant
- Haplotype phasing with HapCUT2
- BCFtools VCF filtering
- Subworkflow architecture for better modularity
- Support for FASTQ, BAM, and CRAM inputs through dedicated subworkflows
- Enhanced documentation with updated architecture diagrams
- HapCUT2 processes can be disabled by setting
task.ext.when = falsein config - Phasing outputs publish to SNV directory by default
- No additional input parameters required
- Complete pipeline rewrite with new architecture
- Updated input/output channel structures
- Changed process parameter names
- Modified Docker image configurations
- Added new quality control and assessment processes
- Update
nextflow.configwith new parameter definitions - Generate BWA-MEM2 index files for reference genome
- Configure AWS credentials for S3 access
- Update Docker image references
- Ensure all string parameters are properly quoted
- S3 file support
- Memory optimization
- Enhanced error handling
- Comprehensive documentation
- Quality control pipeline integration
- MultiQC report generation
- BAM quality assessment tools
- Complete variant analysis suite
When adding new entries to the changelog, please follow these guidelines:
- Use the existing format and structure
- Group changes by type (Added, Changed, Fixed, Removed)
- Provide clear descriptions of what changed
- Include technical details when relevant
- Add migration notes for breaking changes
- Update version numbers appropriately
- Added: New features, processes, or capabilities
- Changed: Modifications to existing functionality
- Fixed: Bug fixes and error corrections
- Removed: Deprecated or removed features
- Technical Details: Implementation specifics
- Known Issues: Current limitations or problems