Skip to content

Comparing microbial fitness statistics in bulk and pairwise experiments using empirical trait variation.

Notifications You must be signed in to change notification settings

justuswfink/24FitnessQuantification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Quantification

Files

Input files

Small input data files are stored directly in this Github repository in the data subfolder. There is two larger data files (> 150MB) which are stored through the Git Large File Storage System (git lfs) and these will not download automatically with a git pull command. We recommend to download these files with your browser. In principle, you can also download them by activating the git lfs in your local git folder, but we have had bad experiences with this tool and the manual download avoids that.

Output files

For demonstration, we also include the output files generated by the code in the folder output. These will be overwritten as you run the notebooks, but we decided to include them in case you want to re-use the trait dataset directly.

Code

Python environment

This code runs with Python Python 3.7.13 and requires a list of packages. You can install them with pip -r requirements.txt.:

Jupyter notebooks

The Jupyter notebooks are (roughly) numbered by the sequence in which they can be executed. Notebooks with higher number tend to build on code and output created in the notebooks with lower number.

Python scripts

We note that some of the python scripts in this folder are actually an output of the jupyter notebooks. As you run the notebooks (e.g. 00_develop_pairwise_simulation_code.ipynb), this will generate .py file from scratch.

Figures

The figures are created and saved from the Jupyter notebooks into an extra sub-folder figures. If this subfolder is not present, you might need to create it first otherwise Python may complain.

Makefile

We include a Makefile that allows to run the same Jupyter notebook with many different settings based on a Python package called papermill. For example, we use this to simulate pairwise competitions with different initial mutant abundance and input trait variation. Check out the Makefile targets for these automated recipes.

About

Comparing microbial fitness statistics in bulk and pairwise experiments using empirical trait variation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published