-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnextflow.config
More file actions
95 lines (91 loc) · 2.16 KB
/
nextflow.config
File metadata and controls
95 lines (91 loc) · 2.16 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
process.container = "maxibor/kraken_nf:latest"
params {
reads = ''
minimum_read_length = 35
krakendb = '/path/to/minikraken2_v2_8GB_201904_UPDATE.tgz'
kraken_mem = '9G'
phred = 33
results = './results'
collapse = false
minhit = 10
pairedEnd = true
help = false
kraken_kmer_len = 35
build_bracken_db = false
run_bracken = true
bracken_level = "S"
bracken_threshold = "10"
}
profiles {
docker {
docker.enabled = true
docker.runOptions = '-u \$(id -u):\$(id -g)'
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
conda {
process {
conda = "$baseDir/envs/environment.yml"
}
}
standard {
executor {
name = 'local'
}
process{
withLabel : 'intenso' {
cpus = 8
memory = params.kraken_mem
}
withLabel : 'expresso' {
cpus = 6
memory = '2G'
}
withLabel : 'ristretto' {
cpus = 1
memory = '2G'
}
}
}
test {
params {
reads = "$baseDir/test/reads/*.{1,2}.trimmed.fastq.gz"
krakendb = "$baseDir/test/kraken/simple"
phred = 33
minhit = 2
collapse = true
}
executor {
name = 'local'
}
process{
cpus = 1
memory = '1G'
}
}
eva {
executor {
queueSize = 8
}
process{
executor = 'sge'
penv = 'smp'
queue = 'archgen.q'
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga()}G,virtual_free=${task.memory.toGiga()}G" }
withLabel : 'intenso' {
cpus = 8
memory = params.kraken_mem
}
withLabel : 'expresso' {
cpus = 6
memory = '4G'
}
withLabel : 'ristretto' {
cpus = 1
memory = '4G'
}
}
}
}