Pathogen Discovery Pipeline
git clone path/to/workdir
cd path/to/workdir
vi config.yaml
change at least out and log folder
install miniconda from https://conda.io/miniconda.html
conda env create -n pdip --file pdip.yaml
2024-07-02 miniconda environment seems not to build (user issue was raised) build the environment with micromamba (https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html)
micromamba env create -n pdip --file pdip.yaml
source activate pdip
cd database
mkdir blast_`date +%Y-%m-%d`
cd blast_`date +%Y-%m-%d`
perl [conda bin folder,pdip/bin]/update_blastdb.pl --decompress nt nr
source activate pdip
snakemake -n -s Snakefile.py --configfile=config.yaml
snakemake -p --jobs 100 \
--configfile=config.yaml \
-s Snakefile.py \
--cluster-config cluster.json \
--cluster "qsub -j eo -e cluster.log -N {params.name} -V -l nodes=1:ppn={threads},mem={cluster.mem},walltime={cluster.walltime}" \
--keep-going --latency-wait 100 --rerun-incomplete