-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
128 lines (103 loc) · 2.55 KB
/
nextflow.config
File metadata and controls
128 lines (103 loc) · 2.55 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
121
122
123
124
125
126
127
128
/*
* Workflow metadata
*/
manifest {
author = "Patrick Barth"
version = "1.0.0"
mainScript = "main.nf"
defaultBranch = "main"
name = "QC reads and alignments"
description = "Collects processing data from preprocessing steps (adapter trimming and quality filtering) as well as from alignment steps and returns them. Provides an overview of the general quality of the data."
nextflowVersion = "23.10.0"
}
/*
* Parameters
*/
params {
// General parameters
output_dir = "output"
// Read processing
min_length = 20 //Minimum length of reads to remain after adapter trimming
min_qual = 20 //Minimum quality allowed for bases to remain
min_percent_qual_filter = 90 //Percentage of bases within a read that need to be above the quality threshold for the read to remain
// Alignment
aligner = "bowtie2" //Says which aligner is to be used. Currently "bowtie2" and "star" are available
annotation = 'NO_FILE'
report_all_alignments = false
max_alignments = false
}
/*
* Fixed Parameters (should not be accessed)
*/
params.manifest = manifest
params.help = false
/*
* Saves reports to output directory
*/
report {
enabled = true
file = "${params.output_dir}/metadata/report.html"
overwrite = true
}
dag {
enable = true
file = "${params.output_dir}/metadata/graph-overview.html"
overwrite = true
}
timeline {
enable = true
file = "${params.output_dir}/metadata/graph-overview.html"
overwrite = true
}
/*
* Executor options
*/
podman.enabled = true
/*
* Profiles
*/
profiles {
slurm {
process.executor = 'slurm'
}
}
/*
* Process resource and container allocation
*/
process {
withName: 'quality_control|quality_control_2' {
cpus = 1
memory = '1 GB'
container = 'docker://pbarth/fastqc:1.0.1'
}
withName: adapter_removal {
cpus = 1
memory = '5 GB'
container = 'docker://pbarth/trim_galore:1.0.1'
}
withName: quality_filter {
cpus = 1
memory = '1 GB'
container = 'docker://pbarth/fastx:1.0'
}
withName: 'build_index_bowtie|mapping_bowtie' {
cpus = 4
memory = '5 GB'
container = 'docker://pbarth/bowtie2:1.0.1'
}
withName: 'build_index_STAR|mapping_STAR' {
cpus = 4
memory = '20 GB'
container = 'docker://pbarth/star:1.0.1'
}
withName: 'multiqc' {
cpus = 1
memory = '10 GB'
container = 'docker://pbarth/multiqc:1.0.1'
}
withName: 'collect_metadata|get_md5sum|collect_versions' {
cpus = 1
memory = '1 GB'
container = 'docker://pbarth/base:1.0'
}
}