lefsim
Stochastic, event-driven simulation of loop-extrusion factors (LEFs) on a 1D lattice of chromatin sites, with CTCF boundaries that capture or evict them. Simulations are exact: there's no fixed time step, only the next event. A seed gives the same run, bit for bit, on every platform, and in the Python and browser bindings too.
use *;
let lattice = with_ctcfs?;
let rule = UniformNonCtcf;
let world = populate?; // ten LEFs, placed with seed 1
let model = new?;
let mut sim = new;
sim.run_until;
println!;
Documentation: https://abdenlab.github.io/lefsim/. Bindings: lefsim on PyPI
and npm.