-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnextflow.config
70 lines (64 loc) · 1.74 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
59
60
61
62
63
64
65
66
67
68
69
70
manifest {
mainScript = 'donut_falls.nf'
name = 'Donut Falls'
author = 'Erin Young'
homePage = 'https://github.com/UPHL-BioNGS/Donut_Falls'
description = "De novo assembly of long-reads"
version = '1.8.24312'
nextflowVersion = '!>=22.10.1'
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_5M.config'
}
}
//########## Files ##########
timeline.enabled = true
report.enabled = true
trace.enabled = true
dag.enabled = true
//########## Default resources ##########
process {
maxRetries = 1
maxErrors = '-1'
errorStrategy = { task.attempt < 2 ? 'retry' : 'ignore'}
withLabel:process_single {
cpus = { 1 }
memory = { 6.GB }
time = { 30.m * task.attempt}
}
withLabel:process_low {
cpus = { 2 }
memory = { 12.GB }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 6 }
memory = { 36.GB }
time = { 4.h }
}
withLabel:process_high {
cpus = { 12 }
memory = { 72.GB }
time = { 16.h * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 200.GB * task.attempt }
}
}