diff --git a/README.md b/README.md index 5219af899716c193a2d76ea7b99f23939feb2cbc..8e460b488a18b5582418ac8d49f95268422eee17 100755 --- a/README.md +++ b/README.md @@ -321,6 +321,39 @@ Alternatively, you can make use of an existing [configuration profile](#config- nextflow ./src/main.nf -profile human_blood_basecall ``` +### Slurm script + +The pipeline can be executed in an HPC environment using [Slurm](https://slurm.schedmd.com/). A job submission template for basecalling with the `human_blood_basecall` profile is provided below. + +1. Create a shell script: + + ```sh + nano hb_basecall.sh + ``` + +1. Add and edit the following template: + + ```sh + #!/bin/sh + #SBATCH --time 1-0 + #SBATCH --error basecall_err.log + #SBATCH --output basecall_out.log + #SBATCH --mem 24G + #SBATCH --cpus-per-task 12 + #SBATCH --gpus 3 + srun nextflow run ./src/main.nf \ + -profile human_blood_basecall \ + --basecall_mods "5mC_5hmC,6mA" + ``` + +1. Make the file executable and submit the job to the queue: + + ```sh + chmod +x hb_basecall.sh + sbatch hb_basecall.sh + squeue + ``` + [top](#table-of-contents) ## Useful links