-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnextflow.config
More file actions
executable file
·89 lines (72 loc) · 2.03 KB
/
nextflow.config
File metadata and controls
executable file
·89 lines (72 loc) · 2.03 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// Remove work directories on successful completion
cleanup = true
includeConfig './conf/profiles.config'
// Specify default parameters
params {
// main params
command = null
assembly = null
// STAR
readlength = 101
// validation
validate_params = true
show_hidden_params = false
monochrome_logs = false
schema_ignore_params = ''
help = false
}
process {
errorStrategy = { task.exitStatus in [130, *137..140] ? 'retry' : 'terminate' }
maxRetries = 1
withLabel: process_1cpu_32mb_30min {
time = '30min'
cpus = { 1 * task.attempt }
memory = { 32.MB * task.attempt }
}
withLabel: process_1cpu_512mb_30min {
time = '30min'
cpus = { 1 * task.attempt }
memory = { 512.MB * task.attempt }
}
withLabel: process_1cpu_64mb_30min_local {
executor = 'local'
time = '30min'
cpus = { 1 * task.attempt }
memory = { 64.MB * task.attempt }
}
withLabel: process_2cpu_2gb_30min {
time = '30min'
cpus = { 2 * task.attempt }
memory = { 2.GB * task.attempt }
}
withLabel: process_2cpu_4gb_30min {
time = '30min'
cpus = { 2 * task.attempt }
memory = { 4.GB * task.attempt }
}
withLabel: process_8cpu_512mb_10min {
time = '10min'
cpus = { 8 * task.attempt }
memory = { 512.MB * task.attempt }
}
withLabel: process_8cpu_16gb_30min {
time = '30min'
cpus = { 16 * task.attempt }
memory = { 16.GB * task.attempt }
}
withLabel: process_20cpu_48gb_1h {
time = { '1h' * task.attempt }
cpus = { 20 + (4 * task.attempt) }
memory = { 48.GB * task.attempt }
}
}
manifest {
name = 'genome-manager'
author = """Rob Moccia"""
homePage = 'https:/github.com/pfizer-rd/genome-manager'
description = """Genome management for Nextflow pipelines"""
mainScript = 'main.nf'
nextflowVersion = '>=21.10.6'
version = '0.2'
}
includeConfig './conf/modules.config'