-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_assembly.config
68 lines (60 loc) · 1.79 KB
/
run_assembly.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
/*
Copyright (C) 2020-2022 Yu Wan <wanyuac@126.com>
Licensed under the GNU General Public License v3.0
Publication: 16 June 2022; latest update: 11 March 2023
*/
params {
fastq = "*_{1,2}.fastq.gz" // Paired FASTQ files taken as input
outdir = "outputs" // Output directory for assemblies
queueSize = 10 // Number of concurrent jobs submitted to the PBS
cpus = 8
mem = 10 // Memory allocation in GB
assembler = "unicycler"
spades_mode = "isolate" // Or "careful". Do not add '--' in front of the value as it will be interpreted as an option of the pipeline and causes an error.
spades_kmers = "21,33,55,77" // For read lengths below 250 bp (github.com/ablab/spades#sec3.4)
conda_unicycler = "unicycler0.5.0"
conda_spades = "spades3.15"
}
executor {
$local {
cpus = params.cpus
memory = "${params.mem} GB"
}
$sge {
queueSize = params.queueSize
}
$pbs {
queueSize = params.queueSize
}
}
profiles {
standard {
process.executor = "local"
}
sge {
process {
executor = "sge"
clusterOptions = "-N Assembly"
clusterOptions = "-pe multithread ${params.cpus}"
time = "24h"
errorStrategy = "retry"
maxRetries = 2
}
}
pbs {
process {
executor = "pbs"
clusterOptions = "-N Assembly"
clusterOptions = "-l select=1:ncpus=${params.cpus}:mem=${params.mem}gb:ompthreads=${params.cpus}"
time = "24h"
errorStrategy = "retry"
maxRetries = 2
}
}
}
manifest {
homePage = "https://github.com/wanyuac/Assembly_toolkit"
description = "Assemble paired-end short reads using Unicycler or SPAdes."
mainScript = "run_assembly.nf"
version = "0.0.1"
}