Cofolding is an intermolecular process, therefore whether
duplex formation will actually occur is concentration dependent.
Trivially, if one of the molecules is not present, no dimers are going to
be formed. The partition functions of the molecules give us the
equilibrium constants:
with these and mass conservation, the equilibrium concentration of
homodimers, heterodimers and monomers can be computed in dependence
of the start concentrations of the two molecules.
This is most easily done by creating a file with the
initial concentrations of molecules and in two columns: