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

easyblock='Tarball'

name = "PGDSpider"
version = "2.1.0.3"
versionsuffix = "-Java-%(javaver)s"

homepage = 'http://cmpg.unibe.ch/software/PGDSpider/'
description = """An automated data conversion tool for connecting population genetics and genomics programs"""

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

source_urls = ['http://cmpg.unibe.ch/software/PGDSpider/']
sources = ['%(name)s_%(version)s.zip']

dependencies = [
    ('Java', '1.7.0_80', '', True),
]

sanity_check_paths = {
    'files': ['PGDSpider2-cli.jar', 'PGDSpider2.jar'],
    'dirs': [],
}

modloadmsg = """
To execute GUI run: java -Xmx1024m -Xms512m -jar $EBROOTPGDSPIDER/PGDSpider2.jar
To execute CLI run: java -Xmx1024m -Xms512m -jar $EBROOTPGDSPIDER/PGDSpider2-cli.jar
Adjust memory according to your requirements
"""

moduleclass = 'bio'
