easyblock = 'MakeCp'

name = 'Rcorrector'
version = '1.0.2'

homepage = 'https://github.com/mourisl/Rcorrector'
description = """Rcorrector(RNA-seq error CORRECTOR) is a kmer-based error correction method for RNA-seq data."""

toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11'}

source_urls = ['https://github.com/mourisl/Rcorrector/archive']
sources = ['v%(version)s.tar.gz']
patches = ['%(name)s-%(version)s-fix-makefile.patch']
checksums = ['426c7ab5fbb968536dbb4daf6913599f99b50eaabbea8013930da77f1235d9c6',
             '157f7edca282499444aeddb22114a262a9ffef7311ea534b8e83509f6f7bf6b4']

dependencies = [
    ('zlib', '1.2.11'),
    ('Jellyfish', '2.2.6'),
]

files_to_copy = [(['rcorrector'], 'bin'), 'README.md', 'LICENSE', 'Sample']

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

moduleclass = 'bio'
