-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting probability distributions of initial conditions and parameters specified in SBML #361
Comments
done @djinnome below is an example SBML model for a simple 4 state system with uniform distributions added for the state variables and parameters. |
Sorry about that! We went through information release and software disclosure, so we are able to make the repo public, but it looks like the links are broken anyway, so I will just attach the files here. |
We've been looking into this but it is tricky to implement from a technical perspective because libSBML doesn't support the elements related to distributions (the documentation above about this makes it seem like it might but in practice, these attributes are just not there). This makes it nontrivial to traverse these elements via the SBML object model - though not impossible. So it will take a bit more time. |
I think the issue is that you need to explicitly load the Here is an example where the sbmlutils package (which is a more pythonic high level interface for libsbml) supports distributions: https://sbmlutils.readthedocs.io/en/latest/notebooks/sbml_distrib.html Here is an example of how to load the |
Hi folks,
MIRA does not currently support distributions of initial conditions and parameters that are specified in SBML.
https://sbml.org/documents/specifications/level-3/version-1/distrib/
Here is the libsbml API documentation for the distributions package:
https://sbml.org/software/libsbml/5.20.2/cpp-api/group__distrib.html
Here is an easy way to specify distributions in SBML using SBMLutils:
https://sbmlutils.readthedocs.io/en/latest/notebooks/sbml_distrib.html
Here is another way to specify distributions in SBML using Antimony:
https://tellurium.readthedocs.io/en/latest/antimony.html#uncertainty-information
Here are the distributions that Antimony supports:
Normal (mean, sd)
truncatedNormal (mean, sd, min, max)
uniform (min, max)
exponential (rate)
truncatedExponential (rate, min, max)
gamma (shape, scale)
truncatedGamma (shape, scale, min, max)
poisson (rate)
truncatedPoisson(rate, min, max)
I do not think this is needed for our use case, but I was surprised to learn that Antimony/SBML also supports the specification of static and dynamic parameter interventions:
https://www.biorxiv.org/content/10.1101/015503v1.full
or in SBML:
@augeorge would you be willing to populate the gene regulatory SBML model with distribution information as an example?
The text was updated successfully, but these errors were encountered: