-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
74 lines (64 loc) · 1.37 KB
/
nextflow.config
File metadata and controls
74 lines (64 loc) · 1.37 KB
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
includeConfig 'parameters.config'
conda.enabled = true
docker.enabled = false
cleanup = true
// Global cleanup configuration
cleanup {
enabled = true
strategy = 'completion'
}
process {
errorStrategy = 'finish' // Options: 'ignore', 'terminate', 'retry'
maxRetries = 3
maxErrors = -1 // -1 means unlimited; set to number to stop after N errors
cleanup = true
resourceLimits = [
memory: 24.GB,
cpus: 8
]
}
// Add these settings to manage storage
dag {
enabled = true
file = "${params.dir.output.reports}/PoolSeqFlow_pipeline_dag.html"
overwrite = true
}
// Add trace configuration
trace {
enabled = true
file = "${params.dir.output.reports}/PoolSeqFlow_pipeline_trace.txt"
sep = '\t'
raw = true
fields = [
'status',
'task_id',
'hash',
'name',
'exit',
'start',
'complete',
'duration',
'realtime',
'cpus',
'memory',
'%cpu',
'%mem',
'attempt'
]
overwrite = true
}
timeline {
enabled = true
file = "${params.dir.output.reports}/PoolSeqFlow_pipeline_timeline.html"
overwrite = true
}
report {
enabled = true
file = "${params.dir.output.reports}/PoolSeqFlow_pipeline_report.html"
overwrite = true
}
workDir = 'work'
cacheDir = 'cache'
env {
PATH="${params.dir.bin}:\$PATH"
}