-
Notifications
You must be signed in to change notification settings - Fork 5
/
nextflow.config
105 lines (97 loc) · 2.2 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
params {
// generic
help = false
// shared (not output)
genomefa = "$baseDir/genome.fa"
badloci = "$baseDir/badloci.bed.gz"
exclude = 'NO_EXCLUDE'
// output locations
outdir = "$PWD/results"
reportDir = "${params.outdir}/reports"
// pindel_pl specific
tumour = null
normal = null
simrep = null
filter = null
genes = null
unmatched = null
seqtype = 'WGS'
assembly = 'NO_ASSEMBLY'
species = 'NO_SPECIES'
skipgerm = null
softfil = 'NO_FILE'
apid = 'NO_PROCESS'
// np_generation specific
bams = null
range = false
}
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
trace {
enabled = true
file = "${params.reportDir}/execution_trace_${trace_timestamp}.txt"
}
// To allow DAG, Graphviz must be installed
/*
dag {
enabled = true
file = "${params.reportDir}/pipeline_dag_${trace_timestamp}.svg"
}
*/
timeline {
enabled = true
file = "${params.reportDir}/execution_timeline_${trace_timestamp}.html"
}
report {
enabled = true
file = "${params.reportDir}/execution_report_${trace_timestamp}.html"
}
process {
// np_generation
withName: 'create_fake_bam' {
cpus = 1
memory = '1 GB'
queue = 'small'
}
withName: 'np_pindel' {
cpus = 3
memory = '6 GB'
queue = 'long'
}
withName: 'np_creation' {
cpus = 1
memory = '4 GB'
queue = 'long'
}
// pindel_pl
withName: 'pindel' {
cpus = 2
memory = '8 GB'
queue = 'long'
}
withName: 'pindel_flag' {
cpus = 1
memory = '4 GB'
queue = 'normal'
}
}
// this will only work if there is a docker/singularity image available
profiles {
local {
process.executor = 'local'
}
lsf {
process.executor = 'lsf'
executor.perJobMemLimit = true
}
docker {
docker.enabled = true
docker.userEmulation = true
singularity.enabled = false
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.runOptions = '--cleanenv'
docker.enabled = false
}
}