-
Notifications
You must be signed in to change notification settings - Fork 7
/
nextflow.config
121 lines (117 loc) · 3.72 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
manifest {
name = 'Grandeur'
author = 'Erin Young'
homePage = 'https://github.com/UPHL-BioNGS/Grandeur'
mainScript = 'main.nf'
version = '4.5.24310'
defaultBranch = 'main'
description = 'Grandeur is short-read de novo assembly pipeline with serotyping.'
nextflowVersion = '!>=22.10.1'
}
//########## Setting Profiles ##########
profiles {
docker {
docker.enabled = true
conda.enabled = false
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
docker.runOptions = '-u $(id -u):$(id -g)'
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
conda.enabled = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = false
}
msa {
params.msa = true
}
just_msa {
params.msa = true
params.skip_extras = true
}
test {
// default workflow
params.sra_accessions = ["SRR11725329", "SRR13643280", "SRR14436834", "SRR14634837", "SRR7738178", "SRR7889058"]
}
test0 {
// default workflow while skipping extras
params.sra_accessions = ["SRR11725329", "SRR13643280"]
params.skip_extras = true
}
test1 {
// turning on current datasets
params.sra_accessions = ["SRR11725329", "SRR13643280", "SRR14436834", "SRR14634837", "SRR7738178", "SRR7889058"]
params.current_datasets = true
}
test2 {
// phylogenetic analysis
params.sra_accessions = ["SRR22314961", "SRR22314960", "SRR22314959", "SRR22314958" ]
params.msa = true
}
test3 {
// phylogenetic analysis without extras
params.sra_accessions = ["SRR22314961", "SRR22314960", "SRR22314959", "SRR22314958" ]
params.msa = true
params.skip_extras = true
}
test4 {
// phylogenetic analysis with current datasets
params.sra_accessions = ["SRR22314961", "SRR22314960", "SRR22314959", "SRR22314958" ]
params.msa = true
params.current_datasets = true
}
test5 {
// phylogenetic analysis and exclude fastani top hit
params.sra_accessions = ["SRR22314961", "SRR22314960", "SRR22314959", "SRR22314958" ]
params.msa = true
params.exclude_top_hit = true
}
test6 {
// phylogenetic analysis with roary and exclude fastani top hit
params.sra_accessions = ["SRR22314961", "SRR22314960", "SRR22314959", "SRR22314958" ]
params.msa = true
params.exclude_top_hit = true
params.aligner = 'roary'
}
uphl {
includeConfig './configs/UPHL.config'
}
}
process {
maxRetries = 1
maxErrors = '-1'
withLabel:process_single {
cpus = { 1 }
memory = { 4.GB }
time = { 30.m }
}
withLabel:process_low {
cpus = { 2 }
memory = { 12.GB }
time = { 2.h }
}
withLabel:process_medium {
cpus = { 6 }
memory = { 36.GB }
time = { 4.h }
}
withLabel:process_high {
cpus = { 12 }
memory = { 72.GB }
time = { 16.h }
}
withLabel:process_long {
time = { 20.h }
}
withLabel:process_high_memory {
memory = { 200.GB }
}
}