-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
105 lines (91 loc) · 2.4 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
// defaults
containersDir = "containers"
datasetsDir = "datasets"
annotationsFile = "${baseDir}/config/annotations.txt"
outputFolder = "intogen_analysis"
manifest {
author = 'Barcelona Biomedical Genomics Lab'
description = 'IntOGen analysis pipeline'
homePage = 'http://www.intogen.org'
doi = '10.1038/s41568-020-0290-x'
mainScript = 'intogen.nf'
defaultBranch = 'master'
}
params {
output = outputFolder
annotations = annotationsFile
containers = containersDir
datasets = datasetsDir
debug = false
stepsFolder = "${params.output}/steps"
seed = null
}
env {
// set default values for datasets
INTOGEN_DATASETS = params.datasets
BGDATA_LOCAL = env.INTOGEN_DATASETS + '/bgdata'
BGDATA_OFFLINE = "TRUE"
}
singularity {
enabled = true
cacheDir = params.containers
}
profiles {
bbglab {
includeConfig 'config/bbglab.conf'
}
local {
includeConfig 'config/local.conf'
}
}
process {
cpus = 1
errorStrategy = (params.debug)? 'ignore' : 'terminate'
withLabel: core {
container = "file:///${singularity.cacheDir}/intogen-core.simg"
}
withLabel: bgsignature {
container = "file:///${singularity.cacheDir}/signature.simg"
}
withName: OncodriveFML {
container = "file:///${singularity.cacheDir}/oncodrivefml.simg"
}
withName: OncodriveCLUSTL {
container = "file:///${singularity.cacheDir}/oncodriveclustl.simg"
}
withName: VEP {
container = "file:///${singularity.cacheDir}/vep.simg"
}
withName: dNdScv {
container = "file:///${singularity.cacheDir}/dndscv.simg"
}
withName: SMRegions {
container = "file:///${singularity.cacheDir}/smregions.simg"
}
withName: CBaSE {
container = "file:///${singularity.cacheDir}/cbase.simg"
}
withName: MutPanning {
container = "file:///${singularity.cacheDir}/mutpanning.simg"
}
withName: HotMAPS {
container = "file:///${singularity.cacheDir}/hotmaps.simg"
}
withName: deconstructSigs {
container = "file:///${singularity.cacheDir}/deconstructsigs.simg"
}
withName: Combination {
container = "file:///${singularity.cacheDir}/intogen-combination.simg"
}
}
timeline {
enabled = true
}
trace {
enabled = true
fields = 'process,task_id,hash,name,attempt,status,exit,realtime,%cpu,vmem,rss,submit,start,complete,duration,realtime,rchar,wchar'
}
report {
enabled = true
overwrite = false
}