forked from jimmyliu1326/SamnSero_Nextflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
100 lines (90 loc) · 2.23 KB
/
nextflow.config
File metadata and controls
100 lines (90 loc) · 2.23 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
manifest {
author = "Jimmy Liu"
version = "v2.0.0"
name = "SamnSero"
homePage = 'https://github.com/jimmyliu1326/SamnSero_Nextflow'
description = 'Bacterial Genomics Workflow for Infectious Disease Diagnostics and Surveillance'
mainScript = "main.nf"
nextflowVersion = ">=21.0.0"
manifest.defaultBranch = "main"
}
params {
input = null
out_dir = './results'
watchdir = null
help = null
qc = false
annot = null
trim = null
nanohq = null
gpu = null
version = null
centrifuge = "/mnt/e/data/reference/centrifuge/"
noreport = null
taxon_name = "Salmonella enterica"
taxon_level = "species"
medaka_batchsize = 100
meta = "off"
min_binsize = 2000000
seq_platform = 'nanopore'
account = null
disable_binning = null
lca_rank = 'genus'
mmseqs_db = "/mnt/e/data/reference/mmseqs2_bacteria"
}
process {
withLabel:process_low {
cpus = { 4 }
memory = { 8.GB }
time = { 2.h }
}
withLabel:process_medium {
cpus = { 16 }
memory = { 16.GB }
time = { 18.h }
}
withLabel:process_high {
cpus = { 32 }
memory = { 32.GB }
time = { 36.h }
}
}
// profile definitions
profiles {
standard {
includeConfig 'conf/docker.config'
}
slurm {
includeConfig 'conf/slurm.config'
}
singularity {
includeConfig 'conf/singularity.config'
}
docker {
includeConfig 'conf/docker.config'
}
}
// override module default parameters/specifications
includeConfig 'conf/modules.config'
includeConfig 'conf/resources.config'
// Trace pipeline execution metrics
timeline {
enabled = true
file = "${params.out_dir}/pipeline_info/execution_timeline.html"
overwrite = true
}
report {
enabled = true
file = "${params.out_dir}/pipeline_info/execution_report.html"
overwrite = true
}
trace {
enabled = true
file = "${params.out_dir}/pipeline_info/execution_trace.txt"
overwrite = true
}
dag {
enabled = true
file = "${params.out_dir}/pipeline_info/pipeline_dag.html"
overwrite = true
}