# 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 = 'mrsFAST'
version = '2.6.0.4'

homepage = 'http://mrsfast.sourceforge.net'
description = """ mrsFAST is designed to map short reads to reference genome assemblies 
 in a fast and memory-efficient manner. mrsFAST is a cache-oblivous short read mapper that 
 optimizes cache usage to get higher performance. """

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['https://github.com/sfu-compbio/mrsfast/archive/']
sources = ['v%(version)s.tar.gz']

dependencies = [('zlib', '1.2.8')]

patches = ['mrsFAST-%(version)s-intel-compiler.patch']

parallel = 1

files_to_copy = [ (['mrsfast'], 'bin'), "Changelog" ]

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

moduleclass = 'bio'
