Revision 9c4b41905123055be4c5334c08744e27de6828b8 authored by Pierre Boutillier on 18 September 2015, 08:05:02 UTC, committed by Pierre Boutillier on 18 September 2015, 10:36:00 UTC
1 parent 7b3fbc4
README.md
<img
src="https://rawgithub.com/Kappa-Dev/KaSim/master/man/img/KaSim-Logo.svg"
alt="KaSim logo" title="Stochastic Kappa Simulator" align="right" height="90"/>
# KaSim
KaSim is a stochastic simulator for rule-based models written in Kappa. A pdf of
the reference manual is available
[here](https://github.com/Kappa-Dev/KaSim/releases);
the latex sources are available in the man/ directory.
## Installation
To compile KaSim, you need the OCaml native compiler version 4.02.3 or
above and the findib library. To check whether you have them, type
`ocamlfind ocamlopt -version`
If you use a package manager (or opam, the OCaml package manager), OCaml
compilers and findlib are really likely provided by it. Else, OCaml native
compilers can be downloaded on [INRIA's website](http://caml.inria.fr/). The
Windows bundle contains findlib. Findlib sources are available on
[camlcity.org](http://projects.camlcity.org/projects/findlib.html).
To create kaSim binaries, simply type
`make bin/KaSim`
This should produce KaSim binaries. You will need your own plotting program
(like gnuplot) to visualize curves.
## Usage
In order to run a simulation of 1000 rule applications, type
`bin/KaSim -i kappa_file -e 1000 -p 1000 -o data_file`
This will produce a data file of 1000 point (-p option) containing the
trajectory that was produced during the simulation.
Type:
`bin/KaSim --help`
for a complete list of options.
Computing file changes ...