Start here
You know a little Linux, a little Python and a little biology. You have never built a dynamic model. This path takes you from nothing to a fitted model of phosphorylation and transcriptional regulation that you can question, save and share.
You cannot break anything. A run only writes into its own output folder. Your input files are never changed.
What PhosKinTime models today
Two things: phosphorylation of protein sites by kinases, and transcriptional regulation of genes by transcription factors (TFs). Both are in one model. Other modifications can be described with your own mechanism file, but phosphorylation is what is developed and tested.
Under active development
Interfaces and defaults can change between releases. Open problems are listed in KNOWN_ISSUES.md.
The path
| step | page | you will | time |
|---|---|---|---|
| 1 | What is a model? | understand the idea, then the equations | 20 min reading |
| 2 | Install from zero | get PhosKinTime running | 10 to 20 min |
| 3 | Your first model | fit the synthetic example | 5 min |
| 4 | Prepare your own inputs | write every input file, column by column | 30 min |
| 5 | Build the model | look inside the SBML file, write your own mechanism | 30 min |
| 6 | Validate and fit | check inputs, run, judge the fit | 15 min |
| 7 | Read the results | learn which numbers you may believe | 30 min |
| 8 | Simulate experiments | knock out a kinase in the computer | 15 min |
| 9 | Save and share | bundle, archive, open the model in other tools | 15 min |
| 10 | App, command line or Python | pick the way that suits you | 15 min |
One notebook goes through the whole path for a new model of your own, without any data: 12. Build your own model.
Keep open: Troubleshooting and the Glossary. To go further: Learn the underlying tools.
The workflow in one picture
flowchart LR
A["1. Input files<br/>networks, time series"] --> B["2. config.toml"]
B --> C["3. validate"]
C -->|errors| A
C -->|ok| D["4. run<br/>builds the SBML model, fits it"]
D --> E["5. read results<br/>fit and identifiability"]
E --> F["6. simulate experiments"]
E --> G["7. save and share"]
The whole thing in four commands
After installation, from the PhosKinTime folder:
pixi run phoskintime example my-project
pixi run phoskintime validate --conf my-project/config.toml
pixi run phoskintime run --conf my-project/config.toml
pixi run phoskintime simulate run --model my-project/results --preset knockout --target K2 --out ko_K2.pke.zip
The example data are invented curves. They are for learning the software. Nothing you read from them is a biological result.
About the outputs shown on these pages
The commands and Python snippets were run on the synthetic example (PhosKinTime 0.7.0a1, Linux). Outputs are shortened, and long paths are replaced by short ones. Your numbers can differ slightly on another machine or version.