Skip to content
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

Add SBML Events as Bioscrape Rules #53

Open
WilliamIX opened this issue Jul 8, 2020 · 0 comments
Open

Add SBML Events as Bioscrape Rules #53

WilliamIX opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels
Bioscrape Core Issues pertaining to core bioscrape functionality enhancement New feature or request

Comments

@WilliamIX
Copy link
Collaborator

This issue is to scope the possibility of allowing more general SBML events be incorporated into bioscrape as rules (possible called EventRules - but what might a better name be?). I note that I cannot call these Events because Events are a different kind of object in bioscrape Lineage.

What are SBML Events? These are assignments of Species, S, or Parameters, P, to some function which occurs due to a certain condition:
If C(S, P): Then: S= F(S, P) & P= G(S, P)

How could this look in Bioscrape? Lineage already supports Division and Death rules based upon conditions C(S, P) >=< threshold. This code could be reused to produce 4 rule types:

SingleSpeciesEventRule: assigns a single species: IF C(S, P) >=< threshold, THEN: S_i = F(S, P).
MultiSpeciesEventRule: assigns all species: IF C(S, P) >=< threshold, THEN: for i = 0...N: S_i = F_i(S, P).
SingleParameterEventRule: assigns a single paremeter: IF C(S, P) >=< threshold, THEN: P_i = F(S, P).
MultiParameterEventRule: assigns all species: IF C(S, P) >=< threshold, THEN: for i = 0...N: P_i = F_i(S, P).

@ayush9pandey Would this cover most SBML Events? Can we take a single SBML rule and systematically convert it into rules of this form? Similarly, can we take these rules and convert them into SBML events easily?

Also, I hate the EventRule class - what would a better name be?

@WilliamIX WilliamIX added enhancement New feature or request Bioscrape Core Issues pertaining to core bioscrape functionality labels Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bioscrape Core Issues pertaining to core bioscrape functionality enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants