Coder Social home page Coder Social logo

roadrunner.jl's Introduction

Julia Bindings for libRoadRunner

Build Status

Build Status

Introduction

This project represents a set of Julia (https://julialang.org/) bindings to libRoadRunner (http://libroadrunner.org/). libRoadrunner is a SBML compliant high performance and simulation engine for systems and synthetic biology. This RoadRunner.jl package supports SBML and Antimony (http://antimony.sourceforge.net/) files as input.

Note that RoadRunner.jl is only applicable on Windows and Linux, so users cannot run it on Mac until an update in the future.

Citing

If you use any of the software, please please cite the article (https://doi.org/10.1093/bioinformatics/btac770) and GitHub website (https://github.com/SunnyXu/RoadRunner.jl). Thanks.

Quick Start

julia> import Pkg
julia> Pkg.add("RoadRunner")
julia> using RoadRunner

Documentation

The documentation can be found at: https://SunnyXu.github.io/RoadRunner.jl/

The main code of this package is based on the existed software of libRoadRunner and libAntimony.

src/RoadRunner.jl and src/rrc_utilities_binding.jl refer to the documentation of libRoadRunner https://github.com/sys-bio/roadrunner.

src/antimony_binding.jl refers to the documentation of libAntimony C API-antimony_api.h (http://antimony.sourceforge.net/antimony__api_8h.html)

Requirements

This current version of Julia package is suitable for Window 64 and Linux, and it is compliant for Julia version 1.1-1.9.

Examples

An example illustrating how to load an SBML file.

using RoadRunner
sbmlFile = "\\path\\to\\file.xml"
f = open(sbmlFile)
sbmlStr = read(f,String)
close(f)
rr = RoadRunner.createRRInstance()
RoadRunner.loadSBML(rr, sbmlStr)

An example showing how to load a model in Antimony format.

using RoadRunner
ant_str = """    
    const Xo, X1
    Xo -> S1; k1*Xo - k2*S1
    S1 -> S2; k3*S1
    S2 -> X1; k4*S2

    Xo = 1;   X1 = 0
    S1 = 0;   S2 = 0
    k1 = 0.1; k2 = 0.56
    k3 = 1.2; k4 = 0.9
"""
rr = RoadRunner.loada(ant_str)

We thank Luke Y Zhu for his assisting and initiating this Julia package!

roadrunner.jl's People

Contributors

lukez-pi avatar basie12 avatar hsauro avatar

Stargazers

Nils avatar

Watchers

James Cloos avatar Jin XU avatar

Forkers

sys-bio ltatka

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.