# IT4Innovations 2018

easyblock = 'CmdCp'

name = 'Platypus'
version = '20170509'

homepage = 'https://github.com/andyrimmer/Platypus'
description = "The Platypus variant caller."

toolchain = {'name': 'Py', 'version': '2.7'}

source_urls = ['https://github.com/andyrimmer/Platypus/archive']
sources = ['master.tar.gz']

dependencies = [
    ('HTSlib', '1.9', '', ['intel', '2020a']),
    ('Cython', '0.27.3'),
]

commands = "make && chmod +x bin/*.py && chmod -x bin/*.so"

cmds_map = [('.*', commands)]

files_to_copy = [
    (['bin/*'], 'bin'),
]

sanity_check_paths = {
    'files': ['bin/Platypus.py'],
    'dirs': [''],
}

moduleclass = 'python'