easyblock = 'Tarball'

name = 'BUSCO'
version = '2.0.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://busco.ezlab.org/'
description = "BUSCO: assessing genome assembly and annotation completeness with single-copy orthologs"

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

# download via https://gitlab.com/ezlab/busco/repository/archive.tar.gz?ref=2.0.1
# rename to busco-2.0.1.tar.gz
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('Python', '2.7.13'),
    ('BLAST+', '2.6.0', versionsuffix),
    ('HMMER', '3.1b2'),
    ('AUGUSTUS', '3.2.3', versionsuffix),
    ('EMBOSS', '6.6.0'),
]

sanity_check_paths = {
    'files': ['BUSCO.py', 'BUSCO_plot.py'],
    'dirs': ['sample_data'],
}

modextrapaths = {'PATH': '.'}

moduleclass = 'bio'
