How ammaraziz/wfi works
Main Components
a) Input Layer:
• Raw FASTQ files directory
• Configuration components (config.yaml)
• Reference data (adapters, profiles, and reference sequences)
b) Processing Layer:
• Trimming Module (with two options: BBDuk or Cutadapt)
• IRMA Processing Pipeline
• Custom Processing Modules (RSV and FLU-avian-pgm)
c) Output Layer:
• Assemblies directory structure
• Analysis results (figures and tables)
• Quality control reports
Key Relationships to Highlight
a) Data Flow:
• Raw FASTQ → Trimming → IRMA Processing → Assembly Output
• Configuration → Pipeline Control → Module Selection
• Reference Data → Processing Modules
b) Tool Integration:
• Snakemake workflow management
• R scripts for analysis and visualization
• Python scripts for subtyping
Specific Design Elements
• Rectangles: Processing modules
• Diamonds: Decision points
• Rounded rectangles: External tools/dependencies
• Blue: Input components
• Green: Processing modules
• Yellow: Configuration elements
• Orange: Output components
• Purple: External dependencies
Configuration Layer
• config.yaml
• Adapter files
• Reference sequences
Pipeline Control Layer
• Snakemake workflow
• Module selection logic
Processing Layer
• Trimming modules
• IRMA processing
• Custom modules (RSV/FLU)
Analysis Layer
• R scripts
• Python subtyper
• Quality control
Output Layer
• Organized assembly results
• Figures and tables
• Summary reports
Important Details
• Version compatibility notes
• Technology options (Illumina/ONT/PGM)
• Organism-specific workflows (FLU/RSV)
• Data validation checkpoints
• Error handling paths