-
Notifications
You must be signed in to change notification settings - Fork 5
/
nextflow.config
executable file
·153 lines (135 loc) · 4.52 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
/*
* -------------------------------------------------
* Nextflow config file for Tempo
* -------------------------------------------------
* Default config options for all environments.
* Cluster-specific config options should be saved
* in the configuration folder and imported under a
* profile name here.
*
*/
manifest {
description = 'WES & WGS pipeline'
homePage = 'https://github.com/mskcc/tempo'
mainScript = 'pipeline.nf'
name = 'tempo'
nextflowVersion = '>=20.01.0'
version = '1.3.0'
}
params {
outDir = "${PWD}" // Path to output directory, default PWD
genome = 'GRCh37' // Default reference genome is GRCh38
// path to reference files subdirectory
verbose = false // Enable for more verbose information, default false
markdup_java_options = '"-Xms4000m -Xmx7g"' // Established values for markDuplicate memory consumption
// see https://github.com/SciLifeLab/Sarek/blob/master/conf/base.config
publishDirMode = 'link' // publishDir mode is hard 'link' by default
tools = 'lohhla,delly,facets,mutect2,manta,strelka2,msisensor,haplotypecaller,polysolver,mutsig,neoantigen,pileup,conpair'
assayType = "exome" // either 'exome' or 'genome'; default exome
somatic = false
germline = false
outname = 'bamMapping.tsv'
publishAll = true
mapping = false
pairing = false
bamMapping = false
splitLanes = true
QC = false
aggregate = false
fileTracking = 'fileTracking.tsv'
watch = false
touchInputsInterval = 30 // unit of minutes
chunkSizeLimit = 0 // set > 0 to tune number of lines read from mapping, bamMapping or aggregate
anonymizeFQ = false
cosmic = 'v3'
}
// Run profiles are specified with "-profile" at the command line
profiles {
docker {
includeConfig "conf/docker.config"
includeConfig "conf/containers.config"
includeConfig "conf/resources.config"
includeConfig "conf/references.config"
}
singularity {
includeConfig "conf/singularity.config"
includeConfig "conf/containers.config"
includeConfig "conf/resources.config"
includeConfig "conf/references.config"
}
juno {
includeConfig "conf/singularity.config"
includeConfig "conf/juno.config"
includeConfig "conf/containers.config"
includeConfig "conf/references.config"
if(params.assayType == "exome") {
includeConfig "conf/exome.config"
includeConfig "conf/resources_juno.config"
}
if(params.assayType == "genome") {
includeConfig "conf/genome.config"
includeConfig "conf/resources_juno_genome.config"
}
}
awsbatch {
includeConfig "conf/docker.config"
includeConfig "conf/containers.config"
includeConfig "conf/awsbatch.config"
includeConfig "conf/resources_aws.config"
includeConfig "conf/references.config"
if(params.assayType == "exome") {
includeConfig "conf/exome.config"
includeConfig "conf/resources_aws.config"
}
if(params.assayType == "genome") {
includeConfig "conf/genome.config"
includeConfig "conf/resources_aws_genome.config"
}
}
test_singularity {
includeConfig "conf/singularity.config"
includeConfig "conf/juno.config"
includeConfig "conf/containers.config"
includeConfig "conf/resources.config"
includeConfig "conf/references.config"
if(params.assayType == "exome") {
includeConfig "conf/exome.config"
}
if(params.assayType == "genome") {
includeConfig "conf/genome.config"
}
}
test {
includeConfig "conf/test.config"
includeConfig "conf/docker.config"
includeConfig "conf/containers.config"
includeConfig "conf/resources.config"
includeConfig "conf/references.config"
if(params.assayType == "exome") {
includeConfig "conf/exome.config"
}
if(params.assayType == "genome") {
includeConfig "conf/genome.config"
}
}
}
trace {
enabled = true
file = 'trace.txt'
fields = 'task_id,hash,native_id,process,tag,name,status,exit,module,container,cpus,time,disk,memory,attempt,submit,start,complete,duration,realtime,queue,%cpu,%mem,rss,vmem,peak_rss,peak_vmem,rchar,wchar,syscr,syscw,read_bytes,write_bytes'
}
timeline {
enabled = true
file = 'timeline.html'
}
report {
enabled = true
file = 'report.html'
}
dag {
enabled = false
file = 'dag.pdf'
}
env {
PYTHONNOUSERSITE = 1
}