# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild

easyblock = 'PackedBinary'

name = 'SOAPfuse'
version = '1.27'
versionsuffix = '-Perl-%(perlver)s'

homepage = 'https://sourceforge.net/p/%(namelower)s/wiki/Home/'
description = """SOAPfuse is an open source tool developed for genome-wide detection of fusion
 transcripts from paired-end RNA-Seq data."""

toolchain = {'name': 'foss', 'version': '2016b'}

source_urls = ['https://downloads.sourceforge.net/project/%(namelower)s/%(name)s_Package/']
sources = ['%(name)s-v%(version)s.tar.gz']

checksums = ['d412f9a235ceeba3b7f8828b0e30e8bffad55f617c6f726ced869bad0da0af41']

dependencies = [
    ('Perl', '5.24.0'),
]

modextrapaths = {'PERL5LIB': 'source/bin/perl_module'}

sanity_check_paths = {
    'files': ['%(name)s-RUN.pl'],
    'dirs': ['config/', 'source/bin/perl_module/%(name)s/'],
}

moduleclass = 'bio'
