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

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplesedml-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 458791e398992cb196952aeca350588f8329be900ba500bf72ec6d88cc5ea376
MD5 a78aef3cadd5f478c5fdb0aea65da054
BLAKE2b-256 9312d5128f46893c0c6b5de7132a5c10a63e5150631dcbbf67f54e9e03c8c093

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplesedml-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc58c4d0159c34ae6fcda3979c1d9a7cec04485905cc11ef81c198fba22a0df4
MD5 667a0859b196c1694316b8729219d3a6
BLAKE2b-256 9699d612700f860ef2837646f3af51a0bf638a6c295a86df58d28d45068a04b7

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