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

Support for identical components in Monomers #18

Open
lh64 opened this issue Aug 3, 2015 · 0 comments
Open

Support for identical components in Monomers #18

lh64 opened this issue Aug 3, 2015 · 0 comments

Comments

@lh64
Copy link

lh64 commented Aug 3, 2015

BioNetGen allows molecules to have multiple copies of identical components. For example, one might want to model a receptor with two identical binding sites for ligand. In BNGL, this can be done by defining ligands as L(r) and receptors as R(l,l) and writing the rule:

L(r) + R(l) <-> L(r!1).R(l!1) kf,kr

BioNetGen then automatically calculates all appropriate symmetry factors and includes them in the rate constants for reactions. In this case, the reaction L(r) + R(l,l) -> L(r!1).R(l,l!1) has an effective rate constant of 2*kf because ligand can bind to either of the two 'l' sites on the receptor. This is a very powerful feature of BioNetGen that is currently not supported by PySB. To fix this, we either need to allow identical components in the definition of monomers or we need to include code for calculating symmetries inside macros.

@lh64 lh64 added this to the Discussion at HMS milestone Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant