forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyork_viking.config
48 lines (44 loc) · 1.32 KB
/
york_viking.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
41
42
43
44
45
46
47
48
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file for York Viking Cluster for the SLURM login nodes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author: Matthew Care
Mail: [email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
params {
config_profile_contact = "Matthew Care"
config_profile_description = "The University of York Viking profile "
config_profile_url = "https://vikingdocs.york.ac.uk/"
}
apptainer {
enabled = true
autoMounts = true
// the default is 20 minutes and fails with large images
pullTimeout = "3 hours"
}
process{
maxRetries = 3
clusterOptions = "--get-user-env --account=${System.getenv('USER_ACCOUNT')}" // Get user environment and assign account
cache = "lenient"
afterScript = "sleep 60"
stageInMode = "symlink"
stageOutMode = "rsync"
scratch = 'false'
afterScript = "sleep 60"
}
executor {
name = "slurm"
queueSize = 200
submitRateLimit = "10/1sec"
exitReadTimeout = "30 min"
jobName = {
task.name // [] and " " not allowed in job names
.replace("[",
"(")
.replace("]",
")")
.replace(" ",
"_")
}
}