hpeter0803 / viromes

MIT License
2 stars 0 forks source link

Virome workflows - NOMIS and ENSEMBLE projects

Setup

Conda

Conda user guide

# install miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod u+x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh # follow the instructions

Getting the repository including sub-modules

git clone --recurse-submodules git@github.com:hpeter0803/viromes.git

Create the main snakemake environment

# create venv
conda env create -f envs/requirements.yaml -n "snakemake"

Running the Pipeline

Adjust the config/config.yaml file with the appropriate paths

# Running the Pipeline
snakemake --use-conda --cores 36 --jobs 3 -s workflows/Snakefile -rp    

# (OR)

./config/sbatch.sh  # works only on a SLURM-enabled system

Notes: