- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| analyze_skew.py | ||
| compare_experiments.py | ||
| constants.py | ||
| environment.yml | ||
| environments.py | ||
| generate_supplemental_figures.py | ||
| inner_fitness.py | ||
| inner_population.py | ||
| outer_fitness.py | ||
| outer_population.py | ||
| README.md | ||
| reproduction.py | ||
| run_experiment.py | ||
| run_supplemental_experiments.py | ||
| Snakefile | ||
| visualize_inner_population.py | ||
| visualize_outer_population.py | ||
endohiff
Endosymbiotic HIFF
A research project inspired by endosymbiosis. A "host" will provide an evolved environment for a population of "symbionts." By shaping the fitness landscape, we hypothesize the host can influence the evolutionary trajectory of its symbionts and lead them to achieve higher fitness scores than they would in a non-agential environment.
Usage
To run the code in this project, you must install the dependencies listed in environment.yml, using a tool such as Conda, or manually.
This project is optimized to run on a computer with a single CUDA-enabled GPU.
It should be easily modifiable to run on other system configurations, but this
may require small changes to calls to ti.init() and the Snakefile.
This project runs several evolutionary experiments, using separate scripts to generate results, visualize runs, and chart performance within and across experiments. There are also a few supplemental scripts to run secondary experiments or generate figures for the write-up. You can run these scripts directly, or use snakemake to regenerate output files more efficiently in batches:
snakemake all --resources gpu=1: Ensure all experiments have been run and all visualizations, charts, and figures have been generated.snakemake evolve --resources gpu=1: Ensure all experiments have been run.snakemake render: Ensure visualizations of all the best experiment runs have been rendered.snakemake chart: Ensure results from all experiments have been charted.snakemake evolve:<env> --resources gpu=1: Ensure all experiments for the given environment have been run.snakemake render:<env>: Ensure visualizations of all the best experiment runs for the given environment have been rendered.snakemake chart:<env>: Ensure results from all experiments for the given environment have been charted.snakemake <env> --resources gpu=1: Ensure all experiments for the given environment have been run and all associated visualizations, charts, and figures have been generated.