Skip to main content

Pipeline Architecture Overview

The pipeline is organized into ten discrete, modular steps (M01–M10), orchestrated by Snakemake. Each module has a dedicated Snakemake rule file, isolated conda environment, and produces versioned log files. The pipeline uses a two-track architecture: Track A processes genomic conservation signals; Track B processes evolutionary selection pressure signals. Both tracks converge at M07 Bridge Builder, which integrates them into a composite scoring framework for diagnostic assay design.

High-Level Data Flow


Module I/O Reference

The table below shows the primary input and output for each module and which modules depend on it.
M07 is declared as a Snakemake checkpoint. This means Snakemake re-evaluates the downstream DAG after M07 completes, because the number of candidate regions (and therefore M08/M09/M10 job instances) is unknown until the Bridge Builder manifest is written. Avoid running M08–M10 rules directly without first ensuring M07 has completed successfully.

Conda Environments

Each module uses an isolated conda environment to prevent dependency conflicts between tools with incompatible requirements:

Directory Conventions

All outputs are segregated by build_name — running the pipeline with a different build_name produces a completely independent result set, enabling parallel runs for multiple pathogen targets without file conflicts.

Deferred Features (Future Phases)

The following capabilities are planned but not yet implemented:

Running the Pipeline

See Monitoring & Run Management for HPC execution, checkpoint handling, and failure recovery.