Inspired by The Long-Term Evolution Experiment, Serially Transferred Evolving Population Simulator (aka STEPS) models the dynamics of asexual populations as they grow and evolve throughout a serial transfer experiment. Information regarding how to install, compile, and run STEPS can all be found in the User Manual file along with other helpful information such as: example runs and how to interpret them, core assumptions made by model, and a walk through of web-based version. Basic installation, run, and compilation instructions can also be found below.
- Install Rust and Cargo using rustup
- Navigate to the root directory of the project
- Compile as described below
- Run
./target/release/steps helpor./target/debug/steps helpfor usage instructions
- Basic compilation command is
cargo buildfor debug orcargo build --releasefor release (optimized) mode - To target the native CPU and allow better optimization, use
RUSTFLAGS="-C target-cpu=native" cargo build [...]- A specific architecture like
skylakecan be specified instead ofnative - Make sure the target CPU selected will not cause issues for any computers you use to run the code
- A specific architecture like
- Release mode and target specification are highly recommended
- On the MSU HPCC, use
RUSTFLAGS="-C target-cpu=skylake" cargo build --release - On a single personal computer, use
RUSTFLAGS="-C target-cpu=native" cargo build --release - For more portable libraries when compiling for Linux, the
crt-staticfeature can be usedRUSTFLAGS="[...] -C target-feature=+crt-static" cargo build [...] --target=x86_64-unknown-linux-gnu
To build the paper submitted to JOSS regarding this project, run ./JOSS/generate_paper.sh from the project root. This file is generated locally and not tracked. The latest generated version of this paper can be accessed as an artifact from the "Draft PDF" GitHub workflow in this repository.