-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnextflow.config
executable file
·145 lines (124 loc) · 3.21 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
manifest {
mainScript = 'ribap.nf'
nextflowVersion = '>=20.01.0'
}
// default parameters
params {
max_cores = Runtime.runtime.availableProcessors()
cores = '4'
memory = '8.GB'
help = false
profile = false
// input
fasta = ''
list = false
// parameters
gcode = 0
reference = false
heigth = 8
width = 10
tree = false
bootstrap = 1000
core_perc = 1.0
sets = false
tmlim = 240 // ILP solve time limit in seconds
chunks = 8 // how many ILP chunks for parallel computing
protein_fasta_file = ''
annotation_file = ''
set_recursion_limit = 1000
// folder structure
output = 'results'
// per default we remove ILP intermediate files to save disk space
keepILPs = false
// optional profile configurations, only necessary for HPC LSF execution
cloudProcess = false
// location for storing the conda environments
condaCacheDir = 'conda'
// location for storing the singularity images
singularityCacheDir = 'singularity'
}
profiles {
// executors
local {
executor {
name = "local"
cpus = params.max_cores
memory = params.memory
}
params.cloudProcess = false
includeConfig 'configs/local.config'
}
slurm {
executor {
name = "slurm"
queueSize = 100
// exitReadTimeout = "360 sec"
// submitRateLimit = '1 / 2 s'
// pollInterval = '30 sec'
}
params.cloudProcess = true
process {
clusterOptions = '--time=72:00:00'
cache = "lenient"
}
includeConfig 'configs/nodes.config'
}
lsf {
executor {
name = "lsf"
queueSize = 100
// exitReadTimeout = "360 sec"
// submitRateLimit = '1 / 2 s'
// pollInterval = '30 sec'
}
params.cloudProcess = true
process.cache = "lenient"
includeConfig 'configs/nodes.config'
}
// engines
conda {
conda{
enabled = true
cacheDir = params.condaCacheDir
timeout = '45 min'
}
includeConfig 'configs/conda.config'
}
mamba{
conda{
enabled = true
cacheDir = params.condaCacheDir
timeout = '45 min'
useMamba = true
}
includeConfig 'configs/conda.config'
}
docker {
docker {
enabled = true
}
includeConfig 'configs/container.config'
}
singularity {
singularity {
enabled = true
autoMounts = true
envWhitelist = "HTTPS_PROXY,HTTP_PROXY,http_proxy,https_proxy,FTP_PROXY,ftp_proxy"
cacheDir = params.singularityCacheDir
}
includeConfig 'configs/container.config'
}
// predefined combinations
// local execution with conda
standard {
executor {
name = "local"
cpus = params.max_cores
memory = params.memory
}
params.cloudProcess = false
conda { cacheDir = params.condaCacheDir }
includeConfig 'configs/local.config'
includeConfig 'configs/conda.config'
}
}