-
Notifications
You must be signed in to change notification settings - Fork 2
/
sonic.config
41 lines (36 loc) · 1.57 KB
/
sonic.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config file for running Nextflow on the Sonic HPC with a slurm schedular
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assumes HPC using Slurm schedular, through which all jobs will be submitted
and run.
NB. This is a generic config that works for the UCD Sonic HPC and is not
intended to work for every cluster, rather to serve as an example. Please
refer to Nextflow documentation and github.com/nf-core/configs for more
information and examples of how to configure Nextflow for your cluster.
----------------------------------------------------------------------------------------
*/
params {
config_profile_description = 'HPC cluster profile'
config_profile_contact = 'Katie Herron (GitHub: @kherronism)'
config_profile_url = 'https://www.ucd.ie/itservices/ourservices/researchit/researchcomputing/sonichpc/'
max_cpus = 44
max_time = '336.h'
singularity_dir = '~/scratch/singularity/'
schema_ignore_params = 'singularity_dir'
}
executor {
queueSize = 20
submitRateLimit = '5 sec'
jobName = { "$task.hash" }
}
singularity {
enabled = true
autoMounts = true
cacheDir = params.singularity_dir
}
process {
executor = 'slurm'
maxRetries = 2
beforeScript = 'module load singularity'
}