Giter VIP home page Giter VIP logo

bcsgen's Introduction

BCSgen

Biochemical Space language software tool


This tool serves for interpreting basic functionality to maintain Biochemical Space language. It provides state space generating which can be used for analysis and visualisation.

We are going online soon!

Graphical User Interface

The most proper way is to run the binary file with Graphical User Interface suitable for your platform.



To obtain state space:

  • write BCS model1 (or load it from a file),
  • choose State space file - JSON file for storing generated state space,
  • press Compute button.

To compute reachability:

  • set entities (with their stoichiometry),
  • press Check reachability button.

To simulate the model:

  • choose deterministic or stochastic variant,
  • set maximum computation time in seconds,
  • (for stochastic option, set number of runs decide whether apply interpolation)
  • press Simulation button.

If binary file is not working, build Graphical User Interface2 (in GUI directory) by running:

python gui.py <PathToParser>
  • PathToParser - path where RuleParser is located3

Command Line Interface

Alternatively, CLI can be used.

  • enter CLI directory (serves as user's workspace),

  • write your BCS model into a .bcs file,

  • to obtain state space, run script:

      python state_space.py <model.bcs> <stateSpaceOutputFile.json>
    
    • model.bcs - given BCS model
    • stateSpaceOutputFile.json - JSON file for storing generated state space

1 BCS model is simple text file format containing initialized model, i.e. set of rules and initial state. Examples of such models are in Examples directory.

2 To do it, you need to have PyQt python library installed. For Windows, use this binary file, for Linux use following instructions, and for Mac OS use this installer (with all requirements). Next, matplotlib is required for plotting simulation results. Moreover, additional python packages are required (markdown, numpy, sympy, scipy) and might be installed using pip.

3 RuleParser improves writing and allows validation of BCSL models inside BCSgen. Therefore path to directory with RuleParser.py and _RuleParser.so must be specified (alternatively, both files might be placed in Core/Import/ directory).

On Linux machines, linux_install.sh script can be used in order to install all required packages.

bcsgen's People

Contributors

xtrojak avatar

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.