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

easyblock = 'Tarball'

name = 'IGV'
version = '2.3.68'

homepage = 'http://www.broadinstitute.org/software/igv/'
description = """ The Integrative Genomics Viewer (IGV) is a high-performance visualization 
 tool for interactive exploration of large, integrated genomic datasets. It supports a wide 
 variety of data types, including array-based and next-generation sequence data, and genomic annotations. """

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['http://data.broadinstitute.org/igv/projects/downloads/']
sources = ['%(name)s_%(version)s.zip']

java = 'Java'
javaver = '1.7.0_80'
versionsuffix = '-%s-%s' % (java, javaver)
dependencies = [(java, javaver)]

# add the installation dir to PATH
modextrapaths = { 
    'PATH': '',
}

modloadmsg = """ To execute IGV run igv.sh """

sanity_check_paths = {
    'files': ["igv.sh"],
    'dirs': [],
}

moduleclass = 'bio'
