Skip to content

Commit 167b61b

Browse files
dweindlLeonardSchmiesteryannikschaelte
authored
Add tutorial for creating PEtab files (#488)
* Add tutorial for creating PEtab files * Formatting * Table captions * Lists of fields to real lists * Highlight table headers * Formatting * Image to figure * Added tutorial PEtab files * fixed formatting * Fix yaml formatting. Fix filenames. * punct. * update link * Tutorial link to readme * Added COPASI section to tutorial * formatting, update sim section * Fix empty table cells * E * Break overwide table * fixup * update readme 'using petab' * add pdf generation script * fix docs * increase pdf margin Co-authored-by: LeonardSchmiester <leonard.schmiester@helmholtz-muenchen.de> Co-authored-by: yannikschaelte <yannik.schaelte@gmail.com>
1 parent cf5d3cf commit 167b61b

14 files changed

+1489
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,15 @@ Legend:
107107

108108
## Using PEtab
109109

110-
If you would like to use PEtab yourself, please have a look at
111-
[doc/documentation_data_format.rst](doc/documentation_data_format.rst) or at
112-
the example models provided in the
113-
[benchmark collection](https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab).
110+
If you would like to use PEtab yourself, please have a look at:
111+
112+
* [a PEtab tutorial](https://petab.readthedocs.io/en/latest/tutorial.html)
113+
going through the individual steps of setting up a parameter estimation
114+
problem in PEtab, independently of any specific software
115+
* [the PEtab format reference](https://petab.readthedocs.io/en/stable/documentation_data_format.html)
116+
* the example models provided in the
117+
[benchmark collection](https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab).
118+
* the tutorials provided with each of the softwares supporting PEtab
114119

115120
To convert your existing parameter estimation problem to the PEtab format, you
116121
will have to:

doc/compile_tutorial.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
# Build a pdflatex document from the tutorial
4+
5+
pandoc tutorial.rst \
6+
-o tutorial.pdf \
7+
-V geometry:margin=1.5in -V geometry:a4paper -V fontsize=10pt \
8+
--toc \
9+
--pdf-engine pdflatex

doc/gfx/copasi_simulation.png

73.4 KB
Loading

doc/gfx/tutorial_data.png

57.3 KB
Loading

doc/gfx/tutorial_model.png

24.2 KB
Loading

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:caption: Data format
77

88
Data format <documentation_data_format.rst>
9+
tutorial
910

1011
.. toctree::
1112
:maxdepth: 3

doc/tutorial.rst

Lines changed: 418 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
format_version: 1
2+
parameter_file: parameters.tsv
3+
problems:
4+
- condition_files:
5+
- experimental_conditions.tsv
6+
measurement_files:
7+
- measurement_data.tsv
8+
observable_files:
9+
- observables.tsv
10+
sbml_files:
11+
- model_Boehm_JProteomeRes2014.xml
12+
visualization_files:
13+
- visualization_specification.tsv
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
conditionId conditionName Epo_concentration
2+
epo_stimulation condition1 1.25E-07

doc/tutorial/measurement_data.tsv

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
observableId simulationConditionId measurement time noiseParameters
2+
pSTAT5A_rel epo_stimulation 7.901072999 0 sd_pSTAT5A_rel
3+
pSTAT5A_rel epo_stimulation 66.36349397 2.5 sd_pSTAT5A_rel
4+
pSTAT5A_rel epo_stimulation 81.17132392 5 sd_pSTAT5A_rel
5+
pSTAT5A_rel epo_stimulation 94.73030806 10 sd_pSTAT5A_rel
6+
pSTAT5A_rel epo_stimulation 95.11648305 15 sd_pSTAT5A_rel
7+
pSTAT5A_rel epo_stimulation 91.44171655 20 sd_pSTAT5A_rel
8+
pSTAT5A_rel epo_stimulation 91.25709923 30 sd_pSTAT5A_rel
9+
pSTAT5A_rel epo_stimulation 93.67229784 40 sd_pSTAT5A_rel
10+
pSTAT5A_rel epo_stimulation 88.75423282 50 sd_pSTAT5A_rel
11+
pSTAT5A_rel epo_stimulation 85.26970322 60 sd_pSTAT5A_rel
12+
pSTAT5A_rel epo_stimulation 81.13239534 80 sd_pSTAT5A_rel
13+
pSTAT5A_rel epo_stimulation 76.13592848 100 sd_pSTAT5A_rel
14+
pSTAT5A_rel epo_stimulation 65.24805913 120 sd_pSTAT5A_rel
15+
pSTAT5A_rel epo_stimulation 42.59965871 160 sd_pSTAT5A_rel
16+
pSTAT5A_rel epo_stimulation 25.15779754 200 sd_pSTAT5A_rel
17+
pSTAT5A_rel epo_stimulation 15.4301824 240 sd_pSTAT5A_rel
18+
pSTAT5B_rel epo_stimulation 4.596533343 0 sd_pSTAT5B_rel
19+
pSTAT5B_rel epo_stimulation 29.63454599 2.5 sd_pSTAT5B_rel
20+
pSTAT5B_rel epo_stimulation 46.04380647 5 sd_pSTAT5B_rel
21+
pSTAT5B_rel epo_stimulation 81.97473362 10 sd_pSTAT5B_rel
22+
pSTAT5B_rel epo_stimulation 80.5716093 15 sd_pSTAT5B_rel
23+
pSTAT5B_rel epo_stimulation 79.03571964 20 sd_pSTAT5B_rel
24+
pSTAT5B_rel epo_stimulation 75.67238037 30 sd_pSTAT5B_rel
25+
pSTAT5B_rel epo_stimulation 71.62471986 40 sd_pSTAT5B_rel
26+
pSTAT5B_rel epo_stimulation 69.06286328 50 sd_pSTAT5B_rel
27+
pSTAT5B_rel epo_stimulation 67.14738432 60 sd_pSTAT5B_rel
28+
pSTAT5B_rel epo_stimulation 60.89947629 80 sd_pSTAT5B_rel
29+
pSTAT5B_rel epo_stimulation 54.80925777 100 sd_pSTAT5B_rel
30+
pSTAT5B_rel epo_stimulation 43.98128998 120 sd_pSTAT5B_rel
31+
pSTAT5B_rel epo_stimulation 29.77145816 160 sd_pSTAT5B_rel
32+
pSTAT5B_rel epo_stimulation 20.08901656 200 sd_pSTAT5B_rel
33+
pSTAT5B_rel epo_stimulation 10.96184517 240 sd_pSTAT5B_rel
34+
rSTAT5A_rel epo_stimulation 14.72316822 0 sd_rSTAT5A_rel
35+
rSTAT5A_rel epo_stimulation 33.76234229 2.5 sd_rSTAT5A_rel
36+
rSTAT5A_rel epo_stimulation 36.79985129 5 sd_rSTAT5A_rel
37+
rSTAT5A_rel epo_stimulation 49.71760229 10 sd_rSTAT5A_rel
38+
rSTAT5A_rel epo_stimulation 46.9281201 15 sd_rSTAT5A_rel
39+
rSTAT5A_rel epo_stimulation 47.83657456 20 sd_rSTAT5A_rel
40+
rSTAT5A_rel epo_stimulation 46.92872725 30 sd_rSTAT5A_rel
41+
rSTAT5A_rel epo_stimulation 40.59775294 40 sd_rSTAT5A_rel
42+
rSTAT5A_rel epo_stimulation 43.78366389 50 sd_rSTAT5A_rel
43+
rSTAT5A_rel epo_stimulation 44.45738765 60 sd_rSTAT5A_rel
44+
rSTAT5A_rel epo_stimulation 41.32715926 80 sd_rSTAT5A_rel
45+
rSTAT5A_rel epo_stimulation 41.06273321 100 sd_rSTAT5A_rel
46+
rSTAT5A_rel epo_stimulation 39.23583003 120 sd_rSTAT5A_rel
47+
rSTAT5A_rel epo_stimulation 36.61946054 160 sd_rSTAT5A_rel
48+
rSTAT5A_rel epo_stimulation 34.8937144 200 sd_rSTAT5A_rel
49+
rSTAT5A_rel epo_stimulation 32.21107716 240 sd_rSTAT5A_rel

0 commit comments

Comments
 (0)