You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository creates standardized reference files for a given FBC model based on cobrapy and glpk. These files can be used in the model curation process for validating the model behavior. The format of the standardized reference files is described below.
11
+
Currently two separate implementations of the reference files are included in the package:
12
+
*`cobrapy` based on COBRApy (Constraint-Based Reconstruction and Analysis in Python) available from https://github.com/opencobra/cobrapy/
13
+
*`cameo` based on Cameo (Cameo—Computer Aided Metabolic Engineering and Optimization) available from https://github.com/biosustain/cameo
14
+
15
+
`fbc_curation` is a python package which can be included in python applications. In addition a command line tool is provided which allows easy usage outside of python.
This repository creates standardized reference files for a given FBC model based on cobrapy and glpk. These files can be used in the model curation process for validating the model behavior. The format of the standardized reference files is described below.
22
-
Currently two separate implementations of the reference files are included in the package:
23
-
*`cobrapy` based on COBRApy (Constraint-Based Reconstruction and Analysis in Python) available from https://github.com/opencobra/cobrapy/
24
-
*`cameo` based on Cameo (Cameo—Computer Aided Metabolic Engineering and Optimization) available from https://github.com/biosustain/cameo
25
-
26
-
`fbc_curation` is a python package which can be included in python applications. In addition a command line tool is provided which allows easy usage outside of python.
27
-
28
26
## Installation
29
-
The `fbc_curation` package can be installed via pip and is working on python 3.6 and python 3.7
27
+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)The `fbc_curation` package can be installed via pip and is working on python 3.6 and python 3.7
To create FBC curation files for a given SBML model use the `fbc_curation` command line tool. The reference files are created for the provided objective in the model, if no objective is provided the `active` objective or default objective is used.
43
42
```bash
@@ -73,14 +72,17 @@ Options:
73
72
```
74
73
For instance to create the reference files for the `e_coli_core.xml` example use
This creates the FBC curation files for the `model` in the output `path`.
79
79
80
80
### Compare existing reference files
81
81
In addition existing reference files can be compared with the solutions by `cobrapy` and `cameo`. The `--reference` argument can be used to provide the path to the reference files.
The comparison results are provided as a matrix for the various reference files with `1` being equal output and `0` if differences exist between the respective reference files. If all matrices are one matrices the results are equal.
86
88
```
@@ -113,7 +115,7 @@ Equal: True
113
115
```
114
116
115
117
## Standardized reference files
116
-
In the following the four created reference files are described and examples provided for the [`e_coli_core.xml`](examples/models/e_coli_core.xml) model. All output files are tab separated files (TSV) with the first three columns being `model`, `objective`, and `status`. The column `model` encodes the SBML model id. The column `objective` encodes the SBML objective id, which is the objective which was optimized in the respective simulation. The column `status` encodes the status of the simulation. The status can be either `optimal` (optimization worked) or `infeasible` (no solution found or problem in simulation).
118
+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)In the following the four created reference files are described and examples provided for the [`e_coli_core.xml`](examples/models/e_coli_core.xml) model. All output files are tab separated files (TSV) with the first three columns being `model`, `objective`, and `status`. The column `model` encodes the SBML model id. The column `objective` encodes the SBML objective id, which is the objective which was optimized in the respective simulation. The column `status` encodes the status of the simulation. The status can be either `optimal` (optimization worked) or `infeasible` (no solution found or problem in simulation).
117
119
118
120
### 01 Objective value
119
121
The objective value file `01_objective.tsv` contains the four columns with the headers `model`, `objective` and `status`, `value`. The `value` is the optimal value of the respective objective function when the model is optimized with default settings. If the status is `infeasible` the value is ``.
See for instance: [`e_coli_core/04_reaction_deletion.tsv`](examples/results/e_coli_core/04_reaction_deletion.tsv). For more information: https://cobrapy.readthedocs.io/en/latest/deletions.html
178
180
179
181
## Examples
180
-
The examples can be run via
182
+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)The examples can be run via
181
183
```
182
184
fbc_curation_examples
183
185
```
@@ -186,7 +188,7 @@ Example models are from the [BiGG Database](http://bigg.ucsd.edu/)
186
188
King ZA, Lu JS, Dräger A, Miller PC, Federowicz S, Lerman JA, Ebrahim A, Palsson BO, and Lewis NE. BiGG Models: A platform for integrating, standardizing, and sharing genome-scale models (2016) Nucleic Acids Research 44(D1):D515-D522. doi:10.1093/nar/gkv1049
187
189
188
190
## Testing
189
-
To run the tests clone the repository
191
+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)To run the tests clone the repository
0 commit comments