1 of 50

Computational Modeling of Germinal Center Response using CC3D

Derek Mu

Montgomery Blair High School,

Silver Spring, MD

USA

All workshop sessions will be live-streamed, recorded and distributed on YouTube

Support: NIH NIBIB-U24EB028887, NIGMS-R01GM122424, NSF-2120200, NSF-2000281, NSF-1720625, NIGMS-R01GM076692, NIGMS-R01GM077138, NIEHS Superfund P42ES04911

1

2 of 50

Learning Objectives

  • Biological ideas behind the Germinal Center Reaction
  • Review of CC3D implementation
  • Exporting and visualizing data generated from simulation
  • Practice on exporting and visualizing data

2

3 of 50

The adaptive humoral immune response

3

T-independent

T-dependent

4 of 50

The germinal center response (GCR)

4

5 of 50

The germinal center response (GCR) – a remarkable spatial-tempo phenomenon

5

6 of 50

The germinal center response (GCR) – a remarkable spatial-tempo phenomenon

6

Dark zone:

  • Clonal expansion
  • Somatic hypermutation (SHM)
  • Class switch recombination (CSR)

Light zone:

  • Positive selection

CXCL13

CXCL12

FDC

(CXCR5)

(CXCR4)

7 of 50

Motivation and Hypothesis

  • Many environmental chemicals can disrupt GCR by perturbing the molecular network driving B cell response.

  • We hypothesize that having a mathematical model integrating the molecular network and the spatial behaviors of B cells in GC can help us to better understand and predict the health risk of environmental immunotoxicants.

7

8 of 50

Modeling the B cell intracellular network in GCR using Tellurium

8

CXC13

CXC12

Simplification

Implement in Tellurium

9 of 50

Key Biological Events Simulated

  1. Major participating cell types
    1. B cells
    2. Follicular dendritic cells (FDCs) in the Light zone
    3. Cxcl12-expressing reticular cells (CRCs) in the Dark zone
    4. T follicular helper (Tfh) cells in the Light zone
  2. B cell chemotaxis
    • Dictated by chemoattractant gradient and expressed receptors
  3. Light zone B cell interactions
    • With FDCs: Antigen Capture
    • With Tfh cells: Positive Selection
  4. Dark zone B cell interactions
    • B Cell proliferation and somatic hypermutation

9

10 of 50

Simulated B cell dynamics (color denote antibody affinity)

10

11 of 50

Files Used in Simulation Program

  1. Main Python Script
  2. XML Script
  3. Python
  4. PIF File
  5. Python script for exporting & processing data

11

12 of 50

Construction of the Computational Model

The mathematical model of GCR was implemented in the CompuCell3D (CC3D) platform.

A 100x100 2D plane was simulated.

12

13 of 50

PIF File

A PIF file was used in order to create the�surrounding wall:

13

14 of 50

Seeding Cells

CRC were randomly generated in the dark zone by picking random values within an ellipse.

FDC and T cells were randomly generated in the light zone using the same method.

14

15 of 50

Establishing B Cell Clones

  • The target sequence was initialized as “AGTCT”, representing the sequence that most effectively neutralizes the antigen presented by FDCs.
  • Random five digit sequences (5) were chosen and stored into a list to be later assigned to B Cells.

15

16 of 50

Generating B cells (1)

New B cells were randomly generated and assigned a sequence from the list containing randomly generated sequences; this process was repeated until no more sequences remained.

16

17 of 50

Seeding Cells

17

CRC

B cell

FDC

Tfh cell

18 of 50

Assign Antigen to FDC

All FDCs were assigned a predetermined target sequence as the antigen presenting cells.

18

19 of 50

Generating B cells (2)

Newly generated B cells were assigned a set of parameters (volume, chemotaxis data, Tellurium gene network model):

19

20 of 50

Chemotaxis

In order to simulate chemotaxis, the �chemotaxis plugin and DiffusionSolverFE �were initialized in the XML file:

20

21 of 50

Establishing Chemoattractant Gradients

21

CXCL13 field

CXCL12 field

CRC

B cell

FDC

Tfh cell

22 of 50

Tellurium Model

  • Tellurium was used to simulate the intracellular molecular network.�
  • The migration and mitosis behavior of B cells is driven by a gene network:

22

23 of 50

B Cell interactions with FDC, T Cells, and CRC

Using the neighbor tracker plugin, it was determined whether or not the B Cell is in contact with an FDC, CRC, or T Cell.

23

24 of 50

B Cell interaction with Follicular Dendritic Cells (FDCs)

24

25 of 50

B Cell interaction with T follicular helper cells (Tfh cells)

25

26 of 50

Cell Death Timer

The drop of NF-kB level to a certain threshold was used to initiate a death timer which follows a stochastic first order process.

26

27 of 50

B Cell Growth

B Cell growth is initiated by AP4, which is activated by MYC, which is activated by NF-kB.

After B Cell touches CRC, if the AP4 level is still greater than 10, B Cell growth is initiated by increasing cell volume following an exponential function.

27

28 of 50

B Cell Division (Mitosis)

In MitosisSteppable class, if the volumes of B Cells reaches 32 or higher, the cells undergo mitosis and divide.

The parent cell’s dictionary attributes (affinityScore, perfectScore, xCOM, yCOM, gene network parameters) are then duplicated to the two daughter cells, and the parent’s protein levels are divided by two.

28

29 of 50

B Cell Somatic Hypermutation

If the B Cell’s affinity score is less than the max possible score, the cell undergoes mutation, where a random element of the sequence is selected and randomly changed to a different base.

29

30 of 50

Simulated B cell dynamics (color denote antibody affinity)

30

31 of 50

Simulation Output

  • Values for each B cell are stored in unique output .txt file.
  • The files are named as a_b_c.txt, where a is the cell’s generation, b is the ID of the mother cell, and c is the ID of the cell.
  • Data stored in a list in each B cell’s dictionary is appended to output .txt files at a set intervals dictated by a save frequency.

31

32 of 50

Visualization of Cell Lineage

32

33 of 50

Plotting Model Outputs Using .txt Files

  1. .txt files from CC3D
  2. Import into python
  3. Recursion to find lineages
  4. Recursion to combine

desired lineage

  1. Select desired variables
  2. Graph using matplotlib

33

34 of 50

a_b_c.txt files from CC3D

a: Cell generation

b: Mother ID

c: Cell ID

34

35 of 50

a_b_c.txt files from CC3D

35

36 of 50

Import into python

36

37 of 50

Recursion to find lineages

37

38 of 50

Recursion to find lineages

38

39 of 50

Recursion to combine desired lineage

39

40 of 50

Select desired variables to display and analyze

40

41 of 50

Graph using matplotlib

41

42 of 50

Trajectory of a single B cell and subsequent daughter cells and CXCR4 expression levels

42

43 of 50

Spatial-temporal dependent gene expression and cell generation

43

44 of 50

Evolution of antibody affinity and B cell number

44

mcs=0

mcs=45000

45 of 50

Inhibitory Effect of dioxin on cell proliferation and affinity maturation

45

mcs=0

mcs=45000

Dioxin

AhR

46 of 50

Summary

  • The preliminary CC3D model qualitatively recapitulates the key morphological and functional events of GCR.

  • Future iteration is needed to improve the virtual GCR model to better understand and predict the adverse outcomes of immune suppressing chemicals.

46

47 of 50

Exercises: Plotting Model Outputs Using .txt Files

1) Select variables (3) to plot

Make sure capitalization is correct!

47

48 of 50

Exercises: Plotting Model Outputs Using .txt Files

2) Changing cell lineage

Copy a cell lineage from the cellLineages.txt file and replace the current lineage (line 37)

48

49 of 50

Exercises: Plotting Model Outputs Using .txt Files

3) Formatting output

Changing output from 2D plot to 3D:

49

50 of 50

Acknowledgments

Gangarosa Department of Environmental Health

Rollins School of Public Health

Emory University

Atlanta, GA

Qiang Zhang, M.D., Ph.D.

Funding: NIEHS Superfund P42ES04911

50