# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Ravi Tripathi
# Email: ravi89@uab.edu

easyblock = "Tarball"

name = 'MACH'
version = '1.0.18'

homepage = 'http://csg.sph.umich.edu/abecasis/MACH/'
description = """MACH 1.0 is a Markov Chain based haplotyper 
that can resolve long haplotypes or infer missing genotypes 
in samples of unrelated individuals."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = ['http://csg.sph.umich.edu/abecasis/MACH/download/']
sources = ['mach.%(version)s.Linux.tgz']

modextrapaths = {'PATH': 'executables'}

sanity_check_paths = {
    'files': ["executables/mach1", "executables/thunder", "README"],
    'dirs': ["examples"]
}

moduleclass = 'bio'
