Analysis Pipeline Overview¶
The CasTuner Python port is structured as a seven-step pipeline, orchestrated via Snakemake:
- Kinetic fitting of up- and down-regulation half-times (Step 1a–c),
- Hill curve fitting for steady-state dose–response (Step 1c),
- ODE-based derepression and repression simulations (Steps 2–3),
- Single-cell noise analysis (Step 4a),
- Model-driven design-space scan (Step 4b),
- Goodness-of-fit diagnostics (Step 6),
- Design selection & mapping (Step 7).
A final step collects all tables and plots into a single PDF report.
High-level data flow¶
-
Read and gate flow cytometry
.fcsfiles
All steps use consistent:- FSC/SSC gating,
- singlet gating,
- NFC-based background subtraction.
-
Compute summary statistics per condition
- medians for BFP/mCherry/EGFP,
- CV² for noise analysis,
- dose-normalised readouts.
-
Fit phenomenological models
- Exponential functions → half-times of BFP rise/decay,
- Hill functions → K and n for steady-state dose–response.
-
Fit mechanistic ODE model
- one model for derepression,
- one model for repression,
- shared parameters: Hill K, n and mCherry degradation rate α,
- inferred delays for REV and KD.
-
Propagate uncertainty & explore design space
- sample designs from measured parameter ranges,
- simulate trajectories,
- score candidates by dynamic range + speed.
-
Summarise
- integrated plots:
- kinetics vs noise,
- K vs n,
- delays vs half-times,
- goodness-of-fit plots (obs vs pred),
- final design space map and top-10 candidate table.
- integrated plots:
-
Generate automated report
- Compile all results into a single PDF.
- Sections for each analysis step with methods, results, interpretations.
- Tables and plots embedded inline.
-
Sensitivity & uncertainty analysis
- Quantify parameter sensitivities and output uncertainties.
- Generate additional plots and tables.
Each of the following pages explains one step in more depth: what biological question it answers, what inputs it uses, which models it fits, and how to interpret the outputs.