To the Editor — We present the Simularium Viewer, a user-friendly, open-source application that makes it easy to share and interrogate interactive three-dimensional (3D) visualizations of biological simulation trajectories directly in a web browser at https://simularium.allencell.org. The primary goal of the Simularium project is to facilitate collaborations among experimental and computational biologists by removing challenges to sharing, accessing and comparing simulation results. As a new arrow in the modeling community’s quiver, the Simularium Viewer provides a platform to share simulation outputs in an easy-to-use interface that requires no computational expertise from end users. With a relatively small effort, any modeling researcher can use our conversion package to save their data as a Simularium file and generate a link that anyone can use to interactively investigate their simulation trajectories and related plots immediately in a browser, instead of spending time downloading, installing and learning to use tools specific to any given model.
Spatial simulations are a powerful tool for investigating biological phenomena at different scales;1,2 however, by surveying researchers, educators and students in the field of cell biology, we have identified several pain points that restrict their utility and adoption. In general, simulation tools are often difficult for non-computational biologists to use, provide limited options for the easy sharing of interactive visualizations, and must be downloaded and run as independent desktop software—often with challenging installation processes. Many require users to write code or to run software from a terminal window and offer only a limited user interface or no graphical user interface. Most visualization tools for spatial modeling are either specialized to support atomic coordinates and/or image data or built to support visualization for one particular modeling engine (Supplementary Table 1), making it challenging to compare models that were created using different engines. The common practice of developing new visualization software from scratch often results in redundant efforts to solve common challenges that take developer time and expertise away from addressing unsolved problems in the field.
To make simulated models more accessible and easier for broader audiences to examine, we have developed the Simularium Viewer as an online 3D viewport with a graphical user interface that enables interactive exploration of dynamic spatial data, alongside plots of calculated metrics, directly in a web browser (Fig. 1). It uses advanced rendering techniques3 to enable meaningful interpretations of spatial relationships4,5 among thousands of moving components in 3D. The viewer allows a user to interact with precalculated simulation results, including their own results converted into the Simularium file format (JSON or binary). Files can be loaded from local disk storage or shared publicly by generating URLs formatted as https://simularium.allencell.org/viewer?trajUrl=[link to file]. These links enable one-click access to an interactive simulation window. We currently support public links to Dropbox, Google Drive and Amazon S3 files and will continue to add support for other cloud storage providers. URL access allows any user to share their own library of simulations publicly, and these links can be included in publications to provide easy access for readers to explore interactive supplementary figures, as demonstrated in a recent article that includes links to models produced using the SpringSaLaD engine6. The Simularium Viewer website also provides a library of example models that were generated by different simulation platforms and selected to represent a broad variety of simulation types, visual complexity and spatiotemporal scales. Examples include a Cytosim model of clathrin-mediated endocytosis7, a PhysiCell model of SARS-CoV-2 dynamics in human lung epithelium8, a Smoldyn model of the Escherichia coli Min1 system9, and a published model of a membrane wrapping a nanoparticle10 (Supplementary Table 2).
a, A screenshot of the Simularium Viewer loaded with an example model7 has a 3D viewport with an interactive timeline in the center and two collapsible panels on the sides holding entity selection on the left and trajectory related plots on the right. b, Data from simulation engines must be converted to the Simularium file format, using either direct output from an engine or postprocessing with Python converters. Since the viewer is web-based, a link can be shared with collaborators, paper reviewers and readers, or even broader audiences of students and the general public. c, Rendering options for agents in the trajectory viewport currently include single spheres; collections of spheres with internal structure specified by, for example, Protein Data Bank structure files; mesh surfaces; and 3D lines. We plan to add volume rendering for PDE or RDME-based data.
The Simularium Viewer is the first component released from a larger Simularium platform in development. It is freely available at https://simularium.allencell.org. We welcome community involvement in the development process, and Simularium code repositories are available at https://github.com/simularium with documentation and an open-source license. The Help menu on the Simularium Viewer website includes tutorials, sample Python code and Jupyter Notebooks to guide the conversion of custom data into the format consumed by the viewer, as well as instructions for sharing your own Simularium files online. We provide Python Jupyter notebooks for converting the outputs of several community-developed spatial simulation engines (Supplementary Table 3) and plan to continue working with engine developers to write directly to the Simularium file format and support more engines. We are also working to transcode native files output from supported engines automatically upon loading, similarly to other streaming services. We have forums and issue boards to collect feedback and will continue to work with Simularium users to add visualization features that will make the Simularium Viewer an even more powerful open-source tool for exploring dynamic 3D biological data.
Reporting Summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Code availability
The software described here is available under a modified BSD license at https://github.com/simularium and is free for non-commercial use.
References
Osborne, J. M., Fletcher, A. G., Pitt-Francis, J. M., Maini, P. K. & Gavaghan, D. J. PLOS Comput. Biol. 13, e1005387 (2017).
Johnson, M. E. et al. Mol. Biol. Cell 32, 186–210 (2021).
Miao, H. et al. J. Mol. Biol. 431, 1049–1070 (2019).
Langer, M. S. & Bülthoff, H. H. Perception 29, 649–660 (2000).
Johnson, G. T., Autin, L., Goodsell, D. S., Sanner, M. F. & Olson, A. J. Structure 19, 293–303 (2011).
Chattaraj, A., Blinov, M. L. & Loew, L. M. eLife 10, e67176 (2021).
Akamatsu, M. et al. eLife 9, e49840 (2020).
Getz, M. et al. Preprint at bioRxiv https://doi.org/10.1101/2020.04.02.019075 (2021).
Andrews, S. S., Addy, N. J., Brent, R. & Arkin, A. P. PLOS Comput. Biol. 6, e1000705 (2010).
Sadeghi, M., Weikl, T. R. & Noé, F. J. Chem. Phys. 148, 044901 (2018).
Acknowledgements
We thank Johannes Schöneberg for help building example models and discussion; Moritz Hoffmann, Christoph Fröhner and Frank Noé for training and development with ReaDDy; Adam Husar, Tom Bartol and Jacob Czech for training and collaboration using MCell; James Faeder for training in BioNetGen and BNGL; François Nédélec for training and development with dynamic cytoskeletal fibers and membranes in Cytosim and Matthew Akamatsu and Daniel Serwas for insight, testing and example data; Leslie Loew, Michael Blinov, Ann Cowen, Ion Moraru, Aniruddha Chattaraj, Steve Andrews, Garegin Papoian, Paul Macklin, Randy Heiland, Ryan Spangler and Eran Agmon for collaboration to integrate their simulators and example data; Ludovic Autin and Ivan Viola for visualization inspiration and discussion; Jonathan Alberts for extensive help testing the prototype viewer with large trajectories; and Rick Horwitz for suggestions. Researchers from the Allen Institute for Cell Science wish to thank the Allen Institute founder, Paul G. Allen, for his vision, encouragement and support. Please see the Supplementary Acknowledgements to help us thank a long list of additional contributors who helped with user testing, scientific and design feedback, implementation testing and more.
Author information
Authors and Affiliations
Contributions
B.L., J.I., and G.T.J. conceived the project; B.L., E.I., J.D., M.R.-M., and D.T. designed the software architecture; B.L., E.I., N.H.C., J.D., M.R.-M. and D.T. wrote the software and A.L. helped with debugging; L.S. designed user interfaces and conducted user tests; T.P.D. contributed illustrations and managed analytics data; T.P.D. and L.W. refined user interface designs; E.R. and O.W. helped test the software; G.T.J. supervised the project.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Methods thanks Zaida Luthey-Schulten and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Supplementary information
Supplementary Information
Supplementary Tables 1–3, Supplementary References and Supplementary Acknowledgements
Rights and permissions
About this article
Cite this article
Lyons, B., Isaac, E., Choi, N.H. et al. The Simularium Viewer: an interactive online tool for sharing spatiotemporal biological models. Nat Methods 19, 513–515 (2022). https://doi.org/10.1038/s41592-022-01442-1
Published:
Issue Date:
DOI: https://doi.org/10.1038/s41592-022-01442-1