# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

name = 'PRANK'
version = '140110'

easyblock = 'MakeCp'

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'}

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'
