# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild # Author: Pablo Escobar Lopez # sciCORE - University of Basel # SIB Swiss Institute of Bioinformatics easyblock = 'MakeCp' name = 'BayeScan' version = '2.1' homepage = 'http://cmpg.unibe.ch/software/BayeScan/' description = """BayeScan aims at identifying candidate loci under natural selection from genetic data, using differences in allele frequencies between populations.""" toolchain = {'name': 'foss', 'version': '2016a'} toolchainopts = {'openmp': True} source_urls = ['http://cmpg.unibe.ch/software/BayeScan/files/'] sources = ['%(name)s%(version)s.zip'] prebuildopts = "sed -i.bk 's/g++/${CXX} ${CXXFLAGS}/g' Makefile && " start_dir = 'source' files_to_copy = [ (['source/bayescan_%(version)s'], 'bin'), 'BayeScan%(version)s_manual.pdf', 'input_examples', 'R functions' ] parallel = 1 sanity_check_paths = { 'files': ['bin/bayescan_%(version)s'], 'dirs': [], } moduleclass = 'bio'