Skip to main content

A chemical reaction network compiler for generating large biological circuit models

Project description

BioCRNPyler -- Biomolecular Chemical Reaction Network Compiler

Python toolbox to create CRN models in SBML for biomolecular mechanisms

Build Status codecov PyPI version

BioCRNPyler is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.

Simple example

Building a simple reaction network

from biocrnpyler import *
# let's build the following CRN
# A -->[k1] 2B
# B -->[k2] B+D
# Species
A = Species("A")
B = Species("B")
C = Species("C")
D = Species("D")

#Reaction Rates
k1 = 3.
k2 = 1.4

#Reaciton Objects
R1 = Reaction.from_massaction([A], [B, B], k_forward = k1)
R2 = Reaction.from_massaction([B], [C, D], k_forward = k2)

#Make a CRN
CRN = ChemicalReactionNetwork(species = [A, B, C, D], reactions = [R1, R2])
print(CRN)

More advanced examples can be found in the example folder, here's the first file in the Tutorial series: Building CRNs

Installation

Install the latest version of BioCRNPyler::

$ pip install biocrnpyler

Install with all optional dependencies::

$ pip install biocrnpyler[all]

Further details about the installation process can be found in the BioCRNPyler wiki.

Bugs

Please report any bugs that you find here. Or, even better, fork the repository on GitHub, and create a pull request (PR). We welcome all changes, big or small, and we will help you make the PR if you are new to git (just ask on the issue and/or see docs/CONTRIBUTING.md).

Versions

BioCRNpyler versions:

  • 1.0.0 (latest stable release): To install run pip install biocrnpyler
  • 0.2.1 (alpha release): To install run pip install biocrnpyler==0.2.1

License

Released under the BSD 3-Clause License (see LICENSE)

Copyright (c) 2020, Build-A-Cell. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biocrnpyler-0.9.1.tar.gz (103.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biocrnpyler-0.9.1-py2.py3-none-any.whl (101.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file biocrnpyler-0.9.1.tar.gz.

File metadata

  • Download URL: biocrnpyler-0.9.1.tar.gz
  • Upload date:
  • Size: 103.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for biocrnpyler-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c55e9423917324248efdc5e41d55bcc42054979426b573cd83a2351ac7a9be9c
MD5 c06595eea9a617282dbef6098983a08b
BLAKE2b-256 b1406a656809796e64eba9b1ee98e046f1207ba12835a2a4ca39c1ea23c17109

See more details on using hashes here.

File details

Details for the file biocrnpyler-0.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: biocrnpyler-0.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 101.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for biocrnpyler-0.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81b0b3ef6e94646701d65895260d1845cb7cb28985c4656232eeac26c1df06b6
MD5 e2cdbc73faf30528dc8a956fc8774253
BLAKE2b-256 df555744a0e0283442e25455fa2c403b50c17da9de95fd61a7c85482b4e3c407

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page