ABM-IR 0.1 reference¶
Generated from the pydantic models by scripts/make_ir_reference.py; the JSON Schema is
schemas/abm-ir-0.1.json.
Units follow the
model’s units (micron and minute by default). Unknown fields are rejected, and every name a model
refers to (a substrate, a cell type, a rule’s signal or behaviour) must exist in the model.
IRModel¶
An ABM-IR document.
Field |
Type |
Default |
|---|---|---|
|
|
|
|
string (non-empty) |
required |
|
string |
empty |
|
defaults |
|
|
required |
|
|
list of Substrate |
empty list |
|
list of CellType |
required |
|
list of Rule |
empty list |
|
list of IntracellularModel |
empty list |
|
defaults |
|
|
list of TimedEvent |
empty list |
|
list of Observable |
empty list |
|
required |
|
|
defaults |
|
|
list of NativeExtension |
empty list |
Units¶
The units of length and time that the model’s quantities are given in.
Field |
Type |
Default |
|---|---|---|
|
string |
|
|
string |
|
Space¶
The simulation domain: its dimension, bounds, substrate grid, and whether it is closed or periodic.
Bounds¶
The extent of the domain along each axis. Each minimum must be below its maximum.
Field |
Type |
Default |
|---|---|---|
|
number |
required |
|
number |
required |
|
number |
required |
|
number |
required |
|
number |
|
|
number |
|
Voxel¶
The size of one voxel of the substrate grid. In a 2D model dz still sets the voxel volume.
Field |
Type |
Default |
|---|---|---|
|
number (> 0) |
required |
|
number (> 0) |
required |
|
number (> 0) |
|
Substrate¶
A diffusing substance, with its diffusion coefficient, decay rate, initial value and boundary.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
string |
|
|
number (>= 0) |
required |
|
number (>= 0) |
|
|
number (>= 0) |
|
|
defaults |
SubstrateBoundary¶
dirichlet holds every side at value; sides overrides one side, None makes it no-flux.
Field |
Type |
Default |
|---|---|---|
|
|
|
|
number (>= 0) |
|
|
map of number (>= 0) or null |
empty |
CellType¶
One cell type: its volume, cycle, death, mechanics, motility, secretion and interactions. transformations maps other cell type names to the rate of turning into that type. custom holds named numeric custom data.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
number (> 0) |
|
|
defaults |
|
|
defaults |
|
|
defaults |
|
|
defaults |
|
|
defaults |
|
|
list of Secretion |
empty list |
|
defaults |
|
|
map of number (>= 0) |
empty |
|
map of number |
empty |
Cycle¶
A cell cycle. live has one phase whose exit rate is the division rate. Give either rates (phase exit rates, per time unit, in phase order) or durations (fixed phase durations), as PhysiCell does.
Field |
Type |
Default |
|---|---|---|
|
|
|
|
list of number (>= 0) or null |
none |
|
list of number (> 0) or null |
none |
Death¶
Apoptosis and necrosis rates, and how long a dead cell remains before it is removed.
Field |
Type |
Default |
|---|---|---|
|
number (>= 0) |
|
|
number (>= 0) |
|
|
number (> 0) |
|
|
number (> 0) |
|
Integrity¶
Damage a cell carries, as in PhysiCell’s cell integrity: it grows at damage_rate and is repaired at damage_repair_rate, both per unit time. Attacks add to it, and rules can read it as the damage signal.
Field |
Type |
Default |
|---|---|---|
|
number (>= 0) |
|
|
number (>= 0) |
|
Mechanics¶
Centre-based mechanics. max_adhesion_distance is relative to the cell radius, as in PhysiCell.
Field |
Type |
Default |
|---|---|---|
|
number (>= 0) |
|
|
number (>= 0) |
|
|
number (>= 1.0) |
|
|
map of number (>= 0) |
empty |
Motility¶
Cell migration, as in PhysiCell: speed, persistence time and migration bias. migration_bias runs from 0 (a random direction) to 1 (the chemotaxis direction only).
Field |
Type |
Default |
|---|---|---|
|
number (>= 0) |
|
|
number (> 0) |
|
|
number (>= 0, <= 1) |
|
|
Chemotaxis or null |
none |
Chemotaxis¶
Migration bias along one substrate’s gradient: direction 1 moves up the gradient, -1 down it.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
|
|
Secretion¶
Exchange of one substrate between a cell and its voxel, as in PhysiCell. The cell secretes towards the target density at secretion_rate, takes up at uptake_rate, and adds net_export_rate of substrate per time unit.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
number (>= 0) |
|
|
number (>= 0) |
|
|
number (>= 0) |
|
|
number |
|
Interactions¶
Contact interactions with other cells, as in PhysiCell. Attack, phagocytosis and fusion rates are keyed by the name of the target cell type. damage_rate is the attack damage rate, and dead_phagocytosis_rate applies to dead cells of any type. An attack lasts attack_duration on average. immunogenicities scales how readily each attacker type starts an attack on this cell type, keyed by the attacker’s name; a missing type counts as 1.
Field |
Type |
Default |
|---|---|---|
|
map of number (>= 0) |
empty |
|
number (>= 0) |
|
|
number (> 0) |
|
|
map of number (>= 0) |
empty |
|
map of number (>= 0) |
empty |
|
number (>= 0) |
|
|
map of number (>= 0) |
empty |
Rule¶
One signal-to-behaviour rule in PhysiCell’s cell behaviour grammar (CBHG, rules CSV version 3). saturation_value is the behaviour value when the signal saturates: the maximum for an increases rule and the minimum for a decreases rule. The base value comes from the cell type.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
string (non-empty) |
required |
|
|
required |
|
string (non-empty) |
required |
|
number (>= 0) |
required |
|
number (> 0) |
required |
|
number (> 0) |
required |
|
boolean |
|
IntracellularModel¶
A reference to an intracellular model file. Paths are relative to the IR file.
Field |
Type |
Default |
|---|---|---|
|
string (non-empty) |
required |
|
|
required |
|
map of string |
required |
|
map of string |
empty |
|
map of string |
empty |
|
number (> 0) or null |
none |
|
object |
empty |
InitialConditions¶
The cells present at the start of a run, as a list of placements.
Field |
Type |
Default |
|---|---|---|
|
list of Placement |
empty list |
Placement¶
Initial cells. density is cells per unit area (2D) or volume (3D); positions are explicit.
Field |
Type |
Default |
|---|---|---|
|
|
required |
|
string (non-empty) or null |
none |
|
integer (>= 0) or null |
none |
|
number (>= 0) or null |
none |
|
(number, number) |
|
|
number (> 0) or null |
none |
|
(number (> 0), number (> 0)) or null |
none |
|
list of (number, number) or null |
none |
|
string or null |
none |
TimedEvent¶
A change at a set time, held until until when given (then reverted), for example a drug pulse.
Field |
Type |
Default |
|---|---|---|
|
number (>= 0) |
required |
|
|
required |
|
string (non-empty) |
required |
|
number or null |
none |
|
number (>= 0) or null |
none |
Observable¶
A named quantity measured at every saved time, such as a cell count or a substrate mean. cell_type restricts a count or position to one type. The substrate_ kinds need substrate, and type_fraction needs cell_type.
Field |
Type |
Default |
|---|---|---|
|
string |
required |
|
|
required |
|
string (non-empty) or null |
none |
|
string (non-empty) or null |
none |
|
|
|
Experiment¶
The run length, the time steps and the save interval, in the model’s time unit, as in PhysiCell. dt_diffusion, dt_mechanics and dt_phenotype are the steps of each process. threads is the number of threads an engine may use.
Field |
Type |
Default |
|---|---|---|
|
number (> 0) |
required |
|
number (> 0) |
|
|
number (> 0) |
|
|
number (> 0) |
|
|
number (> 0) |
|
|
integer (>= 1) |
|
Provenance¶
Where a model came from: its source, DOI, authors, licence, origin project and the tool that made it.
Field |
Type |
Default |
|---|---|---|
|
string or null |
none |
|
string or null |
none |
|
list of string |
empty list |
|
string or null |
none |
|
DerivedFrom or null |
none |
|
string or null |
none |
|
string |
empty |
DerivedFrom¶
The engine project a model was imported from, with an optional SHA-256 digest of its source.
Field |
Type |
Default |
|---|---|---|
|
string |
required |
|
string |
required |
|
string or null |
none |
NativeExtension¶
Engine-specific code that the IR does not describe and never translates. affects names what it may change.
Field |
Type |
Default |
|---|---|---|
|
string |
required |
|
|
required |
|
list of string |
empty list |
|
string |
empty |
|
list of string |
empty list |