-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
executable file
·120 lines (104 loc) · 3.12 KB
/
nextflow.config
File metadata and controls
executable file
·120 lines (104 loc) · 3.12 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
params {
singleEnd = false
input = null
reads = null
outdir = "."
// TRIM settings
trim_tool = 'adapterremoval'
custom_adapter_1 = null
custom_adapter_2 = null
// software non-default options
multiqc_config = "$projectDir/assets/multiqc_config.yaml"
trimmomatic_opt = "MINLEN:60 ILLUMINACLIP:${params.adapters_file}:2:30:10:8:TRUE SLIDINGWINDOW:4:20 MINLEN:75"
adapterremoval_opt = '--trimqualities --minquality 5'
adapters_file = "${projectDir}/assets/adapters/NexteraPE-PE.fa"
metaphlan_opt = '-t rel_ab_w_read_stats'
humann_opt = null
spades_opt = '--meta'
busco_opt = null
bowtie2_opt = '--very-sensitive-local'
catpack_contig_opt = null
// OmicFlow settings
filter_bacteria = "bacterium, uncultured" // Matching bacteria will be replaced with NAs
coverage_threshold = "0.8" // Only applicable for CAT output
// software database paths
bowtie_db = null
bowtie_db_name = 'human_genome bowtie2'
metaphlan_db = null
metaphlan_db_index = 'mpa_vJun23_CHOCOPhlAnSGB_202403'
humann_db = null
catpack_db = null
busco_db = null
busco_lineage = 'bacteria_odb12'
// Process bypass options
bypass_trim = false
bypass_decon = false
bypass_read_annotation = false
bypass_assembly = false
bypass_contig_annotation = false
bypass_report = false
// File saving options
save_trim_reads = false
save_decon_reads = true
save_interleaved_reads = false
save_read_annotation = true
save_assembly = true
save_contig_annotation = true
save_final_reports = true
// Schema validation default options
validate_params = false // Not yet functional
version = false
help = false
monochrome_logs = false
email = null
email_sender = null
email_on_fail = null
plaintext_email = false
hook_url = null
process_low_cpu = 4
process_med_cpu = 8
process_high_cpu = 16
cpus = 32
}
// Load nf-pipeline-setup
includeConfig './conf/modules.config'
// Load base.config by default for all pipelines
includeConfig './conf/base.config'
plugins {
id 'nf-schema@2.0.0'
}
manifest {
name = 'metabiomx'
author = """Alem Gusinac, Tom Ederveen, Jos Boekhorst, Annemarie Boleij"""
homePage = 'https://github.com/CMG-GUTS/metabiomx'
description = """Metagenomics workflow for Microbiomics"""
mainScript = 'main.nf'
nextflowVersion = '!>=24.10.4'
version = '1.2.1'
}
executor {
$local {
queueSize = params.cpus.intdiv(params.process_low_cpu)
cpus = params.cpus
}
}
mail {
smtp.host = null
smtp.port = null
}
profiles {
docker {
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g) --rm --security-opt=no-new-privileges'
singularity.enabled = false
}
singularity {
singularity.enabled = true
singularity.ociAutoPull = false
singularity.cacheDir = "${projectDir}/cache"
docker.enabled = false
}
test {
includeConfig 'conf/test.config'
}
}