##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/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 = 'MakeCp'

name = "PRANK"
version = "130820"

homepage = "http://code.google.com/p/prank-msa/"
description = """PRANK is a probabilistic multiple alignment program for DNA,
 codon and amino-acid sequences.  PRANK is based on a novel algorithm that treats
 insertions correctly and avoids over-estimation of the number of deletion events."""

toolchain = {'name': 'goolf', 'version': '1.4.10'}
toolchainopts = {'opt': True, 'optarch': True}

source_urls = ["http://prank-msa.googlecode.com/files"]
sources = ['%(namelower)s.source.%(version)s.tgz']

# PRANK uses MAFFT as external tool to contruct guide tree
dependencies = [('MAFFT', '7.130', '-with-extensions')]

start_dir = 'src'

files_to_copy = [(['prank'], 'bin')]

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

moduleclass = 'bio'
