SAMtools/1.15.1-cpeGNU-22.06 (SAMtools-1.15.1-cpeGNU-22.06.eb)
This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/s/SAMtools/SAMtools-1.15.1-cpeGNU-22.06.eb. The corresponding module would be SAMtools/1.15.1-cpeGNU-22.06.
##
# This is a contribution from DeepThought HPC Service, Flinders University, Adelaide, Australia
# Homepage: https://staff.flinders.edu.au/research/deep-thought
#
# Authors:: Robert Qiao <rob.qiao@flinders.edu.au>
# License:: MIT
#
# Notes::
#
# Updated to 1.14 and gcc-11.2.0
# J. Sassmannshausen / GSTT
# K. Lust: Updated to 1.15.1.
easyblock = 'EB_SAMtools'
name = 'SAMtools'
version = '1.15.1'
homepage = 'https://www.htslib.org/'
whatis = [
"Description: SAMtools is a collection of utilities for the Sequence Alignment/Map (SAM) format",
"The module provides a static library (libbam.a) and a number of executables and scripts",
]
description = """
SAMtools provide various utilities for manipulating alignments in the SAM
format, including sorting, merging, indexing and generating alignments in a
per-position format.
SAMtools is implemented as a couple of executables and a number of scripts.
Some scripts (in particular the LUA scripts) may require additional modules.
"""
docurls = [
"Manual page for the samtools and wgsim commands (section 1)",
]
toolchain = {'name': 'cpeGNU', 'version': '22.06'}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/samtools/%(namelower)s/releases/download/%(version)s']
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['708c525ac76b0532b25f14aadea34a4d11df667bc19bf0a74dae617d80526c6e']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
]
# The htslib component of SAMtools >= 1.4 uses zlib, bzip2 and lzma compression.
# The latter is currently provided by XZ.
dependencies = [
('ncurses', '6.2'),
('HTSlib', '1.15.1'),
]
#
# Unload modules that are not needed to compile HTSlib. A user has reported crashed with
# version 1.14, so let's remove everything that is not strictly needed.
#
preconfigopts = 'module unload cray-libsci cray-mpich xpmem cray-dsmml ; module list ; '
prebuildopts = preconfigopts
preinstallopts = preconfigopts
configopts = '--with-htslib=$EBROOTHTSLIB'
sanity_check_commands = [
'samtools version'
]
moduleclass = 'bio'