Skip to content

This repository holds simple abstract disease models implemented using SBML arrays that can be simulated in iBioSim. It also contains MIST implementation of the same examples for reference. This code supports the paper titled: "Disease Models using the System Biology Markup Language (SBML)"

License

Notifications You must be signed in to change notification settings

Jacob-Barhak/DiseaseModelsSBML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disease Models Using SBML Arrays

This repository implements several simple disease models using and extension to the Systems Biology Markup Language (SBML) called SBML Arrays

The purpose of this work is to show that it is possible to generate reproducible disease models using the SBML arrays package.

The models are implemented using two paths:

  1. iBioSim using SBML files generated by a python script
  2. The MIcroSimlation Tool (MIST) as a reference for comparison

These examples are supporting the paper titled: "Disease Models using the System Biology Markup Language (SBML)".

This work extends previous work on sharing disease models to support micro-simulation.

FILES:

General

  • README.md - is the file you are reading now
  • License.txt - GNU Lesser General Public License version 3 license file

iBioSim directory: contains example generation code and iBioSim processing

  • simulation_results.zip - an archive containing simulation runs for all examples
  • Disease.omex - an archive containing all of the information to reproduce the results.

iBioSim/SBML sub directory - containing SBML files and the python script that generated them that were passed to iBioSim

  • SBMLExamplesForPaper.py - The python file that generates the SBML examples
  • Example*.xml - Generated SBML code representing example *

scripts sub directory - includes results and scripts to plot them

  • plot0*.R - R script to generate the plots for example*
  • plot.R - R script to generate all plots
  • util.R - R script that has a function to export statistics to a csv file.
  • parser.py - a python script to convert tsd to csv files.

stats_analysis sub directory - includes statistical data from iBioSim

  • Example*n=**.csv - Includes the min, max, mean, and std. dev. for each variable in each example, for 1, 10, and 100 runs.

MIST directory: contains the reference implementation using MIST

  • Example*Random.zip - MIST model file before execution of example *
  • Example*_short_RepOpt - Report options file for generating report within MIST for example *
  • RunSimulations.bat - A batch file running all simulations using MIST commands
  • Results.zip - archive containing results from executing the RunSimulations.bat script

MIST/Results.zip archive contents

  • Example*Random_90000??.zip - MIST model file after execution with results for example * repetition ??
  • Example*Random_90000??_TraceBack.txt - MIST RAndom state traceback file to allow reproducing results for example * repetition ??
  • Example*Random_90000??.csv - statistics of simulation run executed for example * repetition ??
  • ExampleRandom_9000000.csv - statistics of 100 repetitions for example * repetition ?? using Min,Max,Mean,Median,STD
  • ExampleRandom_9000090.csv - statistics of 10 repetitions for example * repetition ?? using Min,Max,Mean,Median,STD

Comparison directory: contains code to compare MIST and iBioSim results and generate statistics and graphics

  • CompareResults.py - a python script generating the comparison plots between MIST and iBioSim

Comparison/Results Sub Directory - Statistics comparison results generated by CompareResults.py

  • Example*Comparison.csv - spreadsheet file comparing all statistics for all repetitions for example *
  • Example*DiffPlot.html - Plot comparing Example * MIST and iBioSim results for all repetitions for all variables and stratifications
  • Repetitions*.html - Plot comparing all results for * repetitions

Comparison/Figures Sub Directory - generated plots

  • Example*.pdf - pdf version of the html file comparing results for example *
  • Run*.pdf - pdf version of the html file comparing results for all examples for * repetitions

USAGE:

Each file uses a different system and format. To run some of the files to reproduce paper results specific tools are required: The following tools and versions were used to generate the results in this paper:

For MIST Files

  1. Install MIST
  2. Copy MIST to a working directory of choice
  3. Copy the files ExampleRandom.zip, Example_short_RepOpt, RunSimulations.bat to the working directory
  4. Open Anaconda prompt and change to the working directory using the command CD DIrectoryYouChose
  5. Execute the script RunSimulations.bat

To Regenerate iBioSim Results

  1. Optional: You can regenerate the SBML files already provided in this repository using the command: python SBMLExamplesForPaper.py
  2. Install iBioSim using the instructions in: http://www.async.ece.utah.edu/ibiosim
  3. Run iBioSim
  4. Select from the menu: File->New->Project.
  5. Import the Disease.omex archive and the results will be generated.
  6. Run python parser.py where directory is where the tsd files were generated inside the project directory.
  7. Create an Example* directory for each example where the R scripts are located. Copy the converted csv files to their corresponding Example* directory. Alternatively, you can just extract iBioSim/simulation_results.zip in scripts.
  8. Execute plot.R.

To Compare results and generate plots

  1. Copy all iBioSim results to a sub-directory called results in the same directory MIST results reside
  2. Copy the file CompareResults.py to the MIST directory where MIST results exist
  3. Type the command "python CompareResults.py"

VERSION HISTORY:

Development started on April 2017 following this discussion on the SBML mailing list: https://groups.google.com/forum/#!topic/sbml-discuss/gQsLHmP5i9U

First upload to Github on 9-Sep-2017 - no version number assigned Major update on 12-MArch-2018 Minor issues merged on on 18-MArch-2018

DEVELOPER CONTACT INFO:

Please pass questions according to implementation to:

SBML Arrays

Chris Myers

Email: myers@ece.utah.edu

http://www.async.ece.utah.edu/Myers

Leandro Watanabe

Email: l.watanabe@utah.edu

https://leandrohw.github.io/

MIST

Jacob Barhak

Email: jacob.barhak@gmail.com

http://sites.google.com/site/jacobbarhak/

ACKNOWLEDGEMENTS:

Many thanks to the SBML discussion groups that helped with this work by participating in the discussion or providing solutions: Lucian Smith, Brett Olivier, Nicolas Le Novere, Fengkai Zhang, Sarah Keating.

This work used the MIcro Simulation Tool (MIST) that is based on IEST. The IEST GPL disease modeling framework was initially supported by the Biostatistics and Economic Modeling Core of the MDRTC (P60DK020572) and by the Methods and Measurement Core of the MCDTR (P30DK092926), both funded by the National Institute of Diabetes and Digestive and Kidney Diseases. The modeling framework was initially defined as GPL and was funded by Chronic Disease Modeling for Clinical Research Innovations grant (R21DK075077) from the same institute. MIST, however, was developed without financial support.

Developments for arrays within iBioSim has been supported by the National Science Foundation under Grants CCF-1218095 and CCF-1748200. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

The arrays package support and its development within the JSBML API was supported by Google Summer of Code 2014.

LICENSE

This file is part of the SBML Arrays Examples. The SBML Arrays Examples is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The SBML Arrays is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

ADDITIONAL CLARIFICATION

The SBML Arrays Examples is distributed in the hope that it will be useful, but "as is" and WITHOUT ANY WARRANTY of any kind, including any warranty that it will not infringe on any property rights of another party or the IMPLIED WARRANTIES OF MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS assume no responsibilities with respect to the use of the SBML Arrays Examples. See the GNU Lesser General Public License for more details.

About

This repository holds simple abstract disease models implemented using SBML arrays that can be simulated in iBioSim. It also contains MIST implementation of the same examples for reference. This code supports the paper titled: "Disease Models using the System Biology Markup Language (SBML)"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages