# 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
# Modified by
# Adam Huffman
# The Francis Crick Institute

easyblock = 'Tarball'

name = 'MuTect'
version = '1.1.7'
versionsuffix = '-Java-%(javaver)s'

homepage = 'http://www.broadinstitute.org/cancer/cga/mutect'
description = """ MuTect is a method developed at the Broad Institute for the reliable
 and accurate identification of somatic point mutations in next generation sequencing
 data of cancer genomes. """

toolchain = SYSTEM

# Need to be logged in to download, at this URL
# and to click the checkbox to agree to the licence
# https://www.broadinstitute.org/gatk/download/auth?package=MuTect
sources = ['%(namelower)s-%(version)s.jar.zip']

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

sanity_check_paths = {
    'files': ["%(namelower)s-%(version)s.jar"],
    'dirs': [],
}

modloadmsg = """
To start MuTect: java -jar \\$EBROOTMUTECT/%(namelower)s-%(version)s.jar
"""

moduleclass = 'bio'
