easyblock = 'ConfigureMake'

name = 'LASTZ'
version = '1.02.00'

homepage = 'http://www.bx.psu.edu/~rsharris/lastz/'
description = """ LASTZ is a program for aligning DNA sequences, a pairwise aligner. Originally designed to handle
 sequences the size of human chromosomes and from different species, it is also useful for sequences produced by NGS 
 sequencing technologies such as Roche 454.
"""

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

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

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

skipsteps = ['configure']

installopts = 'installDir=%(installdir)s/bin'

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

moduleclass = 'bio'
