easyblock = 'MakeCp'

name = 'Stampy'
version = '1.0.31'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.well.ox.ac.uk/stampy'
description = """Stampy is a package for the mapping of short reads from illumina sequencing machines onto
 a reference genome."""

toolchain = {'name': 'intel', 'version': '2016b'}
toolchainopts = {'pic': True}

# download via http://www.well.ox.ac.uk/software-download-registration and rename from Stampy-latest.tgz
sources = ['Stampy-%(version)s.tgz']
checksums = ['512b2da5a952a65d2e6f70220c4641dc']

patches = ['Stampy-%(version)s_fix-hardcoding.patch']

dependencies = [('Python', '2.7.12')]

files_to_copy = ['ext', 'maptools.%s' % SHLIB_EXT, 'plugins', 'README.txt', 'Stampy', 'stampy.py']

sanity_check_paths = {
    'files': ['maptools.%s' % SHLIB_EXT, 'stampy.py'],
    'dirs': ['ext', 'plugins', 'Stampy'],
}

modextrapaths = {
    # add top-level install path to $PATH and $PYTHONPATH
    'PATH': [''],
    'PYTHONPATH': [''],
}

moduleclass = 'bio'
