File size: 1,901 Bytes
2b677b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
About
=====

*BioMASS* is a computational framework for modeling and analysis of biological signaling systems in Python.
It provides useful tools for model construction, numerical simulation, parameter estimation, network analysis, and result visualization.

Example
-------

Text file (``michaelis_menten.txt``):

.. code-block::
    :linenos:
    
    E + S ⇄ ES | kf=0.003, kr=0.001 | E=100, S=50
    ES → E + P | kf=0.002
    
    @obs Substrate: u[S]
    @obs E_free: u[E]
    @obs E_total: u[E] + u[ES]
    @obs Product: u[P]
    @obs Complex: u[ES]
    
    @sim tspan: [0, 100]

Text-to-model conversion:

.. code-block:: python

  >>> from biomass import Text2Model, create_model, run_simulation
  >>> description = Text2Model("michaelis_menten.txt")
  >>> description.convert()
  Model information
  -----------------
  2 reactions
  4 species
  4 parameters

  >>> model = create_model("michaelis_menten")
  >>> run_simulation(model)
    
Output:

.. image:: https://raw.githubusercontent.com/pasmopy/pasmopy/master/docs/_static/img/michaelis_menten_sim.png

For an advanced model, see `a mechanistic model of the c-Fos expression network dynamics <https://biomass-core.readthedocs.io/en/latest/tutorial/cfos.html>`_.

License
-------

The software is released under the `Apache License 2.0 <https://opensource.org/licenses/Apache-2.0>`_.
For details, see the `LICENSE <https://github.com/biomass-dev/biomass/blob/master/LICENSE>`_ file in the biomass repository.

Author
------

`Hiroaki Imoto <https://github.com/himoto>`_

Contact
-------

Please contact me with any questions or comments via `Issues`_ |  `Discussions`_ on GitHub.
You can also always send me an `email <mailto:hiroaki.imoto@ucd.ie>`_.

Any contributions to BioMASS are more than welcome!

.. _Issues: https://github.com/biomass-dev/biomass/issues
.. _Discussions: https://github.com/biomass-dev/biomass/discussions