Creating simulation projects (COMBINE/OMEX archives with SED-ML files)
Authors can publish simulation projects to BioSimulations in four easy steps. Importantly, this workflow supports a broad range of simulations involving a broad range of modeling frameworks, simulation algorithms, model formats, and simulation tools.
- Create a simulation project (COMBINE/OMEX archive).
- Create one or more models (e.g., BNGL, CellML, SBML files).
- Create one or more simulations (SED-ML files).
- Create zero or more visualizations of the results of the simulations (SED-ML plots or Vega data visualizations).
- Capture metadata about the project (e.g., taxa, citations, license in an OMEX Metadata RDF-XML file).
- Execute the project using runBioSimulations.
- Use runBioSimulations to verify that the project executed as intended.
- Use runBioSimulations to publish the project.
BioSimulations uses COMBINE/OMEX archives to encapsulate the files and metadata associated with a project. The guide below summarizes the steps required to create a project. More information about the necessary files, such as the formats, conventions, standards, and organization is provided in the subsequent sections.
Create a directory for the simulation project.
Create one or more models: Create files that describe the models that you would like to simulate and save these files to the directory for the project. Alternatively, download a model file from a repository such as BioModels.
- BioNetGen Language (BNGL)
- GINsim Markup Language (GINML, ZGINML)
- NeuroML/Low Entropy Model Specification Language (LEMS)
- Resource Balance Analysis (RBA) XML format
- Smoldyn simulation configuration format
- Systems Biology Markup Language (SBML)
- SBML Flux Balance Constraints (SBML-fbc) package
- SBML Qualitative Models (SBML-qual) package
- SBML Mass Action Stoichiometric Simulation (MASS) schema
Create one or more simulations: Create a Simulation Experiment Description Markup Language (SED-ML) file which describes the simulation(s) that you would like to execute and the simulation results that you would like to record.
Currently, all of the validated simulation tools support a subset of SED-ML L1V3 including:
Fully supported features supported by all BioSimulators tools:
- Models (
- Model attribute changes (
- Steady-state (
sedml:steadyState) and/or uniform timecourse (
- Algorithms (
- Algorithm parameters (
- Tasks for the execution of individual simulations of individual models (
- Data generators for mathematical expressions (
sedml:dataGenerator/@math) of individual variables (
- Reports (
- Plots (
Partially supported, advanced, features supported by some BioSimulators tools:
- Internal model sources (source is a another model in the same SED-ML document)
- Models sourced by identifiers (e.g.,
- More complex model changes (
- Repeated tasks (
- Multi-dimensional reports (
sedml:report) and plots (
- 3D plots (
- Models (
Create an OMEX manifest file which describes your model and simulation files: OMEX manifest is a format for describing a collection of files, including the format (e.g., CellML, SBML) of each file. Several example COMBINE archives are available here. More information about the OMEX manifest format is available at the COMBINE website.
Package your project into a COMBINE archive: A COMBINE archive is a zip file which contains an OMEX manifest file and all of the other files which comprise a project. Several example COMBINE archives are available here. More information about the OMEX and COMBINE formats is available at the COMBINE website. The COMBINE website lists several software tools for creating COMBINE archives, including COMBINE Archive and COMBINE Archive Web.
Interactive tutorials for creating projects can be found here.
Conventions for simulation projects
To make it easy for investigators to work with a broad range of model formats, modeling frameworks, simulation types, simulation algorithms, and simulation tools, BioSimulations uses existing community standards for creating and describing projects. BioSimulations uses the Simulation Experiment Description Markup Language (SED-ML) to describe simulation experiments and COMBINE/OMEX archive formats for packaging and distributing simulation projects. Vega is used to describe charts, plots, and visualizations of simulation results. The OMEX-Metadata format is used to describe the metadata associated with a simulation project. More information about BioSimulation's use of these standards, and how to create and publish a project can be found below.
SED-ML is used to describe simulation experiments. This includes:
- Which models to simulate
- How to modify models to simulate variants, such as alternative initial conditions
- What type of simulations to execute (e.g., steady-state, time course)
- Which algorithms to use (e.g., CVODE, SSA)
- Which observables to record
- How to reduce the recorded values of the observables
- How to plot the observables
- How to export the observables to reports (e.g., CSV, HDF5)
runBioSimulations provides a simple web form for building COMBINE/OMEX archives with SED-ML files from model files (e.g., CellML, SBML). This tool supports all of the model languages supported by BioSimulations.
The table below provides links to documentation about how to use SED-ML with specific model languages, and provides the URNs and URIs that should be used with SED-ML and OMEX manifests in COMBINE/OMEX archives.
|Language||EDAM format||SED-ML URN||COMBINE archive specification URI||MIME type||Extensions|
More detailed information about creating SED-ML files to work with BioSimulations can be found at here.
BioSimulations recommends Vega for data visualizations of simulation results. Vega is a powerful, declarative grammar for describing interactive, two-dimensional data visualizations.
One key feature of Vega is that it modularly captures the graphical marks which comprise visualizations and how those graphical marks should be painted with data. This feature makes it easy to produce data visualizations for multiple simulation conditions by combining the same graphical marks with results from multiple simulations. This features also makes the provenance of data visualizations transparent. As a result, Vega is ideal for collaboration and publication.
Vega files can be included in the COMBINE/OMEX archive of a simulation project to enable visualization on the project view page.
More information on how to create Vega files that can incorporate data from BioSimulations projects can be found at here.
BioSimulations uses the OMEX Metadata specification to capture metadata about the simulation project. BioSimulations has a list of recommended metadata fields that can be used to capture metadata about a simulation project. Information about how to use these fields can be found here.
BioSimulations uses COMBINE/OMEX archives to bundle the multiple files typically involved in modeling projects into a single archive. These files include, but are not limited to:
- Models (e.g., in CellML, SBML format)
- Simulation experiments (SED-ML files)
- Visualizations for visualizing simulation results (e.g., Vega files)
- Supplementary files, such as data used to calibrate the model
- Metadata about the simulation project (RDF-XML files that follow the OMEX Metadata guidelines)