Commit 6afa1ad3 authored by Elad Noor's avatar Elad Noor

Update with an example of how to run MDF

parent 7ada0b51
Pipeline #36639684 passed with stage
in 1 minute and 35 seconds
......@@ -97,6 +97,21 @@ assigning reversibility to reactions we recommend this measure because 1:2
reactions are much "easier" to reverse than reactions with 1:1 or 2:2 reactions.
You can see the paper linked above for more information.
### Example of pathway analysis using Max-min Driving Force:
First, download an example configuration file (in SBtab format):
curl > example.tsv
Then inside the python3 shell:
from equilibrator_api import Pathway
pp = Pathway.from_sbtab('example.tsv')
mdf_res = pp.calc_mdf()
print('MDF = ', mdf_res.mdf)
## Dependencies:
- python 3.6
- numpy (preferably >= 1.15.0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment