Python Subnet Discovery for Systems Biology
Project description
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
pandasDataFrame. - 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
- 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
- First implementation of
SimpleSEDMLwith methods foraddModel,addSimulation,addTask,addReport,execute, andto_sedml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9206785569fbbd356a4512f337c1cc507d969d8fb47cf78818a73466739b9909
|
|
| MD5 |
f6b10b87e561401920ed2bb0d40faee9
|
|
| BLAKE2b-256 |
8e4a5a58490c6d30217345701735c84335ed33d21da1af9c1c70e34face9595d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c03b81c50f0de9606e925350e40dda19f667a7fe13a496ec4f259be44ad4926f
|
|
| MD5 |
85934cb5716868c2aec950a211c5e725
|
|
| BLAKE2b-256 |
10081f454899da9cd0a8901cf2578278d688cdeb03ce691fed0944ea7c3eadb8
|