# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Adam Huffman
# The Francis Crick Institute

easyblock = 'JAR'

name = 'VarScan'
version = '2.3.6'
versionsuffix = '-Java-%(javaver)s'

homepage = 'http://varscan.sourceforge.net/'
description = """Variant calling and somatic mutation/CNV detection for next-generation sequencing data"""

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

sources = [('%(name)s.v%(version)s.jar', 'download')]
source_urls = ['https://sourceforge.net/projects/varscan/files/']

dependencies = [('Java', '1.7.0_80')]

sanity_check_paths = {
    'files': sources,
    'dirs': [],
}

modloadmsg = """
to execute: java -jar \\$EBROOTVARSCAN/VarScan.v%(version)s.jar
"""

moduleclass = 'bio'
