/
Kraken2-2.1.3-gompi-2022b.eb
63 lines (53 loc) · 2.48 KB
/
Kraken2-2.1.3-gompi-2022b.eb
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
easyblock = 'PackedBinary'
name = 'Kraken2'
version = '2.1.3'
homepage = 'https://github.com/DerrickWood/kraken2/wiki'
description = """Kraken is a system for assigning taxonomic labels to short DNA sequences,
usually obtained through metagenomic studies. Previous attempts by other
bioinformatics software to accomplish this task have often used sequence
alignment or machine learning techniques that were quite slow, leading to
the development of less sensitive but much faster abundance estimation
programs. Kraken aims to achieve high sensitivity and high speed by
utilizing exact alignments of k-mers and a novel classification algorithm."""
# part is compiled with $CXX, the rest is in Perl
toolchain = {'name': 'gompi', 'version': '2022b'}
toolchainopts = {'openmp': True, 'cstd': 'c++11'}
github_account = 'DerrickWood'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['v%(version)s.tar.gz']
patches = ['%(name)s-%(version)s_fix_installation_for_easybuild.patch']
checksums = [
]
dependencies = [
('Perl', '5.36.0'),
('BLAST+', '2.14.0'),
('wget', '1.21.4'),
]
install_cmd = 'cd %(builddir)s/%(namelower)s-%(version)s && '
install_cmd += './install_kraken2.sh %(installdir)s/bin'
# Kraken2 databases can be downloaded from https://benlangmead.github.io/aws-indexes/k2
# or built as described in https://github.com/DerrickWood/kraken2/wiki/Manual#kraken-2-databases
# The following commands will build and install the standard databases (100GB) in local_db_path
# local_db_path = '%(installdir)s/db'
# postinstallcmds = [
# 'mkdir %s' % local_db_path,
# 'cd %%(installdir)s/bin && ./kraken2-build --standard --threads %%(parallel)s --db %s' % local_db_path,
# ]
sanity_check_paths = {
'files': ['bin/%s' % x for x in [
'16S_gg_installation.sh', '16S_rdp_installation.sh', '16S_silva_installation.sh', 'add_to_library.sh',
'build_db', 'build_gg_taxonomy.pl', 'build_kraken2_db.sh', 'build_rdp_taxonomy.pl', 'build_silva_taxonomy.pl',
'classify', 'clean_db.sh', 'cp_into_tempfile.pl', 'download_genomic_library.sh', 'download_taxonomy.sh',
'dump_table', 'estimate_capacity', 'kraken2', 'kraken2-build', 'kraken2-inspect', 'kraken2lib.pm',
'lookup_accession_numbers.pl', 'make_seqid2taxid_map.pl', 'mask_low_complexity.sh', 'rsync_from_ncbi.pl',
'scan_fasta_file.pl']],
'dirs': [],
}
sanity_check_commands = [
'kraken2 --help',
'kraken2-build --help',
'kraken2-inspect --help',
'build_db -h',
'classify -h',
]
moduleclass = 'bio'