Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{bio}[gompi/2024a] HMMER v3.4 #22172

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions easybuild/easyconfigs/h/HMMER/HMMER-3.4-gompi-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
##
# EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors:: Nils Christian <[email protected]>,
# Fotis Georgatos <[email protected]>
# Updated by: Filip Kružík (INUITS)
# Jure Pečar (EMBL)
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a
# component of the policy:
# https://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-94.html
##

easyblock = 'ConfigureMake'

name = 'HMMER'
version = '3.4'

homepage = 'http://hmmer.org/'
description = """HMMER is used for searching sequence databases for homologs
of protein sequences, and for making protein sequence alignments. It
implements methods using probabilistic models called profile hidden Markov
models (profile HMMs). Compared to BLAST, FASTA, and other sequence
alignment and database search tools based on older scoring methodology,
HMMER aims to be significantly more accurate and more able to detect remote
homologs because of the strength of its underlying mathematical models. In the
past, this strength came at significant computational expense, but in the new
HMMER3 project, HMMER is now essentially as fast as BLAST."""

toolchain = {'name': 'gompi', 'version': '2024a'}

source_urls = [
'http://eddylab.org/software/hmmer/',
'http://eddylab.org/software/hmmer%(version_major)s/%(version)s/',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['ca70d94fd0cf271bd7063423aabb116d42de533117343a9b27a65c17ff06fbf3']

builddependencies = [
('Python', '3.12.3'),
('Perl', '5.38.2'),
]

# replace hardcoded /usr/bin/perl shebang lines with '/usr/bin/env perl' across all files
preconfigopts = "grep '/usr/bin/perl' . | cut -f1 -d: | xargs echo sed -i 's@/usr/bin/perl@/usr/bin/env perl@g' && "

configopts = '--enable-mpi'

buildopts = ' V=1 '

testopts = buildopts
runtest = 'check'

installopts = ' && cd easel && make install'

local_bin_files = ['alimask', 'esl-afetch', 'esl-alimanip', 'esl-alimap', 'esl-alimask',
'esl-alimerge', 'esl-alipid', 'esl-alirev', 'esl-alistat', 'esl-compalign',
'esl-compstruct', 'esl-construct', 'esl-histplot', 'esl-mask', 'esl-reformat',
'esl-selectn', 'esl-seqrange', 'esl-seqstat', 'esl-sfetch', 'esl-shuffle',
'esl-ssdraw', 'esl-translate', 'esl-weight', 'hmmalign', 'hmmbuild',
'hmmconvert', 'hmmemit', 'hmmfetch', 'hmmlogo', 'hmmpgmd', 'hmmpress',
'hmmscan', 'hmmsearch', 'hmmsim', 'hmmstat', 'jackhmmer', 'makehmmerdb',
'nhmmer', 'nhmmscan', 'phmmer']

sanity_check_paths = {
'files': ["bin/%s" % x for x in local_bin_files],
'dirs': ['bin', 'share'],
}

sanity_check_commands = [
"esl-construct -h",
"hmmsearch -h",
"nhmmer -h",
]

moduleclass = 'bio'