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.1.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.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplesedml-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9206785569fbbd356a4512f337c1cc507d969d8fb47cf78818a73466739b9909
MD5 f6b10b87e561401920ed2bb0d40faee9
BLAKE2b-256 8e4a5a58490c6d30217345701735c84335ed33d21da1af9c1c70e34face9595d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplesedml-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c03b81c50f0de9606e925350e40dda19f667a7fe13a496ec4f259be44ad4926f
MD5 85934cb5716868c2aec950a211c5e725
BLAKE2b-256 10081f454899da9cd0a8901cf2578278d688cdeb03ce691fed0944ea7c3eadb8

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