easyblock = 'Bundle'

name = 'CIRCexplorer2'
version = '2.3.2'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://circexplorer2.readthedocs.io/'
description = "CIRCexplorer2 is a comprehensive and integrative circular RNA analysis toolset."

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

dependencies = [
    ('Python', '2.7.14'),
    ('TopHat', '2.1.1'),
    ('Cufflinks', '2.2.1'),
    ('BEDTools', '2.26.0'),
    ('Kent_tools', '20171107', '-linux.x86_64', True),
    ('STAR', '2.5.3a'),
    ('BWA', '0.7.17'),
    ('segemehl', '0.2.0'),
    ('Pysam', '0.13', versionsuffix),
    ('pybedtools', '0.7.10', versionsuffix),
]

exts_defaultclass = 'PythonPackage'

exts_list = [
    ('certifi', '2017.11.5', {
        'source_urls': ['https://pypi.python.org/packages/source/c/certifi/'],
        'checksums': ['5ec74291ca1136b40f0379e1128ff80e866597e4e2c1e755739a913bbc3613c0'],
    }),
    ('urllib3', '1.22', {
        'source_urls': ['https://pypi.python.org/packages/source/u/urllib3/'],
        'checksums': ['cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f'],
    }),
    ('chardet', '3.0.4', {
        'source_urls': ['https://pypi.python.org/packages/source/c/chardet/'],
        'checksums': ['84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae'],
    }),
    ('requests', '2.18.4', {
        'source_urls': ['https://pypi.python.org/packages/source/r/requests/'],
        'checksums': ['9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e'],
    }),
    ('docopt', '0.6.2', {
        'source_urls': ['https://pypi.python.org/packages/source/d/docopt/'],
        'checksums': ['49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491'],
    }),
    (name, version, {
        'source_urls': ['https://pypi.python.org/packages/source/C/CIRCexplorer2/'],
        'checksums': ['eb3a3ba97384e904c0a9841a3b2b225a17dd33999abc4d316aca72a6dcce427c'],
        'modulename': 'circ2',
    }),
]

sanity_check_paths = {
    'files': ['bin/CIRCexplorer2'],
    'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}

moduleclass = 'bio'
