- clone this repository with
git clone https://github.com/vanheeringen-lab/anansnake.git
cd
into the anansnake directory- create a conda environment with anansnake (
mamba create -n anansnake anansnake
ormamba env create -n anansnake -f requirements.yaml
) - activate the conda environment with
mamba activate anansnake
To check if everything is set up right, we can do a dry run:
anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12 --dry-run --reason
If you get an error, be sure to check the red text! I've added human-readable feedback where I could.
With the example data, you still need to provide a genome and gene annotation. You can download the GRCz11 genome and gene annotation with
genomepy install GRCz11 --annotation
If you do another dry run you should have no more errors, and see what is going to happen.
To do the real run, you need to specify how many cores you want to use, and how much RAM you have:
anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12