libRoadRunner: A simulation and analysis library for SBML
Project description
libRoadRunner
Summary
libRoadRunner is a C/C++ library that supports simulation of SBML based models. It uses LLVM) to generate extremely high performance code and is the fastest SBML-based simulator currently available (ref). Its main purpose is for use as a reusable library that can be hosted by other applications, particularly on large compute clusters for doing parameter optimization where performance is critical. It also has a set of python bindings that allow it to be easily used from python.
We provide C/C++, Python and Julia bindings.
Documentation
Local Documentation (May be used if above link is failing.)
Installation
Binaries for Windows, MacOS (including universal binaries for the M1 processor), and Linux
Python wheels are available at the above binaries link, and can also be installed via pip:
pip install libroadrunner
Example Python usage
Once installed in Python (using pip or using the wheels directly), the following simple example script should demonstrate the basics of a roadrunner simulation:
import roadrunner
rr = roadrunner.RoadRunner("https://www.ebi.ac.uk/biomodels/model/download/BIOMD0000000010.2?filename=BIOMD0000000010_url.xml")
results = rr.simulate(0, 2000, 200)
rr.plot()
print(results)
This simple script downloads BioModels 10 (the Kholodenko model of MAPK oscillation) and runs a simulation for 2000 seconds, storing the results in results
. If your system is set up to display figures, it will display a plot of the simulation, then print the numerical values obtained.
Dependencies
All libRoadRunner binaries are self-contained, and should include all libraries it depends on. When building libRoadRunner from source, its dependencies may either be downloaded en masse from the libroadrunner-deps repository, may be obtained directly from their respective sources, or the libraries may be installed directly on your operating system. Compilation requires a C++17 compiler.
The one exception to the above is that the libRoadRunner binaries depend on the 'ncurses' library on linux.
Copyright
Copyright 2013-2022
E. T. Somogyi 1, J. K. Medley 3, M. T. Karlsson 2, M. Swat 1, M. Galdzicki 3, K. Choi 3, W. Copeland 3, L. Smith 3, C. Welsh 3 and H. M. Sauro 3
- Biocomplexity Institute, Indiana University, Simon Hall MSB1, Bloomington, IN 47405
- Dune Scientific, 10522 Lake City Way NE, #302 Seattle WA
- Department of Bioengineering, University of Washington, Seattle, WA, 98195
The current (2021-present) developer is Lucian Smith.
Contributing
Contributors may submit pull requests at any time, and are asked to follow some general contribution guidelines. Bug requests and feature suggestions are also welcomed on the issues page.
libRoadRunner supports the following features:
- Time Dependent Simulation (with optional conservation law reduction) using CVODE
- Supports SBML Level 2 to 3 but currently excludes algebraic rules and delay differential equations
- Uses latest libSBML distribution
- Defaults to LLVM code generation on the backend, resulting is very fast simulation times
- Optional generation of model C code and linking at run-time
- Add plugins, distribution comes with Levenberg-Marquardt optimizer plugin
- Compute steady state
- Metabolic Control Analysis
- Frequency Domain Analysis
- Access to:
- Eigenvalues and Eigenvectors
- Jacobian, full and reduced
- Structural Matrices of the stoichiometry matrix
Availability
RoadRunner is licensed for free as an open source programmatic library for use in other applications and as a standalone command line driven application. Its C++ API, C API, and Python APIs have comprehensive documentation. On Windows, OS X, and Linux binary files can be downloaded from the Releases page, and the Python bindings can additionally be downloaded via pip.
Docker images
Currently we have a manylinux2014 build docker image. The base provides the environment you need to be able to build roadrunner yourself on manylinux2014 (centos 8).
To get the base image:
docker pull sysbiouw/roadrunner-manylinux2014-base:llvm-13.x
Docker build scripts can be found under the docker
directory from the roadrunner
root directory.
We can also build roadrunner in alternative docker environments (ubuntu etc.) on request.
Citing
If you use RoadRunner in your research, we would appreciate following citations in any works you publish:
Ciaran Welsh, Jin Xu, Lucian Smith, Matthias König, Kiri Choi, Herbert M Sauro, libRoadRunner 2.0: a high performance SBML simulation and analysis library, Bioinformatics, Volume 39, Issue 1, January 2023, btac770, https://doi.org/10.1093/bioinformatics/btac770
Endre T. Somogyi, Jean-Marie Bouteiller, James A. Glazier, Matthias König, J. Kyle Medley, Maciej H. Swat, Herbert M. Sauro, libRoadRunner: a high performance SBML simulation and analysis library, Bioinformatics, Volume 31, Issue 20, 15 October 2015, Pages 3315–3321, https://doi.org/10.1093/bioinformatics/btv363
Acknowledgements
This work is funded by NIGMS grant: GM081070
Licence
Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS-IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
In plain english this means:
You CAN freely download and use this software, in whole or in part, for personal, company internal, or commercial purposes;
You CAN use the software in packages or distributions that you create.
You SHOULD include a copy of the license in any redistribution you may make;
You are NOT required include the source of software, or of any modifications you may have made to it, in any redistribution you may assemble that includes it.
YOU CANNOT: redistribute any piece of this software without proper attribution;
libRoadRunner logo
The libroadrunner logo is an adaptation of the image originally posted to Flickr by El Brujo+ at http://flickr.com/photos/11039104@N08/2954808342. It was reviewed on 9 August 2009 by the FlickreviewR robot and was confirmed to be licensed under the terms of the cc-by-sa-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for libroadrunner-2.3.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33da6f4181cb80939ea401a8af7fde87e2a53407741d11bfaa70c315c2867fbf |
|
MD5 | 8c6aead148e18dcba95694b9dea67a1f |
|
BLAKE2b-256 | a6725ab7a973018b577618bdf0941a763a080b538d6404f2ad69d1ee71c8eedd |
Hashes for libroadrunner-2.3.1-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ba677c255956c60e3a3aff64878c6392c58be7d80e86bfad470515cda13b68 |
|
MD5 | e11ddf2923e65ac9c86061de83e8edb2 |
|
BLAKE2b-256 | 27b6216a143621bf0fa075e299e37f3a3360036e9f1dae9313c66af696780e76 |
Hashes for libroadrunner-2.3.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41de6ce81ecbd1945e5b01085b19a26b765019ac6346d15a89f40cdf81daecde |
|
MD5 | 581451ad96197a347259eb5c1a90291a |
|
BLAKE2b-256 | 2426779c0d4ff46aa02b95a27affd6a768a759bb7d2f47764e6f74072bea62f7 |
Hashes for libroadrunner-2.3.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d01f80b4ecd1b3c526e05548d3931fa593555a0e39d96bb2c8dec31c34afbb1 |
|
MD5 | ba8d87cd06ca0a7405059e530cb4deac |
|
BLAKE2b-256 | 21965ec762ec3d838eb5b28108efb45f50a0811b34aff7d98b2ed3401955e4c1 |
Hashes for libroadrunner-2.3.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f071b9232ce5a06499f581a4a582c7c68917b534798272c9e3746fec458d6c60 |
|
MD5 | 0dcb212c13b19b6ac073c9e653773285 |
|
BLAKE2b-256 | 9d7ca748ff3a9ce71cd073c006a110d7d9a98c1c640f3a60b6cc94641a812b74 |
Hashes for libroadrunner-2.3.1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69fd0da2499e5d73d96c49b7f8a8716ce5d25de3fff4a3995d2c140b29595377 |
|
MD5 | e46fc85e9442192d0ac5f7a3d0b72089 |
|
BLAKE2b-256 | 8490bdd832fdf503551572da6a69b50f1b45414dcf6f59f8fb290eebe0df26b8 |
Hashes for libroadrunner-2.3.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ebe5284527bc3bce4e3df97aa242628467051052b435d3f455f1c37dfd8132 |
|
MD5 | e992fb84f4641628a3e956626da3e402 |
|
BLAKE2b-256 | 056645ffe7c229d30a5473ece953d97dbfa5af71bf5369d2e4065d745e0791f4 |
Hashes for libroadrunner-2.3.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 583fb2d9a1ce391c2bea49c8003db6578428d51a74be8f2a85613cce56ec2715 |
|
MD5 | 2491daf0530a7af8782f95baca3182b3 |
|
BLAKE2b-256 | 2a2e51a29b28ca955e54d9521842f18b49cde6550c640455237e911a6b139a5f |
Hashes for libroadrunner-2.3.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a70c7ea59d4c56ede34b7126e289371b9216f633256169933b485fd11fcab06 |
|
MD5 | d6e1d7f7b9fa57eef8d464d148352085 |
|
BLAKE2b-256 | d80ac20c820c7bc063cb7e29ec144b3eac4a49013a09f9d4b771ae85f1856f55 |
Hashes for libroadrunner-2.3.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ab959827b4b5db7fbf10ee7287b436107f2bc306d7e8724e0d0db7b9cc1cec |
|
MD5 | ab681f95d97fb36a3901864b830d7396 |
|
BLAKE2b-256 | 4e0038a08a91cb180c6c94fd53ed921495d91f2ec7e4397b1625628554222b42 |
Hashes for libroadrunner-2.3.1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8af90afe3bf1b270e85bc4f797d145e2d554b3365db132ce9e18e4c9b95f0a9 |
|
MD5 | 4096c95a48b703622a80bc09d0bbd6e3 |
|
BLAKE2b-256 | 0aa30f823742a54bebd3542e44ce8dd06e07d24d6a5e0de7a6dbb6fdd0fdd56e |
Hashes for libroadrunner-2.3.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15efb73882bee53a6698f51da7ef7508420172a38babdc62fd66c0173fa11bcf |
|
MD5 | 9d0c0e6f371316b19105cf3a92c8dd8d |
|
BLAKE2b-256 | 683f5183c26bb90a40123f75837cd452f3fca67799bf319b3dc6b37bd153a416 |
Hashes for libroadrunner-2.3.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09da06077304b87933ec80fe1d85e7f17c77da45a705f39d595618cc5f096156 |
|
MD5 | 55432f417a0e93a661b8da56d932ef8f |
|
BLAKE2b-256 | fd210d598b9259f2df91eaee5dfc5425d749e68d2c2c554312c92095219101df |
Hashes for libroadrunner-2.3.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574308bf67ded1fce63551a043840d6ca0fc0c094a42c79a11e58e24a71dfb91 |
|
MD5 | 2d985de8fb7c131a6971dfeae1c666a1 |
|
BLAKE2b-256 | 390fd57ff5f5326a892f257fe79ab28bc76ffe1c9cc2597e2fc8dcc739537b70 |
Hashes for libroadrunner-2.3.1-cp38-cp38-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be80788dfdea85a4278a8cb3ef1e94baddc4f1d6c9e0f6b06191261d2ba9510 |
|
MD5 | 90151e291dde2b9c2db461a1d2b2e846 |
|
BLAKE2b-256 | 4fa5e5a4acbc0aea150affec2315ecccf53da6b9f7da04e8ec2e4c035f59bc23 |
Hashes for libroadrunner-2.3.1-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc0a5128b069b85dfb57dbfa14d1983a0f0c479a878730dd566b520f79617b8a |
|
MD5 | ee100bdc2490ec5916761bf96c263746 |
|
BLAKE2b-256 | 1b6ad51e5dc86b493fd385ea30d0dd7bb5318c8c1a628bffd2e9dad71a64ced6 |