BioNetGen Language

1 program Added 2026-02-23T10:15:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: BNGL
Provenance: commit 936ecc5d04 · authored 2026-02-23T16:07:15+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Shen (0.32)FunL (0.27)Ceylon (0.26)Io (0.26)Xi (0.26)

LLM-contributed programs

Kinase-Substrate Phosphorylation Model

Provenance: commit 936ecc5d04 · authored 2026-02-23T16:07:15+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.bngl · license: GPL-3.0 · added: 2026-02-23T10:15:00Z
## title: ABp.bngl
## description: Simple model of enzyme kinetics in which A is a kinase and B is a
##              phosphorylabe substrate.
## author: Jim Faeder
## date: 27Feb2018
## note: Units consistent with uM for concentration, um^3=fL for volume
begin model
begin parameters
    # Cell volume
    V    1 # units: um^3
    # Conversion factor from uM to 1/um^3
    NaV  602*V
    # Rate constants
    kp1  1.0/(NaV) # 1/uM 1/s -> 1/molecules 1/s
    km1  1.0e-1 # 1/s
    k2   1.0e-2 # 1/s

   # Initial concentrations
    A0   0.01*NaV # uM -> molecules/cell
    B0   1.0*NaV  # uM -> molecules/cell
end parameters
begin molecule types
    A(b)
    B(a,Y~0~p)
end molecule types
begin seed species
    A(b)      A0
    B(a,Y~0)  B0
end seed species
begin observables
    Molecules Bu B(a,Y~0)
    Molecules Bp B(a,Y~p)
    Molecules AB A(b!1).B(a!1)
end observables
begin reaction rules
    ABbind: A(b) + B(a,Y~0) <-> A(b!1).B(a!1,Y~0) kp1, km1
    ABphos: A(b!1).B(a!1,Y~0) -> A(b) + B(a,Y~p) k2
end reaction rules
end model

# simulate the expanded network use ODE's
simulate({method=>"ode", t_end=>20000,n_steps=>1000})

Contribute — propose a file extension

Tell us where to find evidence about BioNetGen Language (mapped to pl/bionetgen_language). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/BioNetGen Language/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← biomod bioscript →