forked from FelixKrueger/nextflow_pipelines
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nextflow.config
90 lines (71 loc) · 1.62 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// This works to clean things up but I can't see
// how to globally force copy or hardlinks for
// published results so we don't just end up with
// a bunch of broken symlinks
// cleanup.enabled = true
//Profile config names for nf-core/configs
params {
singularity_pull_docker_container = false
params.max_time = 14.d
params.max_cpus = 36
params.max_memory = 1800.GB
// igenomes_base = 's3://ngi-igenomes/igenomes/'
igenomes_base = '/resources/references/igenomes'
}
includeConfig 'genomes.d/igenomes.config'
// includeConfig'configs/cbe.config'
includeConfig'configs/local.config'
process {
memory = 5.GB
time = 4.h
cpus = 1
errorStrategy = 'ignore'
// errorStrategy = { sleep(Math.pow(2, task.attempt) * 30 as long); return 'retry' }
withLabel: process_medium {
cpus = 2
memory = 15.GB
time = 5.h
}
withLabel: process_high {
cpus = 8
memory = 30.GB
time = 8.h
}
withLabel: bigMem {
memory = 20.GB
}
withLabel: mem40G {
memory = 40.GB
}
withLabel: hugeMem{
memory = 80.GB
}
withLabel: multiCore {
cpus = 8
}
withLabel: quadCore{
cpus = 4
}
}
// notification {
// enabled = true
// to = "${USER}@babraham.ac.uk"
// }
timeline {
enabled = true
file = "${params.outdir}/execution_timeline.html"
overwrite = true
}
report {
enabled = true
file = "${params.outdir}/execution_report.html"
overwrite = true
}
//trace {
// enabled = true
// file = "execution_trace.txt"
//}
// dag {
// enabled = true
// file = "pipeline_dag.svg"
// }