-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
executable file
·48 lines (40 loc) · 1.18 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
cleanup = true
params {
out_dir = './output'
report_dir = './reports'
custom_config_version = 'master'
custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}"
try {
includeConfig "${params.custom_config_base}/conf/sanger.config"
} catch (Exception e) {
System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/conf/sanger.config")
}
}
profiles {
local {
includeConfig 'conf/local.config'
process.executor = 'local'
}
lsf {
includeConfig 'conf/lsf.config'
}
}
process {
errorStrategy = { task.exitStatus in 137..140 ? 'retry' : 'terminate' }
maxRetries = 5
cpus = { 8 * task.attempt }
memory = { 80.GB * task.attempt }
withName: BIOINFOTONGLI_BIOFORMATS2RAW {
ext.args = [
'--no-hcs',
'--tile_height=2048',
'--tile_width=2048',
].join(' ')
}
withName: QCAlignment {
ext.args = [
'--channels [0,5,10,15,20,25,30]',
].join(' ')
}
}
includeConfig 'subworkflows/sanger/bioinfotongli/to_ome_tiff/nextflow.config'