easyblock = 'MakeCp'

name = 'BayPass'
version = '2.1'

homepage = 'http://www1.montpellier.inra.fr/CBGP/software/baypass/'
description = """The package BayPass is a population genomics software which is primarily
 aimed at identifying genetic markers subjected to selection and/or associated to
 population-specific covariates (e.g., environmental variables, quantitative or
 categorical phenotypic characteristics)."""

toolchain = {'name': 'foss', 'version': '2015a'}
toolchainopts = {'openmp': True}

source_urls = ['http://www1.montpellier.inra.fr/CBGP/software/baypass/files/']
sources = ['%(namelower)s_%(version)s.tar.gz']

start_dir = 'sources'

files_to_copy = [(['g_baypass'], 'bin'), (['BayPass_manual_2.1.pdf'], 'manual'), 'examples', 'utils']

parallel = 1

sanity_check_paths = {
    'files': ['bin/g_baypass'],
    'dirs': [],
}

moduleclass = 'bio'
