name = 'Sailfish'
version = '0.6.3'
easyblock = 'CMakeMake'

homepage = 'http://www.cs.cmu.edu/~ckingsf/software/sailfish/'
description = """Sailfish is a software tool that implements a novel, alignment-free algorithm for the estimation of
 isoform abundances directly from a set of reference sequences and RNA-seq reads. """

toolchain = {'name': 'foss', 'version': '2014b'}

source_urls = ['https://github.com/kingsfordgroup/sailfish/archive/']
sources = ['v%(version)s.tar.gz']

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

builddependencies = [
    ('CMake', '3.0.0'),
]

dependencies = [
    ('Boost', '1.55.0', versionsuffix),
    ('tbb', '4.0.5.339', '', True),
    ('Jellyfish', '2.1.3'),
    ('g2log', '1.0'),
]

configopts = "-DBOOST_ROOT=$EBROOTBOOST -DTBB_INSTALL_DIR=$EBROOTTBB"

parallel = 1

moduleclass = 'bio'
