# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

name = 'Trinity'
version = '2.2.0'

homepage = 'http://trinityrnaseq.github.io/'
description = """Trinity represents a novel method for the efficient and robust de novo reconstruction
 of transcriptomes from RNA-Seq data. Trinity combines three independent software modules: Inchworm,
 Chrysalis, and Butterfly, applied sequentially to process large volumes of RNA-Seq reads."""

toolchain = {'name': 'foss', 'version': '2016a'}

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

patches = [
    'chrysalis_commandline_noconsts_2012-10-05.patch',
    'Trinity-2.2.0_jellyfish-Makefile.patch',
]

builddependencies = [
    ('Autotools', '20150215'),
]

dependencies = [
    ('Java', '1.8.0_92', '', True),
    ('ant', '1.9.7', '-Java-%(javaver)s', True),
    ('Bowtie', '1.1.2'),
    ('Bowtie2', '2.2.8'),
    ('ncurses', '6.0',),
    ('zlib', '1.2.8'),
    ('Perl', '5.22.1'),
]

moduleclass = 'bio'
