-
Clone repository (run
git clone https://github.com/superphy/kmer.git
) -
Download anaconda or miniconda (python 3.7), instructions for that are here
-
Install dependecies: run
conda env create -f data/envi.yaml
-
Start conda environment: run
source activate skmer
-
Run the following command to prepare the data, where 'X' is the number of cores you wish to use
snakemake -j X -s src/setup.smk
-
Run the following command to run all of the tests
snakemake -s src/run_tests.smk
orsnakemake -s src/slurm_run_tests.smk
(if using slurm) -
Run
for dir in results/*; do python src/figures.py $dir/; done
to save all the results as figures
If you do not want to run all tests in step 6 of setup, run src/model.py --help
to see how to run the model for a specific set of parameters.