Questions tagged [pysb]

PySB is a Python framework for Systems Biology modeling.

PySB is a framework for building mathematical models of biochemical systems as Python programs. PySB abstracts the complex process of creating equations describing interactions among multiple proteins or other biomolecules into a simple and intuitive domain specific programming language (see example below), which is internally translated into BioNetGen or Kappa rules and from there into systems of equations. PySB makes it straightforward to divide models into modules and to call libraries of reusable elements (macros) that encode standard biochemical actions. These features promote model transparency, reuse and accuracy. PySB also interoperates with standard scientific Python libraries such as NumPy, SciPy and SymPy enabling model simulation and analysis.

The PySB website is at http://pysb.org.

4 questions
1
vote
1 answer

Error Using CupSodaSimulator class os PySB

I'm using the PySB library for a graduation project. The initial goal is to simulate an SBML on a GPU using the pysb/cupSODA interface provided by the CupSodaSimulator class of the pysb.simulator.cupsoda model. I wrote a simple Python script from…
lmriccardo
  • 87
  • 8
0
votes
1 answer

Introducing a YAML string in a python script

I am working on a python code able to read a YAML file and generate a rule-based model in PySB. A new rule in the YAML file is specified like: --- !rule name: L_binds_R reaction: L(unbound) + R(inactive) >> L(bound)%R(active) rates: -…
Mastodon
  • 131
  • 12
0
votes
1 answer

Adding BioNetGen to Anaconda environment

I am trying to use PySB with Anaconda3 and Windows7. I have added the relevant depedencies (numpy, scipy, sympi, perl) to a working environment. However I am struggling with the BioNetGen program. I have downloaded it, and added the path to BNG, but…
josijosi
  • 1
  • 1
0
votes
2 answers

run_ssa in PySB library working example?

I tried run_ssa from Python PySB library using "Hello world" ODE simulation model (replacing the concentrations with corresponding molecular number and converting deterministic rates to stochastic equivalents). This is trajectories obtained using…