wholecell.utils.mc_complexation

_complexation.pyx

Forms subunits into complexes using random complexation reaction sampling.

TODO: - document algorithm (not terribly complicated)

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