Phase field simulation codes for "Condensate interfacial forces reposition DNA loci and probe chromatin viscoelasticity" by Amy R. Strom*, Yoonji Kim*, Hongbo Zhao, Yi-Che Chang, Natalia D. Orlovsky, Andrej Košmrlj, Cornelis Storm, Clifford P. Brangwynne
-
To perform simulations using different viscoelasticity models, use the script
VECTOR_study.m. InVECTOR_study.m, users may run the base case using the Newtonian model by settingrun_base_case = true. The base case simulation consists of three steps:- equilibration from the initial condition when the light is off
- equilibriation with the light on, until the Corelet droplet forms and merges into one
- turn off the light.
-
To run other other viscoelastic models, set
run_base_case = falseand setstudyto the name of the viscoelastic model (seeVECTOR_study.mfor details). These studies use the end of the second step as the initial condition, which is saved indata/initial_condition.matand will be loaded automatically. The simulation results for the coordinates of the telomere loci and forces over time are saved indata/yadd_*User can useVECTOR_package.mto generate visualizations of the simulation results. -
The partial differential equations (PDEs) are solved using finite differencing. Time integration is done using the implicit method via Matlab's
ode15swhere linear equations are solved using the direct method. The jacobian is an estimate of the full jacobian based on the block diagonals of the concentration field and the telomere degrees of freedom respectively while setting the off block diagonals to zero. Users are encouraged to use iterative (Krylov) method which requires modification ofode15sand can substantially speed up the simulations.