easyblock = 'Bundle'

name = 'CIRCexplorer'
version = '1.1.10'
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'),
    ('BEDTools', '2.26.0'),
    ('STAR', '2.5.3a'),
    ('Pysam', '0.13', versionsuffix),
    ('pybedtools', '0.7.10', versionsuffix),
]

# requests, certifi, urllib3, chardet, docopt
exts_defaultclass = 'PythonPackage'

exts_list = [
    ('docopt', '0.6.2', {
        'source_urls': ['https://pypi.python.org/packages/source/d/docopt/'],
        'checksums': ['49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491'],
    }),
    (name, version, {
        'modulename': 'circ',
        'source_urls': ['https://pypi.python.org/packages/source/C/CIRCexplorer/'],
        'checksums': ['19d1345db3a88211e6a3c66e67d16c7fe4d7c82c2a71c366ffed21ac696fefd6'],
    }),
]

sanity_check_paths = {
    'files': ['bin/CIRCexplorer.py', 'bin/fetch_ucsc.py', 'bin/star_parse.py'],
    'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

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

moduleclass = 'bio'
