# 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 = 'MakeCp'

name = 'MUSCLE'
version = '3.8.31'

homepage = 'http://drive5.com/muscle/'
description = """ MUSCLE is one of the best-performing multiple alignment programs 
 according to published benchmark tests, with accuracy and speed that are consistently 
 better than CLUSTALW. MUSCLE can align hundreds of sequences in seconds. Most users 
 learn everything they need to know about MUSCLE in a few minutes—only a handful of 
 command-line options are needed to perform common alignment tasks."""

toolchain = {'name': 'intel', 'version': '2016a'}

sources = ['%(namelower)s%(version)s_src.tar.gz']
source_urls = ['http://www.drive5.com/muscle/downloads%(version)s/']

patches = ['MUSCLE-%(version)s_fix-mk-hardcoding.patch']

files_to_copy = [
    (["muscle"], 'bin')]

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

moduleclass = 'bio'
