OSCR

Long-range mutual activation establishes Rho and Rac polarity during cell migration.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match
  1. [1] § Results › Mechanochemical model of Rho and Rac partitioning in cells ↔ mechanochemical_2D_axisymmetric/output/T=350.0_dt=1.0_ n=40/D=0.3_eta=10000.0_vC=-0.3 S=0.0_M=17.32_a0=1.0 b0=1.0 wrac=6.0 Drac=0.05/rac0=0.01 koff=1.4 aopto = 2.0 da=0.04 db=0.04_sig=200.0_x=2.0 L=16.28 a=1.0 b=1.0 sig0=0.01_tenth=0.025_MCAbth=0.035_rho0=0.001 ten0=0.02/MechanochemicalAxisymmetricVector.jl, lines 1–51 · score 0.58 · mechanochemical model, cortical flow, reproduces, surface, coupling, active

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Julia · 529 lines · 21 KB · CC-BY-SA-4.0 · 1 match

  1. # Mechanochemical model on an axisymmetric cell surface.
  2. # Simulates coupled Rac/Rho signalling, MCA (Moesin-like cortical actin) dynamics,
  3. # cortical flow, and membrane deformation on a sphere.
  4. #
  5. # Written by Andreu F Gallen (Turlier lab) and Eric Neiva,
  6. # in collaboration with Orion Weiner's lab.
  7. #
  8. # Reference: INSERT DOI
  9. #
  10. # To reproduce pure local-inhibition behaviour, set:
  11. # coup.vCTE = 0, coup.α = 0, coup.β = 0, σₐ⁰ = 0
  12. include("Plots_RhoRacSinglet.jl")
  13. # ── Parameter structs ────────────────────────────────────────────────────────
  14. @kwdef struct MechanicalParams
  15. η::Real # Viscosity
  16. χ::Real # Friction coefficient
  17. χ₀::Real # Basal friction
  18. sigmaₐ⁰::Real # Basal active tension
  19. sigmaρ⁰::Real # Rho-dependent active tension coefficient
  20. S::Real # Prestress / geometric parameter
  21. Λ::Real # Lamé-like parameter
  22. M::Real # Lamé-like parameter
  23. R::Real # Cell radius [μm]
  24. end
  25. @kwdef struct KineticParams
  26. koff::Real; kon::Real; M0::Real; D::Real
  27. dᵃ::Real; dᵇ::Real; λᵇ::Real; λʳᴬ::Real
  28. Drac::Real; Drho::Real; α₀::Real; β₀::Real; wrac::Real
  29. end
  30. @kwdef struct CouplingParams
  31. rac0::Real; rho0::Real; ten0::Real; vCTE::Real
  32. tenth::Real; sig0::Real; MCAbth::Real
  33. α::Real; β::Real; αopto::Real; βopto::Real
  34. end
  35. @kwdef struct SimControl
  36. domain::Tuple
  37. ls::Any # Level-set object
  38. n::Int # Mesh partition
  39. Δt::Real
  40. T::Real
  41. order::Int
  42. output_frequency::Int
  43. γᶜ::Real
  44. τᵈkₒ::Real
  45. end
  46. # ── Helper functions ─────────────────────────────────────────────────────────
  47. function plotting(ylabel_str, data, path, label)
  48. plot(data)
  49. xlabel!("ξ [μm]")
  50. ylabel!(ylabel_str)
  51. savefig(path * "$ylabel_str" * label * ".png")
  52. end
  53. """Mass conservation residual for MCA protein."""
  54. function conservation(sMCAu, sMCAb, Minitial)
  55. return 1.0 * (Minitial - (sMCAu + sMCAb))
  56. end
  57. threshold(x, x₀, xth) = 0.5 * (tanh ∘ (x / x₀ - xth / x₀) + 1)
  58. threshold2(x, x₀, xth) = 0.5 * (tanh.(x / x₀ .- xth / x₀) .+ 1)
  59. sinθ(x) = x[2] / norm(x)
  60. cotθ(x) = x[1] / x[2]
  61. cotθ2(x) = cotθ(x) * cotθ(x)
  62. cotθ3(x) = cotθ(x) * cotθ(x) * cotθ(x)
  63. cscθ2(x) = 1 + cotθ2(x)
  64. # ── Main simulation function ─────────────────────────────────────────────────
  65. """
  66. Run a single mechanochemical axisymmetric simulation.
  67. # Arguments
  68. - `mech` : Mechanical parameters
  69. - `kin` : Kinetic/chemical parameters
  70. - `coup` : Mechanochemical coupling and optogenetics parameters
  71. - `control` : Simulation control (mesh, time stepping, output)
  72. - `name` : Output folder name
  73. - `writesol` : Write VTU output if true
  74. """
  75. function run_mechanochemical_axisymmetric_vector(
  76. mech::MechanicalParams,
  77. kin::KineticParams,
  78. coup::CouplingParams,
  79. control::SimControl;
  80. name::String,
  81. writesol::Bool = true
  82. )
  83. # ── MCA weak forms ───────────────────────────────────────────────────────────
  84. """
  85. Weak forms for MCA bound and unbound species.
  86. Returns (mMCA, aMCAb, bMCAb, aMCAu, bMCAu).
  87. """
  88. function MCA_bound_unbound_weak_forms(Δt, kon, koff, λᵇ, λ, R2, D, nΓ, dΓ)
  89. τ = TensorValue(0.0, -1.0, 1.0, 0.0) ⋅ nΓ # unit tangent vector
  90. # Bound MCA
  91. mMCA(Δt, MCA_b, w) = ∫(((MCA_b * w) / Δt) * y)dΓ
  92. aMCAb(MCA_b, v, w) =
  93. ∫(((MCA_b * w) / Δt) * y)dΓ +
  94. ∫((0.0005 * (∇ᵈ(MCA_b, nΓ) ⋅ ∇ᵈ(w, nΓ))) * y)dΓ + # diffusion for stabilisation
  95. ∫((koff * (MCA_b * w)) * y)dΓ +
  96. ∫((w * ((v ⋅ τ) * (∇ᵈ(MCA_b, nΓ) ⋅ τ))) * y)dΓ +
  97. ∫(w * (MCA_b * ((τ ⋅ ∇ᵈ(v, nΓ)) ⋅ τ)) * y)dΓ
  98. bMCAb(w, MCA_u, MCAb_old, λ) =
  99. ∫((kon * (MCA_u * w) + (MCAb_old * w) / Δt) * y)dΓ +
  100. ∫((λ / (π * R2) * (kon / (kon + koff)) * w) * y)dΓ
  101. # Unbound MCA
  102. aMCAu(MCA_u, x, x_old, w) =
  103. ∫(((MCA_u * w) / Δt) * y)dΓ +
  104. ∫((D * (∇ᵈ(MCA_u, nΓ) ⋅ ∇ᵈ(w, nΓ))) * y)dΓ +
  105. ∫((kon * (MCA_u * w)) * y)dΓ +
  106. ∫((w * (((x - x_old) ⋅ τ / Δt) * (∇ᵈ(MCA_u, nΓ) ⋅ τ) +
  107. MCA_u * ((τ ⋅ ∇ᵈ(x, nΓ) ⋅ τ) - (τ ⋅ ∇ᵈ(x_old, nΓ) ⋅ τ)) / Δt)) * y)dΓ
  108. bMCAu(w, MCA_b, MCAu_old, λ) =
  109. ∫((koff * (MCA_b * w)) * y)dΓ +
  110. ∫(((MCAu_old * w) / Δt) * y)dΓ +
  111. ∫((λ / (π * R2) * (koff / (kon + koff)) * w) * y)dΓ
  112. mMCA, aMCAb, bMCAb, aMCAu, bMCAu
  113. end
  114. activity::Function = unit_activity_axisymmetric
  115. redistance_frequency::Int = 1
  116. # Background mesh
  117. cells = (control.n, div(control.n, 2))
  118. h = (control.domain[2] - control.domain[1]) / control.n
  119. bgmodel = CartesianDiscreteModel(control.domain, cells)
  120. Ω = Triangulation(bgmodel)
  121. degree = control.order < 3 ? 3 : 2 * control.order
  122. R2 = mech.R
  123. # Level-set buffer (updated each time step)
  124. buffer = Ref{Any}((Ωᶜ=nothing, dΩᶜ=nothing, dΓ=nothing, nΓ=nothing,
  125. φ₋=nothing, cp₋=nothing, t=nothing, Vbg=nothing))
  126. function update_buffer!(i, t, dt, v₋₂, mv₋₂)
  127. buffer[].t == t && return true
  128. Ωᶜ = buffer[].Ωᶜ; Vbg = buffer[].Vbg
  129. if buffer[].Ωᶜ === nothing
  130. Vbg = TestFESpace(Ω, ReferenceFE(lagrangian, Float64, control.order))
  131. _φ₋ = interpolate_everywhere(control.ls.φ, Vbg)
  132. else
  133. cp₋₂ = buffer[].cp₋; φ₋₂ = buffer[].φ₋
  134. __φ = get_free_dof_values(φ₋₂.φ)
  135. Ωⱽ = get_triangulation(Vbg)
  136. _ϕ₋ = compute_normal_displacement(cp₋₂, φ₋₂, v₋₂, dt, Ωⱽ)
  137. _φ₋ = FEFunction(Vbg, __φ - _ϕ₋)
  138. end
  139. φ₋ = AlgoimCallLevelSetFunction(_φ₋, ∇(_φ₋))
  140. (i % redistance_frequency == 0) && begin
  141. _φ₋ = compute_distance_fe_function(bgmodel, Vbg, φ₋, control.order, cppdegree=3)
  142. φ₋ = AlgoimCallLevelSetFunction(_φ₋, ∇(_φ₋))
  143. end
  144. cp₋ = compute_closest_point_projections(Vbg, φ₋, control.order,
  145. cppdegree=3, trim=true, limitstol=1.0e-2)
  146. squad = Quadrature(algoim, φ₋, degree, phase=CUT)
  147. s_cell_quad, is_c₋ = CellQuadratureAndActiveMask(bgmodel, squad)
  148. δ₋ = 2.0 * mv₋₂ * dt
  149. _, is_nᶜ = narrow_band_triangulation(Ω, _φ₋, Vbg, is_c₋, δ₋)
  150. Ωᶜ, dΓ = TriangulationAndMeasure(Ω, s_cell_quad, is_nᶜ, is_c₋)
  151. dΩᶜ = Measure(Ωᶜ, 2 * control.order)
  152. nΓ = normal(φ₋, Ω)
  153. buffer[] = (Ωᶜ=Ωᶜ, dΩᶜ=dΩᶜ, dΓ=dΓ, nΓ=nΓ, cp₋=cp₋, φ₋=φ₋, t=t, Vbg=Vbg)
  154. return true
  155. end
  156. N = num_dims(bgmodel)
  157. reffeʷ = ReferenceFE(lagrangian, VectorValue{N,Float64}, control.order - 1)
  158. reffeᵉ = ReferenceFE(lagrangian, Float64, control.order - 1)
  159. function update_all!(i, t, dt, disp, val)
  160. Ωᶜ = buffer[].Ωᶜ; dΩᶜ = buffer[].dΩᶜ
  161. dΓ = buffer[].dΓ; nΓ = buffer[].nΓ
  162. φ = buffer[].φ₋
  163. τ = TensorValue(0.0,-1.0, 1.0, 0.0) ⋅ nΓ # vector tangente
  164. Vʷ = TestFESpace(Ωᶜ, reffeʷ, dirichlet_tags=[5, 8])
  165. UXʷ = TrialFESpace(Vʷ, [p -> VectorValue(0, x₀), p -> -xₗ * τ(p)])
  166. UVʷ = TrialFESpace(Vʷ, [p -> VectorValue(0, v₀), p -> -vₗ * τ(p)])
  167. Vᵉ = TestFESpace(Ωᶜ, reffeᵉ)
  168. Vᴿ = TestFESpace(Ωᶜ, reffeᵉ)
  169. Vˡ = ConstantFESpace(bgmodel)
  170. Uʷ = TrialFESpace(Vʷ)
  171. Uᵉ = TrialFESpace(Vᵉ)
  172. Uᴿ = TrialFESpace(Vᴿ)
  173. Uˡ = TrialFESpace(Vˡ)
  174. Yᵛ = Vʷ
  175. Xᵛ = MultiFieldFESpace([Uʷ, Uˡ])
  176. Yʳ = MultiFieldFESpace([Vᵉ, Vˡ])
  177. Xʳ = MultiFieldFESpace([Uᵉ, Uˡ])
  178. UXʷ, UVʷ, Vʷ, Xᵛ, Yᵛ, Xʳ, Yʳ, Uᵉ, Vᵉ, Vᴿ, Uᴿ, Ωᶜ, dΩᶜ, dΓ, nΓ, φ
  179. end
  180. # Create output directories
  181. pVTU = "./output/" * name * "VTU/"
  182. pPNG = "./output/" * name
  183. mkpath(pVTU)
  184. mkpath(pPNG)
  185. mkpath(pPNG * "Rac_time/")
  186. mkpath(pPNG * "Rho_time/")
  187. mkpath(pPNG * "MCAb_time/")
  188. mkpath(pPNG * "Rac_time_initial/")
  189. mkpath(pPNG * "Rho_time_initial/")
  190. # Save source files alongside results for reproducibility
  191. cp(@__FILE__, pPNG * split(@__FILE__, "/")[end], force=true)
  192. cp("./src/WeakForms.jl", pPNG * "WeakForms.jl", force=true)
  193. cp("./examples/SurfaceViscousFlows/SurfaceViscousFlows.jl",
  194. pPNG * "SurfaceViscousFlows.jl", force=true)
  195. # Time discretisation
  196. t₀ = 0.0
  197. u₀ = VectorValue(0.0, 0.0)
  198. m₀ = 2.0
  199. nΔt = trunc(Int, control.T / control.Δt + 0.5) + 1
  200. tol = 1e-8
  201. # Boundary condition values (updated during time loop)
  202. x₀ = 0.0; xₗ = 0.0
  203. v₀ = 0.0; vₗ = 0.0
  204. update_buffer!(0, t₀, control.Δt, u₀, m₀)
  205. UXʷ, UVʷ, Vʷ, Xᵛ, Yᵛ, Xʳ, Yʳ, Uᵉ, Vᵉ, Vᴿ, Uᴿ, Ωᶜ, dΩᶜ, dΓ, nΓ, φ =
  206. update_all!(0, t₀, control.Δt, u₀, m₀)
  207. τ = TensorValue(0.0, -1.0, 1.0, 0.0) ⋅ nΓ
  208. γʷ = control.γᶜ / h # velocity stabilisation parameter
  209. γᵉ = control.γᶜ / h # concentration stabilisation parameter
  210. # Initial conditions
  211. _υₕ(x) = VectorValue(0.0, 0.0)
  212. υₕ = interpolate_everywhere(_υₕ, UVʷ)
  213. _xₕ(x) = VectorValue(0.0, 0.0)
  214. xₕ = interpolate_everywhere(_xₕ, UXʷ)
  215. xₕ_old = xₕ
  216. Tm = SparseMatrixCSR{0,PetscScalar,PetscInt}
  217. Tv = Vector{PetscScalar}
  218. ps = PETScLinearSolver(mykspsetup)
  219. i = 0
  220. t = t₀
  221. # Arc-length function and optogenetic activation profiles
  222. arclength(x) = R2 * atan(x[2], -x[1])
  223. α₀opto(x) = kin.α₀
  224. β₀opto(x) = kin.β₀
  225. α₀opto2(x) = kin.α₀ + coup.αopto * exp(-0.5 * (arclength(x) - π * R2)^2 / (kin.wrac)^2)
  226. β₀opto2(x) = kin.β₀ + coup.βopto * exp(-0.5 * (arclength(x))^2 / (kin.wrac)^2)
  227. γ₀ = 0.1 / h
  228. γ₀R = 0.1 / h
  229. γ₀M = 0.1 / h
  230. m₀opto(u, v) = ∫(u * v)dΓ
  231. s₀opto(u, v) = ∫(γ₀ * ((nΓ ⋅ ∇(u)) ⊙ (nΓ ⋅ ∇(v))))dΩᶜ
  232. s₀R(u, v) = ∫(γ₀R * ((nΓ ⋅ ∇(u)) ⊙ (nΓ ⋅ ∇(v))))dΩᶜ
  233. s₀MCA(u, v) = ∫(γ₀M * ((nΓ ⋅ ∇(u)) ⊙ (nΓ ⋅ ∇(v))))dΩᶜ
  234. s₀x(υ, μ) = ∫(γʷ * ((nΓ ⋅ ε(υ)) ⊙ (nΓ ⋅ ε(μ))))dΩᶜ
  235. λ = 0.0
  236. A₀opto(u, v) = m₀opto(u, v) + s₀opto(u, v)
  237. bα₀opto(v) = m₀opto(α₀opto, v)
  238. bβ₀opto(v) = m₀opto(β₀opto, v)
  239. bα₀opto2(v) = m₀opto(α₀opto2, v)
  240. bβ₀opto2(v) = m₀opto(β₀opto2, v)
  241. op_α₀ = AffineFEOperator(A₀opto, bα₀opto, Uᴿ, Vᴿ)
  242. op_β₀ = AffineFEOperator(A₀opto, bβ₀opto, Uᴿ, Vᴿ)
  243. α₀v = solve(op_α₀)
  244. β₀v = solve(op_β₀)
  245. # Initial Rac and Rho (coarse equilibration run with larger diffusion)
  246. Rₕ = interpolate_everywhere(0.0, Uᴿ)
  247. ρₕ = interpolate_everywhere(1.0, Uᴿ)
  248. Rₕ_old = Rₕ; ρₕ_old = ρₕ
  249. a_R, b_R, a_ρ, b_ρ = rac_rho_weak_forms2(
  250. control.Δt, 200 * kin.dᵃ, 200 * kin.dᵇ, kin.Drac, kin.Drho,
  251. nΓ, dΓ, coup.α, coup.β)
  252. # MCA initial conditions (equilibrium bound/unbound split)
  253. mMCA, aMCAb, bMCAb, aMCAu, bMCAu = MCA_bound_unbound_weak_forms(
  254. control.Δt, kin.kon, kin.koff, kin.λᵇ, λ, R2, kin.D, nΓ, dΓ)
  255. uh_MCAb = interpolate_everywhere(kin.kon * kin.M0 / (π * R2) / (kin.koff + kin.kon), Uᴿ)
  256. uh_MCAb_old = uh_MCAb
  257. uh_MCAu = interpolate_everywhere(kin.koff * kin.M0 / (π * R2) / (kin.koff + kin.kon), Uᴿ)
  258. uh_MCAu_old = uh_MCAu
  259. sum_uh_MCAu = ∑(∫(uh_MCAu)dΓ)
  260. sum_uh_MCAb = ∑(∫(uh_MCAb)dΓ)
  261. Minitial = sum_uh_MCAu + sum_uh_MCAb
  262. println("Initial total MCA: ", Minitial)
  263. λ = conservation(sum_uh_MCAu, sum_uh_MCAb, Minitial)
  264. I = TensorValue(1.0, 0.0, 0.0, 1.0)
  265. # Membrane tension bilinear / linear forms
  266. N(u) = mech.S * I + mech.Λ * tr(εᶜ(u, nΓ)) * I + mech.M * εᶜ(u, nΓ)
  267. ∂u(u) = mech.R * (τ ⋅ (∇ᶜ(u, nΓ)) ⋅ τ)
  268. mten(u, v) = ∫((u * v) * y)dΓ
  269. mten2(u, v) = ∫(((τ ⋅ (N(u) ⋅ τ)) * v) * y)dΓ
  270. sten(u, v) = ∫(10 * γ₀ * ((nΓ ⋅ ∇(u)) ⊙ (nΓ ⋅ ∇(v))))dΩᶜ
  271. Aten(u, v) = mten(u, v) + sten(u, v)
  272. bten(v) = mten2(xₕ, v)
  273. op_ten = AffineFEOperator(Aten, bten, Uᴿ, Vᴿ)
  274. ten = solve(op_ten)
  275. # Membrane displacement (nonlinear strain bilinear forms)
  276. aᴹ(M, R, x_old, x, w) =
  277. ∫((2 * M * (x ⋅ w / 2 +
  278. R * R * (∇ᶜ(x, nΓ) ⊙ ∇ᶜ(w, nΓ)) +
  279. (cotθ2) * (x ⋅ w))) * sinθ)dΓ +
  280. ∫((2 * M / R / 2 *
  281. ((x_old ⋅ x + R * R * (∇ᶜ(x_old, nΓ) ⊙ ∇ᶜ(x, nΓ))) * (R * ∇ᶜ(w, nΓ) ⋅ τ) +
  282. (cotθ3 * x_old) * (x ⋅ w))) ⋅ τ * sinθ)dΓ
  283. aᴸ(L, R, x_old, x, w) =
  284. ∫(L * (R * R * (∇ᶜ(x, nΓ) ⊙ ∇ᶜ(w, nΓ)) +
  285. (cotθ * (x ⋅ ∇ᶜ(w, nΓ)) + cotθ * (w ⋅ ∇ᶜ(x, nΓ))) ⋅ τ +
  286. (cotθ2) * (x ⋅ w)) * sinθ)dΓ +
  287. ∫(0.5 / R * L *
  288. ((cscθ2) * (x_old ⋅ x) + R * R * ∇ᶜ(x, nΓ) ⊙ ∇ᶜ(x_old, nΓ)) *
  289. (R * ∇ᶜ(w, nΓ) ⋅ τ + cotθ * w) ⋅ τ * sinθ)dΓ
  290. bₓ(MCA_b, v, w) = ∫((mech.χ * (MCA_b) * v ⋅ w) * (mech.R * mech.R) * sinθ)dΓ
  291. m(MCA_b, Δt, x, w) = ∫(((mech.χ * MCA_b) * (x ⋅ w) / Δt) * (mech.R * mech.R) * sinθ)dΓ
  292. mυ(Δt, v, w) = ∫(((v ⋅ w) / Δt) * y)dΓ
  293. # Weak tangentiality penalty
  294. bo = 10.0 / ((2 / 40)^2)
  295. wt(x, w) = ∫(bo * ((x ⋅ nΓ) * (w ⋅ nΓ)))dΓ
  296. # Equilibrate Rac/Rho at t = 0
  297. Arac(rac, w) = a_R(rac, w, υₕ) + s₀R(rac, w)
  298. Brac(w) = b_R(w, ρₕ, α₀v, Rₕ_old, uh_MCAb, coup.MCAbth, coup.rho0)
  299. op_rac = AffineFEOperator(Arac, Brac, Uᴿ, Vᴿ)
  300. Rₕ = solve(op_rac); Rₕ_old = Rₕ
  301. Arho(rho, w) = a_ρ(rho, w, υₕ) + s₀R(rho, w)
  302. Brho(w) = b_ρ(w, Rₕ, β₀v, ρₕ_old, ten, coup.sig0, coup.tenth)
  303. op_rho = AffineFEOperator(Arho, Brho, Uᴿ, Vᴿ)
  304. ρₕ = solve(op_rho); ρₕ_old = ρₕ
  305. # MCA operators at t = 0
  306. AMCAb(MCA_b, w) = aMCAb(MCA_b, υₕ, w) + s₀MCA(MCA_b, w)
  307. BMCAb(w) = bMCAb(w, uh_MCAu, uh_MCAb_old, λ)
  308. AMCAu(MCA_u, w) = aMCAu(MCA_u, xₕ, xₕ_old, w) + s₀MCA(MCA_u, w)
  309. BMCAu(w) = bMCAu(w, uh_MCAb, uh_MCAu_old, λ)
  310. # Extract quadrature points ordered by arc length
  311. xΓ = dΓ.quad.cell_point.values
  312. xΓ = lazy_map(Reindex(xΓ), dΓ.quad.cell_point.ptrs)
  313. alenΓ = lazy_map(Broadcasting(x -> atan(x[2], -x[1])), xΓ)
  314. flat_xΓ = vcat(xΓ...)
  315. flat_alenΓ = vcat(alenΓ...)
  316. num_qpoints = length(flat_xΓ)
  317. perm = sortperm(flat_alenΓ)
  318. flat_alenΓ = R2 * flat_alenΓ[perm]
  319. # Pre-allocate time-series arrays
  320. ract = zeros(nΔt, num_qpoints)
  321. rhot = zeros(nΔt, num_qpoints)
  322. MCAbt = zeros(nΔt, num_qpoints)
  323. σₐt = zeros(nΔt, num_qpoints)
  324. χt = zeros(nΔt, num_qpoints)
  325. vt = zeros(nΔt, num_qpoints)
  326. vnt = zeros(nΔt, num_qpoints)
  327. xt = zeros(nΔt, num_qpoints)
  328. tent = zeros(nΔt, num_qpoints)
  329. # Record initial state
  330. vt[1,:] = vcat(lazy_map(υₕ ⋅ τ, xΓ)...)[perm]
  331. vnt[1,:] = vcat(lazy_map(υₕ ⋅ nΓ, xΓ)...)[perm]
  332. xt[1,:] = vcat(lazy_map(xₕ ⋅ τ, xΓ)...)[perm]
  333. MCAbt[1,:] = vcat(lazy_map(uh_MCAb, xΓ)...)[perm]
  334. tent[1,:] = vcat(lazy_map(ten, xΓ)...)[perm]
  335. # Pre-equilibration loop (coarse diffusion coefficients)
  336. for ti in 1:100
  337. op_rho = AffineFEOperator(Arho, Brho, Uᴿ, Vᴿ)
  338. ρₕ = solve(op_rho); ρₕ_old = ρₕ
  339. op_rac = AffineFEOperator(Arac, Brac, Uᴿ, Vᴿ)
  340. Rₕ = solve(op_rac); Rₕ_old = Rₕ
  341. ractt = vcat(lazy_map(Rₕ, xΓ)...)[perm]
  342. rhott = vcat(lazy_map(ρₕ, xΓ)...)[perm]
  343. plotting("rac", ractt, pPNG * "Rac_time_initial/", "$ti")
  344. plotting("rho", rhott, pPNG * "Rho_time_initial/", "$ti")
  345. end
  346. # Switch to physical diffusion coefficients
  347. msₕ = get_maximum_magnitude_with_dirichlet(υₕ)
  348. a_R, b_R, a_ρ, b_ρ = rac_rho_weak_forms2(
  349. control.Δt, kin.dᵃ, kin.dᵇ, kin.Drac, kin.Drho,
  350. nΓ, dΓ, coup.α, coup.β)
  351. #Arac(rac, w) = a_R(rac, w, υₕ) + s₀R(rac, w)
  352. # ── Main time loop ───────────────────────────────────────────────────────
  353. while t < control.T + tol
  354. # Optogenetic activation window: on after step 50, off after step 150
  355. if i == 50
  356. op_α₀ = AffineFEOperator(A₀opto, bα₀opto2, Uᴿ, Vᴿ)
  357. op_β₀ = AffineFEOperator(A₀opto, bβ₀opto2, Uᴿ, Vᴿ)
  358. α₀v = solve(op_α₀); β₀v = solve(op_β₀)
  359. end
  360. if i == 150
  361. op_α₀ = AffineFEOperator(A₀opto, bα₀opto, Uᴿ, Vᴿ)
  362. op_β₀ = AffineFEOperator(A₀opto, bβ₀opto, Uᴿ, Vᴿ)
  363. α₀v = solve(op_α₀); β₀v = solve(op_β₀)
  364. end
  365. # Update mass conservation Lagrange multiplier
  366. i1 = ∑(∫(uh_MCAb)dΓ); i2 = ∑(∫(uh_MCAu)dΓ)
  367. λ = conservation(i2, i1, Minitial)
  368. @info "Time step $i, time $(trunc(t, digits=4)), Δt = $(control.Δt)"
  369. # Solve velocity
  370. aᵛ, bᵛ = cortical_flow_problem_mechanochemical_axisymmetric_dimensional(
  371. xₕ, xₕ_old, control.Δt, mech.η,
  372. ρₕ, uh_MCAb, dΩᶜ, dΓ, nΓ, γʷ,
  373. mech.χ, mech.χ₀, activity, mech.sigmaₐ⁰, mech.sigmaρ⁰)
  374. op = AffineFEOperator(aᵛ, bᵛ, UVʷ, Yᵛ)
  375. υₕ = solve(op)
  376. υₕtan = to_tangent_vector(υₕ, nΓ)
  377. # Solve membrane displacement
  378. aˣ(x, w) = m(uh_MCAb, control.Δt, x, w) +
  379. aᴸ(mech.Λ, R2, xₕ, x, w) +
  380. aᴹ(mech.M, R2, xₕ, x, w) +
  381. s₀x(x, w) + wt(x, w)
  382. bˣ(w) = m(uh_MCAb, control.Δt, xₕ, w) + bₓ(uh_MCAb, υₕ, w)
  383. op_x = AffineFEOperator(aˣ, bˣ, UXʷ, Vʷ)
  384. xₕ = solve(op_x)
  385. # Update tension
  386. op_ten = AffineFEOperator(Aten, bten, Uᴿ, Vᴿ)
  387. ten = solve(op_ten)
  388. xₕ_old = xₕ
  389. i = i + 1
  390. t = t + control.Δt
  391. writesol && postprocess_all_with_tangent(
  392. φ, dΩᶜ.quad.trian, Rₕ, ρₕ, xₕ, υₕ, υₕtan, uh_MCAb, ten;
  393. i=i, of=control.output_frequency, name=pVTU)
  394. # Update leading-edge boundary condition (velocity and displacement)
  395. Rₕaux = vcat(lazy_map(Rₕ, xΓ)...)[perm]
  396. _ten = vcat(lazy_map(ten, xΓ)...)[perm]
  397. _ten = _ten[end] * threshold2(_ten[end], 0.0001, 0.0)
  398. vₗ = coup.vCTE *
  399. threshold2(Rₕaux[end], coup.rac0, 1.3 * Rₕaux[1]) /
  400. (1 + _ten * _ten / coup.ten0)
  401. xₗ = xₗ * 0.9 + control.Δt * vₗ # slight spatial relaxation at boundary
  402. # Rebuild FE spaces on updated geometry
  403. UXʷ, UVʷ, Vʷ, Xᵛ, Yᵛ, Xʳ, Yʳ, Uᵉ, Vᵉ, Vᴿ, Uᴿ, Ωᶜ, dΩᶜ, dΓ, nΓ, φ =
  404. update_all!(i, t, control.Δt, υₕ, msₕ)
  405. # Solve Rac and Rho
  406. op_rac = AffineFEOperator(Arac, Brac, Uᴿ, Vᴿ)
  407. Rₕ = solve(op_rac); Rₕ_old = Rₕ
  408. op_rho = AffineFEOperator(Arho, Brho, Uᴿ, Vᴿ)
  409. ρₕ = solve(op_rho); ρₕ_old = ρₕ
  410. # Solve MCA bound and unbound
  411. op_MCAb = AffineFEOperator(AMCAb, BMCAb, Uᴿ, Vᴿ)
  412. uh_MCAb = solve(op_MCAb); uh_MCAb_old = uh_MCAb
  413. op_MCAu = AffineFEOperator(AMCAu, BMCAu, Uᴿ, Vᴿ)
  414. uh_MCAu = solve(op_MCAu); uh_MCAu_old = uh_MCAu
  415. # Record time-series data
  416. ract[i,:] = vcat(lazy_map(Rₕ, xΓ)...)[perm]
  417. rhot[i,:] = vcat(lazy_map(ρₕ, xΓ)...)[perm]
  418. MCAbt[i,:] = vcat(lazy_map(uh_MCAb, xΓ)...)[perm]
  419. σₐt[i,:] = mech.sigmaₐ⁰ .+ mech.sigmaρ⁰ * rhot[i,:]
  420. χt[i,:] = mech.χ₀ .+ mech.χ * MCAbt[i,:]
  421. vt[i,:] = vcat(lazy_map(υₕ ⋅ τ, xΓ)...)[perm]
  422. vnt[i,:] = vcat(lazy_map(υₕ ⋅ nΓ, xΓ)...)[perm]
  423. xt[i,:] = vcat(lazy_map(xₕ ⋅ τ, xΓ)...)[perm]
  424. tent[i,:] = vcat(lazy_map(ten, xΓ)...)[perm]
  425. plotting("rac", ract[i,:], pPNG * "Rac_time/", "$i")
  426. plotting("rho", rhot[i,:], pPNG * "Rho_time/", "$i")
  427. plotting("MCAb", MCAbt[i,:], pPNG * "MCAb_time/", "$i")
  428. end
  429. plots_run_singlet(nΔt, vt, vnt, xt * mech.R, MCAbt, ract, rhot, pPNG,
  430. num_qpoints, π * R2, control.Δt, control.T, flat_alenΓ, σₐt, χt, tent)
  431. end

MechanochemicalAxisymmetricVector.jl at commit cd51f0f, under CC-BY-SA-4.0 · at the source

Overview

Authors: Henry De Belly1,2,3, Andreu F. Gallén4, Evelyn Strickland1,2,5, Dorothy C. Estrada1,2, David Sanchez Godinez1,2, Eric Neiva4,6, Patrick J. Zager1,2, Tamas L. Nagy1,2,7, Janis K. Burkhardt8, Hervé Turlier4,9, Orion D. Weiner1,2
  1. Cardiovascular Research Institute, University of California, San Francisco,San Francisco, CA USA
  2. Department of Biochemistry and Biophysics, University of California, San Francisco,San Francisco, CA USA
  3. Present Address: Children’s Medical Center Research Institute, University of Texas Southwestern Medical Center,Dallas, TX USA
  4. Center for Interdisciplinary Research in Biology (CIRB), Collège de France, CNRS, INSERM, Université PSL,Paris, France
  5. Present Address: Immunology Program, Memorial Sloan Kettering Cancer Center,New York, NY USA
  6. Present Address: Department of Fluid Mechanics, Universitat Politècnica de Catalunya - Barcelona Tech (UPC),Barcelona, Spain
  7. Present Address: Broad Stem Cell Research Center, University of California, Los Angeles,Los Angeles, CA USA
  8. Department of Pathology and Laboratory Medicine, Children’s Hospital of Philadelphia Research Institute and Perelman School of Medicine, University of Pennsylvania,Philadelphia, PA USA
  9. Present Address: Center for Integrative Biology (CBI), University of Toulouse, CNRS,Toulouse, France
Journal: Nature cell biology, volume 28, issue 6, pages 1244-1257
Dates: received 13 April 2025; accepted 17 April 2026; published online 10 June 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41556-026-01965-1 · PMID 42270977 · PMCID PMC13279283 · OpenAlex W4403067808
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), cellular / molecular (subfield)
Methods: Statistics, Evoked potentials, fMRI & imaging
Keywords: Cell polarity, Chemotaxis, Membrane biophysics, Actin
MeSH: Cell Movement*, Cell Polarity*, rac GTP-Binding Proteins*, rho GTP-Binding Proteins*, Actins, Animals, Cell Membrane, Epithelial Cells, Humans, Mechanistic Target of Rapamycin Complex 2, Optogenetics, rac1 GTP-Binding Protein, Signal Transduction (* major topic)
Topic: Protein Kinase Regulation and GTPase Signaling (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Citations: cited by 1 paper (Europe PMC); 89 references in the paper

Abstract

In migrating cells, the GTPase Rac organizes a protrusive front, whereas Rho organizes a contractile back. How these GTPases are positioned at opposite poles remains unclear. We leverage optogenetics, mechanical perturbations, and mathematical modelling to reveal a surprising mechanochemical long-range mutual activation between front and back polarity programmes that complements their well-known local mutual inhibition. Rac-based protrusions elevate membrane tension, stimulating an mTORC2-dependent activation of Rho at the opposite side of the cell. Conversely, Rho-mediated contractility induces cortical-flow-based regulation of phosphoinositide signalling that triggers Rac activation distally. We develop a minimal mechanochemical model to explain how long-range facilitation, together with local inhibition, enables robust Rho and Rac partitioning. Our findings demonstrate how the actin cortex and plasma membrane interact as an integrated mechanochemical system for long-range Rac–Rho patterning. This circuit is required for efficient polarity and migration in primary human T cells and is conserved in epithelial cells, highlighting the generality of this mechanism.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

VirtualEmbryo/mechanochemical_polarization

License: CC-BY-SA-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: cd51f0f91e039929abac2b6ce466ff2edbb11b67, 15 April 2026
Languages: Julia (24)
Size: 466 files, 24 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, environment (mechanochemical_2D_axisymmetric/Manifest.toml, mechanochemical_2D_axisymmetric/Project.toml)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: Plots.jl (11 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
26 files

Zenodo 19591544

License: CC-BY-SA-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Plots.jl (11 files)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
26 files
At the source:

Code availability

Unique code generated for this study can be found on GitHub at https://github.com/VirtualEmbryo/mechanochemical_polarization and Zenodo at 10.5281/zenodo.19591544 (ref. 89).

Reproduced under the paper's license (CC BY), from the paper cited above.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 48 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability

All data supporting the findings of this study will be made available within the manuscript. All other data supporting the findings of this study can be obtained from the corresponding authors upon reasonable request. Source data are provided with this paper.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 2, 28 September 2026

  • Publisher: n/a → Nature Portfolio

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 4 keywords, 13 MeSH terms, 5 funders, 89 references.

Cite

This paper

De Belly, H., Gallén, A. F., Strickland, E., Estrada, D. C., Godinez, D. S., Neiva, E., Zager, P. J., Nagy, T. L., Burkhardt, J. K., Turlier, H., & Weiner, O. D. (2026). Long-range mutual activation establishes Rho and Rac polarity during cell migration. Nature cell biology, 28(6), 1244-1257. https://doi.org/10.1038/s41556-026-01965-1

BibTeX

@article{debelly2026long,
author = {De Belly, Henry and Gallén, Andreu F. and Strickland, Evelyn and Estrada, Dorothy C. and Godinez, David Sanchez and Neiva, Eric and Zager, Patrick J. and Nagy, Tamas L. and Burkhardt, Janis K. and Turlier, Hervé and Weiner, Orion D.},
title = {{Long-range mutual activation establishes Rho and Rac polarity during cell migration}},
journal = {Nature cell biology},
year = {2026},
month = jun,
volume = {28},
number = {6},
pages = {1244--1257},
publisher = {Nature Portfolio},
issn = {1465-7392},
doi = {10.1038/s41556-026-01965-1},
url = {https://doi.org/10.1038/s41556-026-01965-1},
pmid = {42270977},
pmcid = {PMC13279283}
}

RIS

TY - JOUR
AU - De Belly, Henry
AU - Gallén, Andreu F.
AU - Strickland, Evelyn
AU - Estrada, Dorothy C.
AU - Godinez, David Sanchez
AU - Neiva, Eric
AU - Zager, Patrick J.
AU - Nagy, Tamas L.
AU - Burkhardt, Janis K.
AU - Turlier, Hervé
AU - Weiner, Orion D.
TI - Long-range mutual activation establishes Rho and Rac polarity during cell migration
T2 - Nature cell biology
J2 - Nat Cell Biol
PY - 2026
DA - 2026/06/10
VL - 28
IS - 6
SP - 1244
EP - 1257
SN - 1465-7392
PB - Nature Portfolio
DO - 10.1038/s41556-026-01965-1
UR - https://doi.org/10.1038/s41556-026-01965-1
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41556-026-01965-1",
"type": "article-journal",
"title": "Long-range mutual activation establishes Rho and Rac polarity during cell migration",
"container-title": "Nature cell biology",
"author": [
{
"family": "De Belly",
"given": "Henry"
},
{
"family": "Gallén",
"given": "Andreu F."
},
{
"family": "Strickland",
"given": "Evelyn"
},
{
"family": "Estrada",
"given": "Dorothy C."
},
{
"family": "Godinez",
"given": "David Sanchez"
},
{
"family": "Neiva",
"given": "Eric"
},
{
"family": "Zager",
"given": "Patrick J."
},
{
"family": "Nagy",
"given": "Tamas L."
},
{
"family": "Burkhardt",
"given": "Janis K."
},
{
"family": "Turlier",
"given": "Hervé"
},
{
"family": "Weiner",
"given": "Orion D."
}
],
"container-title-short": "Nat Cell Biol",
"volume": "28",
"issue": "6",
"page": "1244-1257",
"DOI": "10.1038/s41556-026-01965-1",
"PMID": "42270977",
"PMCID": "PMC13279283",
"ISSN": "1465-7392",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41556-026-01965-1",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
10
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1371/journal.pcbi.1014216 [code]
Diversity in emergent cell locomotion from the coupling cytosolic and cortical Marangoni flows with reaction-diffusion dynamics.
Journal: PLoS computational biology
In common: cellular / molecular, 5 references
[2] doi:10.1126/sciadv.aed8818 [code]
Reconstitution of actomyosin networks in cell-sized liposomes dissects distinct mechanisms of membrane blebbing and symmetry breaking.
Journal: Science advances
In common: cellular / molecular, 3 references
[3] doi:10.1038/s41467-026-72845-3 [code]
The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics.
Journal: Nature communications
In common: cellular / molecular, 3 references
[4] doi:10.1126/sciadv.aeb3209 [code]
The actomyosin cortex controls t-tubule remodeling in skeletal muscle.
Journal: Science advances
In common: cellular / molecular, 3 references
[5] doi:10.1242/bio.062356
aPKC and F-actin dynamics promote Hippo pathway polarity in asymmetrically dividing neuroblasts.
Journal: Biology open
In common: cellular / molecular, 2 references
[6] doi:10.1038/s41526-026-00644-7 [code]
A computational model of altered neuronal activity in altered gravity.
Journal: NPJ microgravity
In common: 2 references
[7] doi:10.1038/s41586-026-10755-6 [code]
An intrinsic cytoskeletal oscillator establishes neuronal polarity.
Journal: Nature
In common: 2 references
[8] doi:10.1016/j.isci.2026.117267
Phospholipase D2 acts upstream of PI4P 5-kinases in the response of neurons to extracellular viscosity.
Journal: iScience
In common: 2 references
[9] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: Plots.jl, cellular / molecular
[10] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: Plots.jl, cellular / molecular

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.