easyblock = 'MakeCp'

name = 'verifyBamID'
version = '1.1.3'

homepage = "http://csg.sph.umich.edu/kang/verifyBamID/index.html"
description = """verifyBamID is a software that verifies whether the reads in particular file match previously known 
 genotypes for an individual (or group of individuals), and checks whether the reads are contaminated as a mixture of 
 two samples. verifyBamID can detect sample contamination and swaps when external genotypes are available. When 
 external genotypes are not available, verifyBamID still robustly detects sample swaps.
"""

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

source_urls = ['https://github.com/statgen/%(name)s/releases/download/v%(version)s/']
sources = ['%(name)sLibStatGen.%(version)s.tgz']

checksums = ['9b3d4c73c8f72e6b8f1e014702bc5bec']

buildopts = 'CXX="$CXX"'

executables = ['%(name)s/bin/%(name)s']
files_to_copy = [(executables, 'bin')]

sanity_check_paths = {
    'files': ['bin/%(name)s'],
    'dirs': []
}

moduleclass = 'bio'
