wholecell.utils.mc_complexation

_complexation.pyx

Forms subunits into complexes using random complexation reaction sampling.

TODO: - document algorithm (not terribly complicated)

Warning

If you modify this file, you must trigger a rebuild of the vEcoli package with uv sync –frozen –extra dev –reinstall-package vEcoli.

wholecell.utils.mc_complexation.mccBuildMatrices(stoichiometricMatrix)
wholecell.utils.mc_complexation.mccFormComplexes(moleculeCounts, seed, stoichiometricMatrix)
wholecell.utils.mc_complexation.mccFormComplexesWithPrebuiltMatrices(moleculeCounts, seed, stoichiometricMatrix, moleculeIndexes, overlappingReactions)