scholarly journals Introducing and benchmarking the accuracy of cayenne: a Python package for stochastic simulations

2020 ◽  
Author(s):  
Dileep Kishore ◽  
Srikiran Chandrasekaran

AbstractBiological systems are intrinsically noisy and this noise may determine the qualitative outcome of the system. In the absence of analytical solutions to mathematical models incorporating noise, stochastic simulation algorithms are useful to explore the possible trajectories of these systems. Algorithms used for such stochastic simulations include the Gillespie algorithm and its approximations. In this study we introduce cayenne, an easy to use Python package containing accurate and fast implementations of the Gillespie algorithm (direct method), the tau-leaping algorithm and a tau-adaptive algorithm. We compare the accuracy of cayenne with other stochastic simulation libraries (BioSimulator.jl, GillespieSSA and Tellurium) and find that cayenne offers the best trade-off between accuracy and speed. Additionally, we highlight the importance of performing accuracy tests for stochastic simulation libraries, and hope that it becomes standard practice when developing the same.The cayenne package can be found at https://github.com/Heuro-labs/cayenne while the bench-marks can be found at https://github.com/Heuro-labs/cayenne-benchmarks

2006 ◽  
Vol 30 (1) ◽  
pp. 39-49 ◽  
Author(s):  
James M. McCollum ◽  
Gregory D. Peterson ◽  
Chris D. Cox ◽  
Michael L. Simpson ◽  
Nagiza F. Samatova

2019 ◽  
Vol 34 (s1) ◽  
pp. s118-s118
Author(s):  
Mattias Lantz Cronqvist ◽  
Carl-Oscar Jonson ◽  
Erik Prytz

Introduction:Assessing disaster preparedness in a given region is a complex problem. Current methods are often resource-intensive and may lack generalizability beyond a specific scenario. Computer-based stochastic simulations may be an additional method but would require systems that are valid, flexible, and easy to use. Emergo Train System (ETS) is an analog simulation system used for disaster preparedness assessments.Aim:To digitalize the ETS model and develop stochastic simulation software for improved disaster preparedness assessments.Methods:A simulation software was developed in C#. The simulation model was based on ETS. Preliminary verification and validation (V&V) tests were performed, including unit and integration testing, trace validation, and a comparison to a prior analog ETS disaster preparedness assessment exercise.Results:The software contains medically validated patients from ETS and is capable of automatically running disaster scenarios with stochastic variations in the injury panorama, available resources, geographical location, and other variables. It consists of two main programs: an editor where scenarios can be constructed and a simulation system to evaluate the outcome. Initial V&V testing showed that the software is reliable and internally consistent. The comparison to the analog exercise showed a general high agreement in terms of patient outcome. The analog exercise featured a train derailment with 397 injured, of which 45 patients suffered preventable death. In comparison, the computer simulation ran 100 iterations of the same scenario and indicated that a median of 41 patients (IQR 31 to 44) would suffer a preventable death.Discussion:Stochastic simulation methods can be a powerful complement to traditional capability assessments methods. The developed simulation software can be used for both assessing emergency preparedness with some validity and as a complement to analog capability assessment exercises, both as input and to validate results. Future work includes comparing the simulation to real disaster outcomes.


2020 ◽  
Author(s):  
Quan Do ◽  
Ho Bich Hai ◽  
Pierre Larmande

AbstractSummaryCurrently, gene information available for Oryza sativa species is located in various online heterogeneous data sources. Moreover, methods of access are also diverse, mostly web-based and sometimes query APIs, which might not always be straightforward for domain experts. The challenge is to collect information quickly from these applications and combine it logically, to facilitate scientific research. We developed a Python package named PyRice, a unified programming API to access all supported databases at the same time with consistent output. PyRice design is modular and implements a smart query system which fits the computing resources to optimize the query speed. As a result, PyRice is easy to use and produces intuitive results.Availability and implementationhttps://github.com/SouthGreenPlatform/PyRiceDocumentationhttps://[email protected] informationMITSupplementary informationSupplementary data are available online.


2019 ◽  
Author(s):  
Sen Yao ◽  
Hunter N.B. Moseley

AbstractHigh-quality three-dimensional structural data is of great value for the functional interpretation of biomacromolecules, especially proteins; however, structural quality varies greatly across the entries in the worldwide Protein Data Bank (wwPDB). Since 2008, the wwPDB has required the inclusion of structure factors with the deposition of x-ray crystallographic structures to support the independent evaluation of structures with respect to the underlying experimental data used to derive those structures. However, interpreting the discrepancies between the structural model and its underlying electron density data is difficult, since derived electron density maps use arbitrary electron density units which are inconsistent between maps from different wwPDB entries. Therefore, we have developed a method that converts electron density values into units of electrons. With this conversion, we have developed new methods that can evaluate specific regions of an x-ray crystallographic structure with respect to a physicochemical interpretation of its corresponding electron density map. We have systematically compared all deposited x-ray crystallographic protein models in the wwPDB with their underlying electron density maps, if available, and characterized the electron density in terms of expected numbers of electrons based on the structural model. The methods generated coherent evaluation metrics throughout all PDB entries with associated electron density data, which are consistent with visualization software that would normally be used for manual quality assessment. To our knowledge, this is the first attempt to derive units of electrons directly from electron density maps without the aid of the underlying structure factors. These new metrics are biochemically-informative and can be extremely useful for filtering out low-quality structural regions from inclusion into systematic analyses that span large numbers of PDB entries. Furthermore, these new metrics will improve the ability of non-crystallographers to evaluate regions of interest within PDB entries, since only the PDB structure and the associated electron density maps are needed. These new methods are available as a well-documented Python package on GitHub and the Python Package Index under a modified Clear BSD open source license.Author summaryElectron density maps are very useful for validating the x-ray structure models in the Protein Data Bank (PDB). However, it is often daunting for non-crystallographers to use electron density maps, as it requires a lot of prior knowledge. This study provides methods that can infer chemical information solely from the electron density maps available from the PDB to interpret the electron density and electron density discrepancy values in terms of units of electrons. It also provides methods to evaluate regions of interest in terms of the number of missing or excessing electrons, so that a broader audience, such as biologists or bioinformaticians, can also make better use of the electron density information available in the PDB, especially for quality control purposes.Software and full results available athttps://github.com/MoseleyBioinformaticsLab/pdb_eda (software on GitHub)https://pypi.org/project/pdb-eda/ (software on PyPI)https://pdb-eda.readthedocs.io/en/latest/ (documentation on ReadTheDocs)https://doi.org/10.6084/m9.figshare.7994294 (code and results on FigShare)


Sign in / Sign up

Export Citation Format

Share Document