-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
83 lines (52 loc) · 1.3 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
#!/usr/bin/env nextflow
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Default config options for all compute environments
----------------------------------------------------------------------------------------
*/
nextflow.enable.dsl = 2
nextflow.enable.moduleBinaries = true
params {
//Default pipeline parameters
ref = 'grch38'
faf = false
pcv = false
gpu = false
o = '.'
snvs = 'snvs_not_present'
indels = 'indels_not_present'
fa = '.'
sdb = '.'
af = '.'
af_cutoff = 0.01
spliceai_cutoff = 0.2
spliceai_max_length = 50
squirls_cutoff = 0.8
annotation_mode = 'OR'
}
docker {
//Docker global configurations
enabled = true
runOptions = '-u $(id -u):$(id -g)'
}
wave {
enabled = true
}
tower {
accessToken = ''
}
process {
/* Setting labels to control cpu threads usage
according to a parallel or in series design
depending on the specific process running */
withLabel: 'inSeries' {
errorStrategy = 'retry'
cpus = params.t
}
withLabel: 'inParallel' {
errorStrategy = 'retry'
cpus = 1
}
}