# 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 = "Tarball"

name = 'Beast'
version = '1.8.4'

homepage = 'http://beast.bio.ed.ac.uk/'
description = """ BEAST is a cross-platform program for Bayesian MCMC analysis of molecular 
 sequences. It is entirely orientated towards rooted, time-measured phylogenies inferred using 
 strict or relaxed molecular clock models. It can be used as a method of reconstructing phylogenies 
 but is also a framework for testing evolutionary hypotheses without conditioning on a single 
 tree topology. BEAST uses MCMC to average over tree space, so that each tree is weighted 
 proportional to its posterior probability. """

toolchain = {'name': 'dummy', 'version': ''}

source_urls= ['https://github.com/beast-dev/beast-mcmc/releases/download/v%(version)s/']
sources = ['BEASTv%(version)s.tgz']

dependencies = [
    ('Java', '1.8.0_74', '', True),
]

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

moduleclass = 'bio'
