-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnextflow.config
125 lines (103 loc) · 2.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
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
// PRIMARY NEXTFLOW.CONFIG
// DEFAULT PARAMETERS
params {
// BASIC PARAMS
help = false
version = false
debug = false
take = 10
fork = 10
high = false
// INPUT / OUTPUT
input = false
reference = false
output = "snps"
// GENERAL
clusters = false
variants = false
phase = false
keepReads = false
keepBams = false
entropy = 1
coverage = 0
regions = 100000
ploidy = 2
noCpG = false
noCHG = false
noCHH = false
}
// NEXTFLOW PROFILES
profiles {
// -profile standard
standard {
includeConfig "${baseDir}/config/base.config"
}
// -profile conda
conda {
includeConfig "${baseDir}/config/base.config"
process.conda = "$baseDir/env/environment.yml"
}
// -profile docker
docker {
includeConfig "${baseDir}/config/base.config"
docker.enabled = true
process.container = 'epidiverse/snp:1.0'
}
// -profile singularity
singularity {
includeConfig "${baseDir}/config/base.config"
singularity.enabled = true
process.container = 'epidiverse/snp:1.0'
}
// -profile test
test {
includeConfig "${baseDir}/config/base.config"
includeConfig "${baseDir}/config/test.config"
}
// -profile epi
epi {
includeConfig "${baseDir}/config/base.config"
process.conda='/scr/epi/pipelines/snp/libs/snp'
process.executor='slurm'
process.queue='crunch'
includeConfig "${baseDir}/config/epidiverse.config"
}
// -profile diverse
diverse {
includeConfig "${baseDir}/config/base.config"
process.conda='/scr/epi/pipelines/snp/libs/snp'
process.executor='slurm'
process.queue='test'
includeConfig "${baseDir}/config/epidiverse.config"
}
// -profile custom
custom {
// Don't load any config (for use with custom home configs)
}
}
// NEXTFLOW MANIFEST
manifest {
homePage = "https://github.com/epidiverse/snp"
author = "Adam Nunn"
description = "A pipeline for variant calling from bisulfite-sequencing data"
mainScript = "main.nf"
version = "1.1"
nextflowVersion = "20.07.1"
}
// NEXTFLOW REPORTING
dag {
enabled = true
file = "${params.output}/dag.svg"
}
report {
enabled = true
file = "${params.output}/report.html"
}
timeline {
enabled = true
file = "${params.output}/timeline.html"
}
trace {
enabled = true
file = "${params.output}/trace.txt"
}