-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
135 lines (109 loc) · 2.84 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
manifest {
mainScript = 'viromics.nf'
nextflowVersion = '>=22.04.4'
name ='Viromics'
author = 'Rodrigo Hernandez Velazquez'
description = 'Nextflow viromics wokflow'
version = '0.0.1'
}
params {
//Directories
virsorter_output = 'virsorter_out'
checkv_out = 'checkv_output'
kaiju_out = 'kaiju_output'
viromeQC_out = 'viromeQC_output'
flashweave_out = 'flashweave_output'
fastp_out = 'fastp_output'
megahit_out = 'megahit_output'
bowtie_out = 'bowtie_output'
bowtie_index_out = 'bowtie_index'
samtools_out = 'samtools_output'
mapping_summary_out = 'mapping_summary_output'
cobra_out = 'cobra_output'
vsearch_out = 'vsearch_output'
geNomad_out = 'geNomad_output'
eggnog_mapper_out = 'eggnog_mapper_output'
cdhit_out = 'cdhit_output'
tim_out = 'tim_output'
//main dir
result_dir = 'results'
//Directory containing all databases
databases = 'databases'
//Database parameters
virsorterdb = false
checkvdb = false
kaijudb = false
virushostdb = false
geNomaddb = false
eggnogdb = false
//Pipeline to execute
pipeline = ""
//Input
contigs = ""
reads = ""
matrix = ""
phylogeny = ""
taxonomy = ""
viral_contigs = ""
//Computational reosurces
cpus = Runtime.runtime.availableProcessors()
memory = 12
//Program default parameters
//viromeQC
samp_type='environmental'
//Fastp
phred_quality = '30'
//Megahit
kmers_assembly = '21,35,49,63,77,91,105,119,127'
//COBRA
cobra_assembly = 'megahit'
min_kmer = '21'
max_kmer = '127'
//HPC parameters [lsf, slurm]
workdir = 'work'
singularity_cachedir = 'singularity'
}
profiles {
// Local execution profile
local {
executor {
name = "local"
cpus = params.cpus
}
workDir = params.workdir
includeConfig 'nextflow/config/local.config'
}
// SLURM execution profile
slurm {
executor {
name = "slurm"
queueSize = 200 // Maximum number of concurrent jobs
perCpuMemAllocation = true
}
workDir = params.workdir
includeConfig 'nextflow/config/local.config'
}
// Singularity containerization profile
singularity {
singularity {
enabled = true
autoMounts = true
}
includeConfig 'nextflow/config/containers.config'
}
// Docker containerization profile
docker {
docker {
enabled = true
}
includeConfig 'nextflow/config/containers.config'
}
// Standard profile with Singularity
standard {
singularity {
enabled = true
autoMounts = true
}
includeConfig 'nextflow/config/containers.config'
}
}