All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.cellCompartments.mlrj2 Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.2.13-headless
Show newest version
// 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