-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathnextflow.config
177 lines (133 loc) · 4.91 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/**
Yet Another Metagenomic Pipeline (YAMP)
Copyright (C) 2017-2023 Dr Alessia Visconti
This script is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This script is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this script. If not, see <http://www.gnu.org/licenses/>.
For any bugs or problems found, please contact us at
- alessia.visconti@kcl.ac.uk ;
- https://github.com/alesssia/YAMP/issues
*/
manifest {
name = 'YAMP'
author = 'Alessia Visconti'
homePage = 'https://github.com/alessia/yamp'
description = 'Yet Another Metagenomic Pipeline'
mainScript = 'YAMP.nf'
version = '0.9.6.0'
}
params {
/* Containers
--------------------------------*/
singularity_container_bbmap = "https://depot.galaxyproject.org/singularity/bbmap:39.01--h92535d8_1"
docker_container_bbmap = "quay.io/biocontainers/bbmap:39.01--h92535d8_1"
singularity_container_fastqc = "https://depot.galaxyproject.org/singularity/fastqc:0.12.1--hdfd78af_0"
docker_container_fastqc = "quay.io/biocontainers/fastqc:0.12.1--hdfd78af_0"
singularity_container_multiqc = "https://depot.galaxyproject.org/singularity/multiqc:1.14--pyhdfd78af_0"
docker_container_multiqc = "quay.io/biocontainers/multiqc:1.14--pyhdfd78af_0"
singularity_container_biobakery = "biobakery/workflows:3.0.0.a.6.metaphlanv3.0.7"
docker_container_biobakery = "biobakery/workflows:3.0.0.a.6.metaphlanv3.0.7"
singularity_container_qiime2 = "qiime2/core:2020.8"
docker_container_qiime2 = "qiime2/core:2020.8"
/* Execution flow parameters
--------------------------------*/
// Please refer to the ./conf/base.conf file
/* Processing parameters
--------------------------------*/
// Please refer to the ./conf/base.conf file
/* Initialisation
--------------------------------*/
//These are used when the analysis is in characterisation mode
reads1 = ""
reads2 = ""
//These are used to print version and help
help = null
version = null
multiqc_config="$baseDir/conf/multiqc_config.yaml"
}
profiles {
awsbatch {
includeConfig 'conf/base.config'
includeConfig 'conf/awsbatch.config'
}
// Enables Docker (please load with another config file)
docker {
docker.enabled = true
// Avoid this error:
// WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
// Testing this in nf-core after discussion here https://github.com/nf-core/tools/pull/351
// once this is established and works well, nextflow might implement this behaviour as new default.
docker.runOptions = '-u \$(id -u):\$(id -g)'
// If you still get the error above, please decomment the following line (thanks to Flavia Flaviani; https://github.com/flacchy)
// docker.runOptions = "--memory-swap '-1'"
}
// For the KCL HPC (CREATE)
create {
singularity.enabled = true
process.executor = 'slurm'
process.queue = 'cpu'
}
// Enables singularity (please load with another config file)
singularity {
singularity.enabled = true
}
base {
includeConfig 'conf/base.config'
}
// The following are test profiles
test {
includeConfig 'conf/test.config'
}
test_paired_end_complete {
includeConfig 'conf/test.config'
includeConfig 'conf/test_paired_end_complete.config'
}
test_paired_end_QC {
includeConfig 'conf/test.config'
includeConfig 'conf/test_paired_end_QC.config'
}
test_paired_end_QC_nodedup {
includeConfig 'conf/test.config'
includeConfig 'conf/test_paired_end_QC_nodedup.config'
}
test_paired_end_characterisation {
includeConfig 'conf/test.config'
includeConfig 'conf/test_paired_end_characterisation.config'
}
test_single_end_complete {
includeConfig 'conf/test.config'
includeConfig 'conf/test_single_end_complete.config'
}
test_single_end_QC {
includeConfig 'conf/test.config'
includeConfig 'conf/test_single_end_QC.config'
}
test_single_end_QC_nodedup {
includeConfig 'conf/test.config'
includeConfig 'conf/test_single_end_QC_nodedup.config'
}
test_single_end_characterisation {
includeConfig 'conf/test.config'
includeConfig 'conf/test_single_end_characterisation.config'
}
}
trace {
enabled = false
fields = 'task_id, name, status, exit, module, submit, start, complete, duration, realtime, %cpu, rss, vmem, peak_rss, peak_vmem'
}
timeline {
enabled = false
}
report {
enabled = false
}
dag {
enabled = false
}