easyblock = 'Tarball'

name = 'EricScript'
version = '0.5.5'
versionsuffix = '-R-%(rver)s'

homepage = 'https://sites.google.com/site/bioericscript/home'
description = "EricScript is a computational framework for the discovery of gene fusions in paired end RNA-seq data."

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_BZ2]

dependencies = [
    ('R', '3.4.0', '-X11-20170314'),
    ('ada', '2.0-5', versionsuffix),
    ('BWA', '0.7.15'),
    ('SAMtools', '1.4.1'),
    ('BEDTools', '2.26.0'),
    ('seqtk', '1.2'),
    ('BLAT', '3.5'),
]

postinstallcmds = ["chmod a+rx %(installdir)s/ericscript.pl"]

sanity_check_paths = {
    'files': ['ericscript.pl', 'LICENSE', 'README'],
    'dirs': ['lib'],
}

modextrapaths = {'PATH': ''}

moduleclass = 'bio' 
