forked from UPHL-BioNGS/Donut_Falls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
58 lines (55 loc) · 1.51 KB
/
nextflow.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
49
50
51
52
53
54
55
56
57
58
manifest {
mainScript = 'donut_falls.nf'
name = 'Donut Falls'
author = 'Erin Young'
homePage = 'https://github.com/UPHL-BioNGS/Donut_Falls'
version = '1.5.20240305'
defaultBranch = 'main'
}
//########## Setting the Profile ##########
profiles {
docker {
docker.enabled = true
docker.runOptions = "-u \$(id -u):\$(id -g)"
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
test {
params.test = true
}
campy {
includeConfig './configs/1_5.config'
}
}
process {
maxRetries = 1
maxErrors = '-1'
withLabel:process_single {
cpus = { 1 }
memory = { 6.GB * task.attempt }
time = { 10.m * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 6 * task.attempt }
memory = { 36.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_high {
cpus = { 12 * task.attempt }
memory = { 72.GB * task.attempt }
time = { 16.h * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 200.GB * task.attempt }
}
}