
examples.cellCompartments.mlrj2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mlrules Show documentation
Show all versions of mlrules Show documentation
The main project for the external domain-specific modeling
language ML-Rules, which is used to model hierarchical biochemical
reaction networks with nested and attributed species
// SPECIES DEFINITIONS
Cell()[];
Nucleus()[];
A();
B();
// INITIAL SOLUTION
>>INIT[
10A +
50B +
5Cell[
10A +
10B +
Nucleus[
10A + 0B
]
]
];
// production of A in each compartment
A:a + B:b -> 2A @ 0.1*#a*#b;
// production of B in the nucleus
Nucleus[sol?] -> Nucleus[B + sol?] @ 1;
// 2-step translocation of B into extracellular compartment
Nucleus[B:b + sol?] -> Nucleus[sol?] + B @ #b;
Cell[B:b + sol?]:c -> Cell[sol?] + B @ #b*#c;
// degradation of A and B in each compartment
A:a -> @ 0.1*#a;
B:b -> @ 0.01*#b;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy