- Install snakemake into conda environment
- git clone https://github.com/ac1513/CLUSTard.git
- Create data directory (containing samples [names ending in _R1.fastq.gz or _R2.fastq.gz] and assembled reference
- Put sample prefixes into samples.tsv (samples column) in the order that you want the final plot to be
- Edit config.yaml file
- To run on a cluster with slurm job scheduler using
snakemake --use-conda --cluster-config cluster.json --cluster "sbatch -A {cluster.account} -p {cluster.partition} -t {cluster.time} -c {cluster.threads} --mem-per-cpu {cluster.mem}" -j 500
(running in screen with logfile -L is best!)
- (Add --config then e.g. jobid=test to change config without having to edit the whole file - esp useful with the jobid and the kraken_level steps.)
- Currently needs to be run with Snakemake version 5.6.0 or lower