Skip to content

Commit 4d6d917

Browse files
authored
Merge pull request #490 from PEtab-dev/release_0.1.12
Release 0.1.12 * Documentation update: * Added SBML2Julia to list of tools supporting PEtab * Extended PEtab introduction * Tutorial for creating PEtab files * Minor fix: Default argument for optional 'model' parameter in `petab.lint.check_condition_df`` (#477)
2 parents f263174 + 2687841 commit 4d6d917

21 files changed

+3162
-34
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,23 @@
22

33
## 0.1 series
44

5+
### 0.1.12
6+
7+
* Documentation update:
8+
* Added SBML2Julia to list of tools supporting PEtab
9+
* Extended PEtab introduction
10+
* Tutorial for creating PEtab files
11+
* Minor fix: Default argument for optional 'model' parameter in
12+
`petab.lint.check_condition_df`` (#477)
13+
514
### 0.1.11
615

716
* Function for generating synthetic data (#472)
817
* Minor documentation updates (#470)
918

1019
### 0.1.10
1120

12-
*Fixed deployment setup, no further changes.*
21+
* Fixed deployment setup, no further changes.*
1322

1423
### 0.1.9
1524

README.md

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Where PEtab is supported (in alphabetical order):
6868
- [pyPESTO](https://github.com/ICB-DCM/pyPESTO/)
6969
([Example](https://pypesto.readthedocs.io/en/latest/example/petab_import.html))
7070

71+
- [SBML2Julia](https://github.com/paulflang/SBML2Julia)
72+
([Tutorial](https://sbml2julia.readthedocs.io/en/latest/python_api.html))
73+
7174
If your project or tool is using PEtab, and you would like to have it listed
7275
here, please [let us know](https://github.com/PEtab-dev/PEtab/issues).
7376

@@ -78,24 +81,24 @@ different tools, based on passed test cases of the
7881
[PEtab test suite](https://github.com/PEtab-dev/petab_test_suite):
7982

8083

81-
| ID | Test | AMICI<br>`>=0.10.20` | Copasi | D2D | dMod | MEIGO | parPE<br>`develop` | pyABC<br>`>=0.10.1` | pyPESTO<br>`>=0.0.11` |
82-
|----|----------------------------------------------------------------|----------------------|--------|-----|------|-------|-----------------------|-------|------------------------|
83-
| 1 | Basic simulation | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
84-
| 2 | Multiple simulation conditions | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
85-
| 3 | Numeric observable parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
86-
| 4 | Parametric observable parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
87-
| 5 | Parametric overrides in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
88-
| 6 | Time-point specific overrides in the measurement table | --- | --- | +++ | +++ | +++ | --- | --- | --- |
89-
| 7 | Observable transformations to log10 scale | +-+ | +-- | +++ | ++- | +++ | --+ | +-+ | +-+ |
90-
| 8 | Replicate measurements | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
91-
| 9 | Pre-equilibration | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
92-
| 10 | Partial pre-equilibration | +++ | --- | +++ | +++ | +++ | --+ | +++ | +++ |
93-
| 11 | Numeric initial concentration in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
94-
| 12 | Numeric initial compartment sizes in condition table | --- | +-- | +++ | +++ | +++ | --- | --- | --- |
95-
| 13 | Parametric initial concentrations in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
96-
| 14 | Numeric noise parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
97-
| 15 | Parametric noise parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ |
98-
| 16 | Observable transformations to log scale | +-+ | +-- | +++ | ++- | +++ | --+ | +-+ | +-+ |
84+
| ID | Test | AMICI<br>`>=0.10.20` | Copasi | D2D | dMod | MEIGO | parPE<br>`develop` | pyABC<br>`>=0.10.1` | pyPESTO<br>`>=0.0.11` | SBML2Julia |
85+
|----|----------------------------------------------------------------|----------------------|--------|-----|------|-------|-----------------------|-------|------------------------|------------|
86+
| 1 | Basic simulation | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
87+
| 2 | Multiple simulation conditions | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
88+
| 3 | Numeric observable parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
89+
| 4 | Parametric observable parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
90+
| 5 | Parametric overrides in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
91+
| 6 | Time-point specific overrides in the measurement table | --- | --- | +++ | +++ | +++ | --- | --- | --- | +++ |
92+
| 7 | Observable transformations to log10 scale | +-+ | +-- | +++ | ++- | +++ | --+ | +-+ | +-+ | +++ |
93+
| 8 | Replicate measurements | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
94+
| 9 | Pre-equilibration | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
95+
| 10 | Partial pre-equilibration | +++ | --- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
96+
| 11 | Numeric initial concentration in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
97+
| 12 | Numeric initial compartment sizes in condition table | --- | +-- | +++ | +++ | +++ | --- | --- | --- | +++ |
98+
| 13 | Parametric initial concentrations in condition table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
99+
| 14 | Numeric noise parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
100+
| 15 | Parametric noise parameter overrides in measurement table | +++ | +-- | +++ | +++ | +++ | --+ | +++ | +++ | +++ |
101+
| 16 | Observable transformations to log scale | +-+ | +-- | +++ | ++- | +++ | --+ | +-+ | +-+ | +++ |
99102

100103
Legend:
101104
* First character indicates whether computing simulated data is supported and simulations are correct (+) or not (-).
@@ -104,10 +107,15 @@ Legend:
104107

105108
## Using PEtab
106109

107-
If you would like to use PEtab yourself, please have a look at
108-
[doc/documentation_data_format.rst](doc/documentation_data_format.rst) or at
109-
the example models provided in the
110-
[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
111119

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

doc/compile_tutorial.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
-V urlcolor=cyan \
9+
--toc \
10+
--pdf-engine pdflatex

doc/documentation_data_format.rst

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,36 @@ systems biology, especially for the case of Ordinary Differential Equation
1515
(ODE) models.
1616

1717

18+
Scope
19+
-----
20+
21+
The scope of PEtab is the full specification of parameter estimation problems
22+
in typical systems biology applications. In our experience, a typical setup of
23+
data-based modeling starts either with (i) the model of a biological system
24+
that is to be calibrated, or with (ii) experimental data that are to be
25+
integrated and analyzed using a computational model.
26+
Measurements are linked to the biological model by an observation and noise
27+
model. Often, measurements are taken after some perturbations have been
28+
applied, which are modeled as derivations from a generic model
29+
(Figure 1A). Therefore, one goal was to specify such a setup in the
30+
least redundant way. Furthermore, we wanted to establish an intuitive, modular,
31+
machine- and human-readable and -writable format that makes use of existing
32+
standards.
33+
34+
.. figure:: gfx/petab_scope_and_files.png
35+
:alt: A common setup for data-based modeling studies and its representation in PEtab.
36+
:scale: 80%
37+
38+
**Figure 1: A common setup for data-based modeling studies and its representation in PEtab.**
39+
1840
Overview
1941
---------
2042

2143
The PEtab data format specifies a parameter estimation problem using a number
2244
of text-based files (`Systems Biology Markup Language (SBML) <http://sbml.org>`_
2345
and
24-
`Tab-Separated Values (TSV) <https://www.iana.org/assignments/media-types/text/tab-separated-values>`_),
25-
i.e.
46+
`Tab-Separated Values (TSV) <https://www.iana.org/assignments/media-types/text/tab-separated-values>`_)
47+
(Figure 2), i.e.
2648

2749
- An SBML model [SBML]
2850

@@ -42,9 +64,14 @@ i.e.
4264
- (optional) A visualization file, which contains specifications how the data
4365
and/or simulations should be plotted by the visualization routines [TSV]
4466

45-
.. image:: gfx/petab_files.png
67+
.. figure:: gfx/petab_files.png
4668
:alt: Files constituting a PEtab problem
4769

70+
**Figure 2: Files constituting a PEtab problem.**
71+
72+
Figure 1B shows how those files relate to a common setup for
73+
data-based modeling studies.
74+
4875
The following sections will describe the minimum requirements of those
4976
components in the core standard, which should provide all information for
5077
defining the parameter estimation problem.
@@ -58,8 +85,6 @@ problem as such.
5885
**General remarks**
5986

6087
- All model entities, column names and row names are case-sensitive
61-
- All identifiers must consist only of upper and lower case letters, digits and
62-
underscores, and must not start with a digit.
6388
- Fields in "[]" are optional and may be left empty.
6489

6590

@@ -104,7 +129,8 @@ Detailed field description
104129
- ``conditionId`` [STRING, NOT NULL]
105130

106131
Unique identifier for the simulation/experimental condition, to be referenced
107-
by the measurement table described below.
132+
by the measurement table described below. Must consist only of upper and
133+
lower case letters, digits and underscores, and must not start with a digit.
108134

109135
- ``conditionName`` [STRING, OPTIONAL]
110136

@@ -297,9 +323,9 @@ Detailed field description
297323

298324
* ``observableId`` [STRING]
299325

300-
Any identifier which would be a valid identifier in SBML. This is referenced
301-
by the ``observableId`` column in the measurement table. Must be different from
302-
any existing model entity or parameter introduced elsewhere.
326+
Unique identifier for the given observable. Must consist only of upper and
327+
lower case letters, digits and underscores, and must not start with a digit.
328+
This is referenced by the ``observableId`` column in the measurement table.
303329

304330
* [``observableName``] [STRING, OPTIONAL]
305331

doc/gfx/copasi_simulation.png

73.4 KB
Loading

doc/gfx/petab_scope_and_files.pdf

66.3 KB
Binary file not shown.

doc/gfx/petab_scope_and_files.png

167 KB
Loading

0 commit comments

Comments
 (0)