easyblock = 'ConfigureMake'

name = 'DIAL'
version = '2011.06.06'

homepage = 'http://www.bx.psu.edu/miller_lab/'
description = """DIAL (De novo Identification of Alleles) is a collection of programs
 to automate the discovery of alleles for a species where we lack a reference sequence.
 The SNPs/alleles are specifically selected for a low error rate in genotyping assays.
"""

toolchain = {'name': 'foss', 'version': '2016a'}

sources = [SOURCE_TAR_GZ]
source_urls = ['http://www.bx.psu.edu/miller_lab/dist/']

patches = ['DIAL-%(version)s_Makefile.in.patch']

dependencies = [
    ('LASTZ', '1.02.00'),
]

binaries = [
    'assemble',
    'assemble1',
    'assemble_illumina',
    'build_sff_index',
    'convertFastqFasta',
    'cull_components',
    'DIAL',
    'filter',
    'filter_clusters',
    'fish_clusters',
    'make_template',
    'masker',
    'partition',
    'remove_clones',
    'remove_clusters',
    'update',
    'update_clusters',
    'update_status',
]

sanity_check_paths = {
    'files': ['bin/%s' % binfile for binfile in binaries],
    'dirs': ['bin']
}

moduleclass = 'bio'
