# IT4Innovations 2020

easyblock = 'ConfigureMake'

name = 'HTSlib'
version = '1.9'

homepage = "http://www.htslib.org/"
description = """ A C library for reading/writing high-throughput sequencing data.
 This package includes the utilities bgzip and tabix """

toolchain = {'name': 'intel', 'version': '2020a'}

source_urls = ['https://github.com/samtools/%(namelower)s/releases/download/%(version)s/']
sources = [SOURCELOWER_TAR_BZ2]

dependencies = [
    ('zlib', '1.2.11', '', True),
    ('bzip2', '1.0.6', '', True),
    ('XZ', '5.2.4', '', True),
]

sanity_check_paths = {
    'files': ["bin/bgzip", "bin/tabix", "lib/libhts.%s" % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'bio'