easyblock = 'ConfigureMake' name = 'BCFtools' version = '1.2' homepage = 'http://www.htslib.org/' description = """Samtools is a suite of programs for interacting with high-throughput sequencing data. BCFtools - Reading/writing BCF2/VCF/gVCF files and calling/filtering/summarising SNP and short indel sequence variants""" toolchain = {'name': 'intel', 'version': '2015a'} toolchainopts = {'optarch': True, 'pic': True} sources = [SOURCELOWER_TAR_BZ2] source_urls = ['https://github.com/samtools/%(namelower)s/releases/download/%(version)s'] patches = ['%(name)s-%(version)s_extHTSlib_Makefile.patch'] dependencies = [ ('HTSlib', '1.2.1'), ('zlib', '1.2.8'), ] parallel = 1 skipsteps = ['configure'] installopts = ' prefix=%(installdir)s' postinstallcmds = [ 'mkdir -p %(installdir)s/lib/plugins', 'cp -a plugins/*.so %(installdir)s/lib/plugins/.', ] sanity_check_paths = { 'files': ['bin/%s' % x for x in ['bcftools', 'plot-vcfstats', 'vcfutils.pl']], 'dirs': ['lib/plugins'], } moduleclass = 'bio'