-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnextflow.config.template
More file actions
120 lines (101 loc) · 2.43 KB
/
nextflow.config.template
File metadata and controls
120 lines (101 loc) · 2.43 KB
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
// Run Directory Path
params.run_dir_path = ""
params.pheniqs_version = "2"
// Global Configuration
env.alpha = ""
env.tmp_dir = ""
env.fastqc_path = ""
env.archive_path= ""
params.admin_email = ""
// modules
params.PICARD_MODULE = "picard/3.4.0"
params.PHENIQS1_MODULE = "pheniqs/1.1.0"
params.PHENIQS2_MODULE = "pheniqs/2.1.0"
params.JDK_MODULE = "openjdk/17.0.2"
params.ANACONDA_MODULE = "anaconda3/2020.07"
params.MULTIQC_MODULE = "multiqc/1.27"
params.PBZIP2_MODULE = "pbzip2/1.1.13"
params.BASES2FASTQ_MODULE = "bases2fastq/2.2.0"
params.conda_path = ""
// nextflow work dir
workDir = ""
// email settings
mail {
smtp.user = ""
smtp.password = ""
smtp.host = "smtp.gmail.com"
smtp.port = 587
smtp.starttls.enable = true
}
// enable conda and report overwrite
conda.enabled = true
report.overwrite = true
// Slurm settings
process {
executor = 'slurm'
clusterOptions = '--export=NONE'
errorStrategy = 'retry'
maxRetries = 3
cpus = { 1 * task.attempt }
memory = { 2.GB * task.attempt }
time = { 1.h * task.attempt }
withName: 'check_no_demux|check_do_merge' {
memory = '1 GB'
cpus = 1
time = { 1.min * task.attempt }
}
withName: tar {
memory = '4 GB'
cpus = 6
time = { 12.h * task.attempt }
}
withName: rsyncToArchive {
memory = '4 GB'
cpus = 1
time = { 4.h * task.attempt }
}
withName: _basecall_picard {
memory = { 30.GB * task.attempt }
cpus = 4
time = { 32.h * task.attempt }
}
withName: _basecall_bases2fastq {
memory = { 60.GB * task.attempt }
cpus = 20
time = { 2.h * task.attempt }
}
withName: make_pheniqs_config {
memory = '4 GB'
cpus = 1
time = { 5.min * task.attempt }
}
withName: run_pheniqs {
memory = { 60.GB * task.attempt }
cpus = 20
time = { 24.h * task.attempt }
}
withName: 'demux_reports|deliver' {
memory = '4 GB'
cpus = 2
time = { 15.min * task.attempt }
}
withName: 'merge_lanes|multiqc' {
memory = '60 GB'
cpus = 2
time = { 15.min * task.attempt }
}
withName: 'fastqc' {
memory = '60 GB'
cpus = 20
time = { 30.min * task.attempt }
}
}
trace {
enabled = true
file = params.trace_file_path
fields = 'task_id,name,status,cpus,memory,realtime,%cpu,%mem,vmem'
overwrite = true
}
env {
SEQERA_ACCESS_TOKEN=""
}