-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
154 lines (132 loc) · 3.38 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
params {
//input
//pairedFiles = ["${projectDir}/nf_assets/NO_FILE"]
pairedFiles = ["${projectDir}/test_data/Ecoli_10x.1.fastq","${projectDir}/test_data/Ecoli_10x.2.fastq"]
unpairedFiles = ["${projectDir}/nf_assets/NO_FILE2"]
inputContigs = "${projectDir}/nf_assets/NO_FILE3"
//which modules are run
modules {
sra2fastq = false
faqcs = false
hostRemoval = false
annotation = false
runAssembly = false
}
//module parameters -- passed directly into subworkflows according to best practices
//these are the default values
shared {
outDir = "./testing_output"
projName = "PROJECT"
cpus = 8
fastqSource = "Illumina"
}
sra2fastq {
clean = null
platformRestrict = null
accessions = []
}
faqcs{
adapter = "${projectDir}/nf_assets/NO_FILE3"
qualityCutoff = 5
minLength = 50
avgQuality = 0
numN = 10
lowComplexity = 0.85
cut3end = 0
cut5end = 0
splitSize = 1000000
ontFlag = false
pacbioFlag = false
polyA = false
phredOffset = null
porechop = false
}
hostRemoval {
host = ["${projectDir}/nf_assets/NO_FILE3"]
similarity = 90
bwaMemOptions = null
}
annotation {
taxKingdom = null
annotateProgram = "prokka" //default
customProtein = "${projectDir}/nf_assets/NO_FILE" //setup for optional file pattern
customHMM = "${projectDir}/nf_assets/NO_FILE2"
sourceGBK = null
evalue = null
gcode = null
keggView = false
}
assembly {
assembler = "IDBA_UD"
annotation = false
contigSizeForAnnotation = 700
minContigSize = 200
memLimit = null
idba{
maxK = null
minK = 31
step = 20
}
spades {
pacbio = "${projectDir}/nf_assets/NO_FILE3"
nanopore = "${projectDir}/nf_assets/NO_FILE4"
algorithm = null
}
megahit {
preset = null
}
unicycler {
longreads = "${projectDir}/nf_assets/NO_FILE3"
minLongReads = 2000
bridgingMode = "normal"
}
lrasm {
minLength = 400
preset = null
algorithm = null
ec = null
numConsensus = null
}
}
r2c {
useAssembledContigs = false
r2c_aligner = "bwa"
r2c_aligner_options = ""
r2g_max_clip = null
extractUnmapped = false
rowLimit = null
}
}
//container settings
apptainer {
enabled = true
pullTimeout = "1 hour"
runOptions = "--compat"
}
//which containers to use for which processes
process {
withLabel: 'sra2fastq' {
container = 'kaijli/sra2fastq:1.6.3'
}
withLabel: 'countFastq' {
container = 'apwat/count_fastq:0.2'
}
withLabel: 'qc'{
container= 'apwat/run_faqcs:1.5'
}
withLabel: 'hostRemoval' {
container= 'apwat/host_removal:1.7.4'
}
withLabel: 'assembly' {
container = 'apwat/run_assembly:1.5'
}
withLabel: 'r2c' {
container = 'apwat/run_r2c:1.6'
}
}
//submission rate limit: needed for sra2fastq to operate correctly
executor {
submitRateLimit = '1/5sec'
}
//cleanup
cleanup = false