# 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
# foss-2016b modified by:
# Adam Huffman
# The Francis Crick Institute

easyblock = 'ConfigureMake'

name = 'Exonerate'
version = '2.4.0'

homepage = 'http://www.ebi.ac.uk/~guy/exonerate/'
description = """ Exonerate is a generic tool for pairwise sequence comparison.
 It allows you to align sequences using a many alignment models, using either 
 exhaustive dynamic programming, or a variety of heuristics. """

toolchain = {'name': 'foss', 'version': '2016b'}

source_urls = ['https://github.com/nathanweeks/exonerate/archive/']
sources = ['v%(version)s.tar.gz']

dependencies = [('GLib', '2.49.5')]

# parallel build fails 
parallel = 1

sanity_check_paths = {
    'files': ["bin/%s" % x for x in ["exonerate", "fastaclip", "fastaoverlap"]],
    'dirs': ["share"],
}

moduleclass = 'bio'
