# IT4Innovations 2019

name = 'SAMtools'
version = '1.9'

homepage = 'http://www.htslib.org/'
description = """SAM Tools provide various utilities for manipulating alignments in the SAM format,
 including sorting, merging, indexing and generating alignments in a per-position format."""

toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'optarch': True, 'pic': True}

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

patches = ['SAMtools-1.9-gnuplot.patch']

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

moduleclass = 'bio'
