The Journal of Open Source SoftwareBioinformaticsPeer-reviewed journal article
xml2jupyter: Mapping parameters between XML and Jupyter widgets
Randy W. HeilandiD, Daniel MishleriD, Tyler ZhangiD, Eric BoweriD, Paul MackliniD
Abstract
Jupyter Notebooks [4, 6] provide executable documents (in a variety of programming languages) that can be run in a web browser. When a notebook contains graphical widgets, it becomes an easy-to-use graphical user interface (GUI). Many scientific simulation packages use text-based configuration files to provide parameter values and run at the command line without a graphical interface. Manually editing these files to explore how different values affect a simulation can be burdensome for technical users, and impossible to use for those with other scientific backgrounds. xml2jupyter is a Python package that addresses these scientific bottlenecks. It provides a mapping between configuration files, formatted in the Extensible Markup Language (XML), and Jupyter widgets. Widgets are automatically generated from the XML file and these can, optionally, be incorporated into a larger GUI for a simulation package, and optionally hosted on cloud resources. Users modify parameter values via the widgets, and the values are written to the XML configuration file which is input to the simulations command-line interface. xml2jupyter has been tested using PhysiCell [1], an open source, agent-based simulator for biology, and it is being used by students for classroom and research projects. In addition, we use xml2jupyter to help create Jupyter GUIs for PhysiCell-related applications running on nanoHUB [5].
- Citations
- 18
- FWCI
- 3.85
- Field percentile
- top 5%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Figra: A WebAssembly-based Excel Add-in for publication-quality scientific visualization with ggplot2
Yoshiaki Sato·bioRxiv·May 12, 2026
- PhysiCell Studio: a graphical tool to make agent-based modeling more accessible
Randy W. Heiland, Daniel R. Bergman, … Paul Macklin·GigabytePeer-reviewed·Jun 19, 2024
- NEST Desktop - An educational application for neuroscience
Sebastian Spreizer, Johanna Senk, … Benjamin Weyers·eNeuroPeer-reviewed·Nov 1, 2021
- Xolotl: An Intuitive and Approachable Neuron and Network Simulator for Research and Teaching
Srinivas Gorur-Shandilya, Alec Hoyland, Eve E. Marder·Frontiers in NeuroinformaticsPeer-reviewed·Nov 26, 2018
- JBrowse Jupyter: A Python interface to JBrowse 2
Teresa De Jesus Martinez, Elliot A. Hershberg, … Ian H Holmes·BioinformaticsPeer-reviewed·Jan 1, 2023
- PhysiCell training apps: Cloud hosted open-source apps to learn cell-based simulation software
Aneequa Sundus, Furkan Kurtoglu, … Paul Macklin·bioRxiv·Jun 24, 2022