# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Adam Huffman, based on initial work by Jordi Blasco
# The Francis Crick Institute

easyblock = 'JAR'

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

homepage = 'https://github.com/dkoboldt/varscan'
description = """Variant calling and somatic mutation/CNV detection for next-generation sequencing data"""

toolchain = SYSTEM

sources = ['%(name)s.v%(version)s.jar']
source_urls = [
    'https://github.com/dkoboldt/varscan/releases/download/v%(version)s']

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'
