Skip to content

Commit 8d665ea

Browse files
fixed documentation navigation
1 parent 8dfda6c commit 8d665ea

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77

88
<b>Matthias König</b>
99
# fbc_curation
10-
* [Overview](https://github.com/matthiaskoenig/fbc_curation#overview)
10+
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.
16+
1117
* [Installation](https://github.com/matthiaskoenig/fbc_curation#installation)
1218
* [Usage](https://github.com/matthiaskoenig/fbc_curation#usage)
1319
* [Standardized reference files](https://github.com/matthiaskoenig/fbc_curation#standardized-reference-files)
@@ -17,16 +23,8 @@
1723
* [Funding](https://github.com/matthiaskoenig/fbc_curation#funding)
1824
* [Changelog](https://github.com/matthiaskoenig/fbc_curation#changelog)
1925

20-
## Overview
21-
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-
2826
## 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
3028
```bash
3129
pip install fbc_curation
3230
```
@@ -38,6 +36,7 @@ pip install fbc_curation --upgrade
3836
```
3937

4038
## Usage
39+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)
4140
### Create reference files
4241
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.
4342
```bash
@@ -73,14 +72,17 @@ Options:
7372
```
7473
For instance to create the reference files for the `e_coli_core.xml` example use
7574
```
76-
fbc_curation --model ./fbc_curation/examples/models/e_coli_core.xml --path ./fbc_curation/examples/results/e_coli_core
75+
fbc_curation --model ./fbc_curation/examples/models/e_coli_core.xml \
76+
--path ./fbc_curation/examples/results/e_coli_core
7777
```
7878
This creates the FBC curation files for the `model` in the output `path`.
7979

8080
### Compare existing reference files
8181
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.
8282
```
83-
curation --model examples/models/e_coli_core.xml --path examples/results/e_coli_core --reference ../examples/results/e_coli_core/cobrapy
83+
curation --model examples/models/e_coli_core.xml \
84+
--path examples/results/e_coli_core \
85+
--reference ../examples/results/e_coli_core/cobrapy
8486
```
8587
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.
8688
```
@@ -113,7 +115,7 @@ Equal: True
113115
```
114116

115117
## 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).
117119

118120
### 01 Objective value
119121
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 ``.
@@ -177,7 +179,7 @@ e_coli_core obj AKGDH optimal 0.858307
177179
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
178180

179181
## Examples
180-
The examples can be run via
182+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation) The examples can be run via
181183
```
182184
fbc_curation_examples
183185
```
@@ -186,7 +188,7 @@ Example models are from the [BiGG Database](http://bigg.ucsd.edu/)
186188
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
187189

188190
## 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
190192
```
191193
git clone https://github.com/matthiaskoenig/fbc_curation.git
192194
cd fbc_curation
@@ -195,14 +197,17 @@ pytest
195197
```
196198

197199
## License
200+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)
198201
* Source Code: [LGPLv3](http://opensource.org/licenses/LGPL-3.0)
199202
* Documentation: [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)
200203

201204
## Funding
205+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)
202206
Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany)
203207
within the research network Systems Medicine of the Liver (**LiSyM**, grant number 031L0054).
204208

205209
## Changelog
210+
[[^]](https://github.com/matthiaskoenig/fbc_curation#fbc_curation)
206211
### v0.1.0
207212
- result validation against schema
208213
- second solver implementation (cameo)
@@ -236,4 +241,4 @@ within the research network Systems Medicine of the Liver (**LiSyM**, grant numb
236241

237242
### v0.0.1
238243
- initial release
239-
- create first version of files
244+
- create first version of files

0 commit comments

Comments
 (0)