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

easyblock = "Tarball"

name = 'splitRef'
version = '0.0.2'

homepage = 'http://www.sph.umich.edu/csg/yli/splitRef/index.html'
description = """ splitRef splits a reference haplotype file into smaller files 
 with subsets of markers. The current version is a pre-release. """

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

source_urls = ['http://csg.sph.umich.edu/yli/splitRef/download/']
sources = ['%s.V%s.tgz' % (name, version.replace(".", ""))]

altver = version.replace('.', '')

sanity_check_paths = {
    'files': ["splitRef_V%s/splitRef.pl" % altver],
    'dirs': ["examples"]
}

# add folder splitRef_V002 to PATH
modextrapaths = {
    'PATH': '%s_V%s' % (name, altver)
}

moduleclass = 'bio'
