Skip to main content

Python Subnet Discovery for Systems Biology

Project description

Build

SimpleSEDML

A simple API for using the Simulation Experiment Description Markup Language (SED-ML), a community standard for describing simulation experiments.

The project provides a python interface to generating SED-ML based on the abstractions provided by phraSED-ML to describe simulation experiments. These absractions are: (a) models (including changes in values of model parameters); (b) simulations (including deterministic, stochastic, and steady state); (c) tasks (which specify simulations to run on tasks and repetitions for changes in parameter values); and (d) output for data reports and plots.

SimpleSEDML generalizes the capabilities of PhraSEDML and simplifies its usage by exploiting the Python environment:

  • A model source can be a file path or URL and may be in the Antimony language as well as SBML;
  • Repeated tasks are defined more simply by the use of a pandas DataFrame.
  • Convenience methods are provided to simplify the API.

Example

See this Jupyter notebook for a detailed example.

Consider the model below in the Antimony language.

mymodel = """
model myModel
    J1: S1 -> S2; k1*S1;
    k1 = 0.5;
end
"""

We want to simulate this model and do a time course plot of all floating species in the model.

from simple_sedml import SimpleSEDML

sedml_str = SimpleSEDML.makeTimeCourse(mymodel)

We can print, save, or execute sedml_str. To execute it,

SimpleSEDML.executeSEDML(sedml_str)

Restrictions

  1. If there are multiple task directives and/or there is a repeated task directive AND there is a report directive, SimpleSEDML.execute only returns the results of the last simulation. You can circumvent this by iterating in python to obtain the desired reports.

Plans

  1. First implementation of SimpleSEDML with methods for addModel, addSimulation, addTask, addReport, execute, and to_sedml.

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

simplesedml-0.0.3.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

simplesedml-0.0.3-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file simplesedml-0.0.3.tar.gz.

File metadata

  • Download URL: simplesedml-0.0.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for simplesedml-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9dff5243ab4caa39aed769a75db377e881e64ed6c10fa31c677ba096ccc9459b
MD5 67da57a861ab71b85d77612350767534
BLAKE2b-256 c9e189a8d52cf4c3f1f0d84b4986293b64d8482293b61bc763a13a1717be2493

See more details on using hashes here.

File details

Details for the file simplesedml-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: simplesedml-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for simplesedml-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8bb88ee5c897c0ea3542a805a11de8862f726b832cda8704c1e6a5c5c64e452
MD5 59e346328b32d78955d2e0d770196cfe
BLAKE2b-256 df8708511582d8facee2af518741f9cdf40ed2787dfaedf6c6ccdfb55fad86d8

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