-
Notifications
You must be signed in to change notification settings - Fork 720
/
Copy pathSRA-Toolkit-3.0.10-gompi-2023a.eb
76 lines (62 loc) · 2.41 KB
/
SRA-Toolkit-3.0.10-gompi-2023a.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
64
65
66
67
68
69
70
71
72
73
74
75
76
# updated: Denis Kristak (INUITS)
# updated: Sebastien Moretti (SIB - Vital-IT)
# updated: Pavel Tománek (INUITS)
easyblock = 'CMakeMake'
name = 'SRA-Toolkit'
version = '3.0.10'
homepage = 'https://github.com/ncbi/sra-tools'
description = """The SRA Toolkit, and the source-code SRA System Development
Kit (SDK), will allow you to programmatically access data housed within SRA
and convert it from the SRA format"""
github_account = 'ncbi'
toolchain = {'name': 'gompi', 'version': '2023a'}
toolchainopts = {'extra_cflags': '-DH5_USE_110_API'}
source_urls = ['https://github.com/ncbi/sra-tools/archive/refs/tags/']
sources = [{'download_filename': '%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}]
checksums = ['93cfa802938506866b9d565a18a31ac84fd26f2929636b23f1f8dd9f39cf977d']
builddependencies = [
('CMake', '3.26.3'),
('flex', '2.6.4'),
('Bison', '3.8.2'),
('Perl', '5.36.1'),
]
dependencies = [
('Python', '3.11.3'),
('Java', '11', '', SYSTEM),
('OpenSSL', '1.1', '', SYSTEM),
('ncbi-vdb', version),
('bzip2', '1.0.8'),
('file', '5.43'),
('HDF5', '1.14.0'),
('libxml2', '2.11.4'),
('zlib', '1.2.13'),
]
configopts = '-DVDB_INCDIR="$EBROOTNCBIMINVDB/include" -DVDB_LIBDIR="$EBROOTNCBIMINVDB/lib" '
configopts += '-DBUILD_TOOLS_LOADERS=ON -DBUILD_TOOLS_INTERNAL=ON'
postinstallcmds = [
"cp -r %(start_dir)s/ngs/ngs-python/ %(installdir)s/",
]
_sra_bin = [
'abi-dump', 'abi-load', 'align-info', 'bam-load', 'cache-mgr', 'cg-load', 'copycat', 'fasterq-dump', 'fastq-dump',
'fastq-load', 'helicos-load', 'illumina-dump', 'illumina-load', 'kar', 'kdbmeta', 'latf-load', 'pacbio-load',
'prefetch', 'rcexplain', 'sam-dump', 'sff-dump', 'sff-load', 'srapath', 'sra-pileup', 'sra-sort', 'sra-stat',
'sratools', 'srf-load', 'test-sra', 'vdb-config', 'vdb-copy', 'vdb-decrypt', 'vdb-dump', 'vdb-encrypt', 'vdb-lock',
'vdb-unlock', 'vdb-validate',
]
_ngs_libs = ['libncbi-ngs.a', 'libncbi-ngs-c++.a', 'libncbi-ngs.%s' % SHLIB_EXT,
'libngs-c++.a', 'libngs-c++.%s' % SHLIB_EXT]
sanity_check_paths = {
'files': ['bin/%s' % x for x in _sra_bin] + ['lib/%s' % l for l in _ngs_libs],
'dirs': ['jar', 'include/ncbi-vdb', 'include/ngs']
}
sanity_check_commands = [
"abi-dump --help",
"kar --help",
"sra-sort --help",
"python -c 'import ngs'",
]
modextrapaths = {
'CLASSPATH': 'jar/ngs-java.jar',
'PYTHONPATH': 'ngs-python',
}
moduleclass = 'bio'