Skip to content
Snippets Groups Projects
Commit 8cab565d authored by Lensing, Kim's avatar Lensing, Kim
Browse files

Update README.md

parent 67f37d7b
No related branches found
No related tags found
No related merge requests found
...@@ -13,18 +13,11 @@ cp -r /lustre/nobackup/WUR/ABGC/shared/pipelines_version2/population-mapping-ver ...@@ -13,18 +13,11 @@ cp -r /lustre/nobackup/WUR/ABGC/shared/pipelines_version2/population-mapping-ver
``` ```
conda activate /lustre/nobackup/WUR/ABGC/shared/pipelines_version2/envs/population-mapping-version2 conda activate /lustre/nobackup/WUR/ABGC/shared/pipelines_version2/envs/population-mapping-version2
``` ```
#### Create HPC config file: #### Run the pipeline on the cluster:
Necessary for snakemake to prepare and send jobs. To run the pipeline, run the following command:
``` ```
mkdir -p ~/.config/snakemake/<name-of-pipeline> snakemake -j 8 --cluster-config cluster.yaml --cluster "sbatch --mem={cluster.mem} --time {cluster.time} --cpus-per-task {cluster.threads} --job-name={cluster.name} --output={cluster.output} --error={cluster.error}"
nano ~/.config/snakemake/<name-of-pipeline>/config.yaml
```
Include the following and save the file (ctr+x)
```
jobs: 10
cluster: "sbatch -t 2-0:0:0 --mem=16000 -c8 --job-name={rule} --output=logs_slurm/{rule}_%j.out --error=logs_slurm/{rule}_%j.err"
use-conda: true
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment