easyblock = 'Tarball'

name = 'PBSuite'
version = '15.8.24'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://sourceforge.net/p/pb-jelly/wiki/Home/'
description = """PBJelly is a highly automated pipeline that aligns long sequencing reads (such as PacBio RS reads or
 long 454 reads in fasta format) to high-confidence draft assembles."""

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

source_urls = ['https://sourceforge.net/projects/pb-jelly/files/latest/download']
sources = ['%(name)s_%(version)s.tgz']

dependencies = [
    ('Python', '2.7.12'),
    ('networkx', '1.1', versionsuffix),
    ('BLASR', '2.2'),
]

modextrapaths = {
    'PATH': 'bin',
    'PYTHONPATH': '',
}
modextravars = {'SWEETPATH': '%(installdir)s'}

sanity_check_paths = {
    'files': [],
    'dirs': ['bin', 'pbsuite'],
}

sanity_check_commands = ["python -c 'import pbsuite'"]

moduleclass = 'bio'
