By Cassandra Areff, Yumi Briones, Alyssa Pradhan, and Danielle Share
We aim to replicate the agent-based model of prosocial behavior and recombination in bacteria by Lee et al. (2023) using Python packages. We will run a minimal subset of parameter combinations and compare our findings to the original paper.
Most important:
run_sim.py
is our simulation with parallel computing featuresgens_50
containsrun_sim.py
results for 50 generationsgens_500
containsrun_sim.py
results for 500 generations241212_vis
generates visualizations fromgens_50
Less important:
test_sims
are test simulation resultsabm.ipynb
is the initial version of our simulation in notebook format, without parallel computing featurestest_visualizations
contains test code for visualizations
P. A. Lee, O. T. Eldakar, J. P. Gogarten, and C. P. Andam. Recombination as an enforcement mechanism of prosocial behavior in cooperating bacteria. Iscience, 26(8), 2023.