
KinOpt Documentation
KinOpt estimates cumulative kinase effects on substrate phosphorylation from time-series phosphoproteomics data. This documentation covers the Python modules that are present in this repository:
kinopt/processing/config/config_loader.py
Overview
KinOpt is organized around a kinase-phosphorylation optimization workflow:
- Prepare input tables with
processing. - Run local or evolutionary optimization with
kinopt.localorkinopt.evol. - Review fitted outputs with
kinopt.fitanalysis. - Inspect feasibility and optimality diagnostics with
kinopt.optimality. - Load runtime settings with
configandconfig_loader.py.
The repository does not include separate project packages for transcription-factor optimization, coupled network simulation, ODE model fitting, or shared utility packages. The docs therefore avoid references to packages that are not present in this checkout.
Package Areas
kinopt
The kinopt package contains the optimization code for estimating kinase effects on phosphorylation trajectories.
kinopt.localruns constrained local optimization with JAX/JAXopt-based solver mapping.kinopt.evolruns population-based evolutionary optimization with QDax NSGA2/SPEA2.kinopt.evolenforces alpha/beta bounds and per-group sum-to-one constraints through candidate repair before objective evaluation.kinopt.fitanalysiscontains post-fit analysis helpers.kinopt.optimalitycontains KKT, feasibility, and diagnostic utilities.
processing
The processing package prepares raw data and maps optimization outputs to analysis-friendly tables. It contains:
processing.cleanupfor input cleanup and transformation.processing.mapfor result mapping and network table generation.
config
The config package contains runtime helpers:
config.clifor command-line mode parsing.config.logconffor logger setup.
config_loader.py
config_loader.py loads config.toml and provides cached access to configuration sections and mode-specific
overrides.
Running KinOpt
From the project root:
pixi run kinopt-local
pixi run kinopt-evol
pixi run kinopt-fitanalysis
The equivalent direct Python entry points are:
PYTHONPATH=. python -m kinopt.local
PYTHONPATH=. python -m kinopt.evol
PYTHONPATH=. python -m kinopt.fitanalysis
See the API Reference for import-level documentation.