KinOpt (kinase–substrate network optimisation for phosphoproteomics; not the chemical-kinetics package of the same name).
Documentation: https://bibymaths.github.io/KinOpt/ · Release notes · Changelog · Cite · Security · Terms of use
KinOpt estimates the cumulative effect of kinases on the phosphorylation of their substrate sites from phosphoproteomics time series, including the effect of a kinase's own phosphorylation on its activity. For every site it fits how much each of its kinases contributes (α), and for every kinase how its protein and site series combine into its activity (β):
The default solver is SciPy SLSQP with these constraints and the bounds as hard constraints, run from 64 seeded starts. KinOpt was split out of PhosKinTime, which uses its results.
From PyPI:
pip install kinopt
kinopt-local # or: python -m kinopt.localFor exact reproduction of published results use pixi.lock; pip install gives compatible versions.
Run it from a project folder that contains a config.toml (copy the
template from the repository); KinOpt also takes its
input and output folders from there. From a clone of the repository, with Pixi:
pixi install
pixi run kinopt-local # PYTHONPATH=. python -m kinopt.localPut input1.csv (time series: GeneID, Psite, x1 … x14) and input2.csv (sites and their kinases:
GeneID, Psite, Kinase) in data/, or set [paths] in config.toml. Results go to paths.results_dir: the
workbook kinopt_results.xlsx (α, β, summary, observed, estimated and residual series), the multistart
records, per-protein plots and report.html. Use a new results folder for each run.
Settings are in config.toml (see the configuration reference):
| Setting | Default |
|---|---|
method |
scipy-slsqp (hard constraints). The JAXopt methods (projected-gradient, lbfgsb, …) are approximate options with penalty-enforced constraints |
n_starts, jitter_scale |
64, 0.10 |
start_seed |
20260115 |
loss_type |
weighted |
| β bounds | −4, 4 |
A default run takes about 20 minutes on a machine with enough cores (one start takes several minutes).
pixi run -e dev test # tests (synthetic inputs, no data needed)
pixi run -e dev check-import
pixi run -e docs docs-build # documentation (Zensical)
pixi run check-release v0.10.0 # versions, changelog and release notes agreeReleases: see release-notes/README.md.
Cite KinOpt with the metadata in CITATION.cff: doi:10.5281/zenodo.24676890 (all versions; resolves to the latest). Each release is archived on Zenodo with its own DOI; 0.11.0 is doi:10.5281/zenodo.24686728.
- Code: BSD-3-Clause, see LICENSE.
- Documentation: CC BY 4.0, see LICENSE-docs.md.
- Third-party material (wordmark font outlines under SIL OFL 1.1, dependencies): THIRD_PARTY.md.
- Research use and no warranty: TERMS_OF_USE.md. Reporting vulnerabilities: SECURITY.md.