# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

easyblock = "Tarball"

name = 'IMPUTE2'
version = '2.3.2'
versionsuffix = '_x86_64_dynamic'

homepage = 'http://mathgen.stats.ox.ac.uk/impute/impute_v2.html'
description = """  IMPUTE version 2 (also known as IMPUTE2) is a genotype imputation 
 and haplotype phasing program based on ideas from Howie et al. 2009 """

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

source_urls = ['https://mathgen.stats.ox.ac.uk/impute/']
sources = ['%s_v%%(version)s%%(versionsuffix)s.tgz' % name.lower()[:-1]]

sanity_check_paths = {
    'files': ["impute2"],
    'dirs': ["Example"]
}

# add the top dir to PATH
modextrapaths = {
    'PATH': ''
}

moduleclass = 'bio'
