easyblock = 'CMakeMake'

name = 'Salmon'
version = '0.4.2'

homepage = 'https://github.com/COMBINE-lab/salmon'
description = """Salmon is a wicked-fast program to produce a highly-accurate,
 transcript-level quantification estimates from RNA-seq data."""

toolchain = {'name': 'intel', 'version': '2015b'}
toolchainopts = {'optarch': True, 'pic': True}

sources = ['v%(version)s.tar.gz']
source_urls = ['https://github.com/COMBINE-lab/salmon/archive/']

patches = [
    'Salmon-%(version)s_Intel-compilers.patch',
    'Salmon-%(version)s_skip-included-Jellyfish.patch',
]

python = 'Python'
pyver = '2.7.10'
versionsuffix = '-%s-%s' % (python, pyver)

dependencies = [
    ('Boost', '1.59.0', versionsuffix),
    ('tbb', '4.3.6.211', '', True),
    ('Jellyfish', '2.2.3'),
]
builddependencies = [('CMake', '3.2.3')]

parallel = 1

moduleclass = 'bio'
