-
Notifications
You must be signed in to change notification settings - Fork 0
/
kmerfinder.config
43 lines (38 loc) · 1.36 KB
/
kmerfinder.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
/*
Copyright (C) 2020 Yu Wan <[email protected]>
Licensed under the GNU General Public License v3.0
Publication: 7 June 2022; latest update: 9 June 2022
*/
params { // Parameters for each job
fasta = "*.fasta"
db = "bacteria.ATG" // Absolute path of the KmerFinder reference database (*.ATG)
tax = "bacteria.tax" // Taxonomy file (*.tax) of the KmerFinder reference database
outdir = "output" // Absolute path of the output directory
queueSize = 15
mem = 16 // Memory requested per job (GB)
conda_env = "kmerfinder" // Name of the Conda environment where KMA and Python 3 are installed
kmerfinder_dir = "." // Directory where kmerfinder.py is stored
kma_dir = "~/anaconda3/envs/kmerfinder/bin/" // Directory in which KMA is installed (the path must be ended with the forward slash)
}
executor {
$local {
cpus = 1
memory = "8 GB" // The local executor is only used for the last step compile_reports.
}
$pbs {
queueSize = params.queueSize
}
}
process {
executor = "pbs"
clusterOptions = "-l select=1:ncpus=1:mem=${params.mem}gb"
time = "24h"
errorStrategy = "retry"
maxRetries = 1
}
manifest {
homePage = "https://github.com/wanyuac/Taxonomy_toolkit"
description = "Run KmerFinder over FASTA files for taxonomical classification."
mainScript = "kmerfinder.nf"
version = "0.0.1"
}