##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-94.html
##

easyblock = 'ConfigureMake'

name = 'BFAST'
version = '0.7.0a'

homepage = 'http://bfast.sourceforge.net/'
description = """BFAST facilitates the fast and accurate mapping of short reads to reference sequences.
 Some advantages of BFAST include:
 1) Speed: enables billions of short reads to be mapped quickly. 
 2) Accuracy: A priori probabilities for mapping reads with defined set of variants. 
 3) An easy way to measurably tune accuracy at the expense of speed."""

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

verdir = ''.join(char for char in version if not char.isalpha())
source_urls = ['http://sourceforge.net/projects/bfast/files/bfast/%s/' % verdir, 'download']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [('bzip2', '1.0.6')]

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

moduleclass = 'bio'
