Code Monkey home page Code Monkey logo

bsim's Introduction

BSim is an agent-based modelling tool designed to allow for the study of bacterial populations. By enabling the description of bacterial behaviours, it attempts to provide an environment in which to investigate how local interactions between individual bacterium leads to the emergence of population level features, such as cooperation and synchronisation.

Case studies

Emergent oscillations in a synthetic multicellular consortium

We adapted the model from Chen et al., Science, 2015 (DOI: 10.1126/science.aaa3794).

The code for this case study can be found here.

A video of an example simulation can be found here: https://www.youtube.com/watch?v=FpG7EgIC5yI

Consortium controller

The implementation of the model from our paper 'In-Silico Analysis and Implementation of a Multicellular Feedback Control Strategy in a Synthetic Bacterial Consortium' (Fiore G, Matyjaszkiewicz A, et al., ACS Synth. Biol., 2017; DOI: 10.1021/acssynbio.6b00220).

Code for this example can be found here. Further instructions for running the code can be found in the README.md located in the above directory.

A video of an example simulation can be found here: https://www.youtube.com/watch?v=wBLXv9znhqE

Building and running

BSim can be built and run from your favourite IDE (e.g., IntelliJ IDEA, eclipse, ...); see below for further details.

Alternatively, the whole source tree can be build from the command line using Ant:

ant -f bsim-build-tree.xml

The resulting compiled classes will reside in the directory ./out/*.

Using an IDE

IntelliJ IDEA

  1. Clone this repository.
  2. Open the cloned repository directory as a new project in IntelliJ.
  3. In the project structure pane, right click each source directory (src, examples, and test) and select Mark Directory as -> Sources Root for each directory.
  4. In the project structure pane, right click the lib directory and select Add as Library.
  5. You may need to set the project SDK (your installed Java JDK) and output path (./out). This can be done from File -> Project Structure -> Project Settings -> Project.

Eclipse

See here for details.

Citing BSim

If you have made use of BSim in academic or commercial work, the project can be referenced using the following paper(s):

bsim's People

Contributors

antmatyjajo avatar chofski avatar petros-mina 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.