-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
executable file
·138 lines (118 loc) · 2.96 KB
/
nextflow.config
File metadata and controls
executable file
·138 lines (118 loc) · 2.96 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
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
manifest {
mainScript = 'main.nf'
name = 'MPOA'
recurseSubmodules = true
nextflowVersion = '!>=25.07.0'
}
// disable ansi console printing (ignore lint warning)
ansi = false
params {
// options
max_cores = Runtime.runtime.availableProcessors()
cores = Runtime.runtime.availableProcessors().intdiv(2)
memory = "16"
profile = false
help = false
mapper = 'minimap2'
// inputs
fastq = ''
fasta = ''
frequency = false
depth = "10"
motif = "5"
keep_coordinates = false
// folder structure
output = 'results'
workdir = "work/nextflow-MPOA"
runinfo = "nextflow-run-infos"
cachedir = "singularity-images"
}
timeline {
enabled = true
overwrite = true
file = "${params.runinfo}/execution_timeline.html"
}
report {
enabled = true
overwrite = true
file = "${params.runinfo}/execution_report.html"
}
dag {
enabled = true
overwrite = true
file = "${params.runinfo}/dag_chart.html"
}
profiles {
standard {
executor {
name = "local"
cpus = params.max_cores
}
workDir = params.workdir
includeConfig 'configs/local.config'
}
// executer
local {
executor {
name = "local"
cpus = params.max_cores
}
workDir = params.workdir
includeConfig 'configs/local.config'
}
stub {
params {
max_cores = 2
cores = 2
}
}
ukj_cloud {
workDir = "gs://case-tmp-dir/nextflow-MPOA/"
docker { enabled = true }
google {
project = 'case-dev-302214'
location = 'europe-west4'
batch{
spot = true
bootDiskSize = 50.GB
}
}
includeConfig 'configs/container.config'
includeConfig 'configs/nodes.config'
// cloud error strategy
process {
//errorStrategy = { task.exitStatus in [10,14,143,137,104,134,139] ? 'retry' : 'ignore' }
maxRetries = 3
executor = 'google-batch'
}
}
slurm {
includeConfig 'configs/nodes.config'
executor {
name = "slurm"
queueSize = 100
// exitReadTimeout = "360 sec"
// submitRateLimit = '1 / 2 s'
// pollInterval = '30 sec'
}
process.cache = "lenient"
//process.errorStrategy = 'ignore'
}
// engines
docker {
docker { enabled = true }
includeConfig 'configs/container.config'
}
singularity {
singularity {
enabled = true
autoMounts = true
cacheDir = params.cachedir
envWhitelist = "HTTPS_PROXY,HTTP_PROXY,http_proxy,https_proxy,FTP_PROXY,ftp_proxy"
//runOptions = "-B /tmp/nextflow-nCov-$USER"
}
includeConfig 'configs/container.config'
}
// test_profile
test{ }
}