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

Ring closure bug #24

Open
jrfaeder opened this issue Mar 9, 2018 · 0 comments
Open

Ring closure bug #24

jrfaeder opened this issue Mar 9, 2018 · 0 comments

Comments

@jrfaeder
Copy link

jrfaeder commented Mar 9, 2018

NFsim error trying to bond two already bound sites when (intramolecular) ring closure reaction is allowed.

## title: BLBR_error.bngl
#  description: Ring closure with a disjoint pattern exposes a bug in NFsim. The seed
#               has been set to make this model behavior deterministic.

setOption("SpeciesLabel","HNauty");
begin parameters
 kp1 1
 km1 1
 kp2 1
 km2 1
 kp3 1
 km3 1
 R0  1000
 L0  1000
end parameters

begin species
  R(r,r) R0
  L(l,l) L0
end species

begin reaction rules
# Ligand addition
R(r) + L(l,l) <-> R(r!1).L(l!1,l) kp1,km1

# Chain elongation
R(r) + L(l,l!+) <-> R(r!1).L(l!1,l!+) kp2,km2

# Ring closure
R(r).L(l) <-> R(r!1).L(l!1) kp3,km3

end reaction rules
 
simulate({method=>"nf",seed=>916749345,t_end=>10,n_steps=>1000,get_final_state=>1})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant