Skip to content

Commit

Permalink
Merge pull request #22172 from ThomasHoffmann77/20250116173609_new_pr…
Browse files Browse the repository at this point in the history
…_HMMER34

{bio}[gompi/2024a] HMMER v3.4
  • Loading branch information
smoors authored Jan 17, 2025
2 parents 7fcc622 + 5039661 commit 32ca98b
Showing 1 changed file with 79 additions and 0 deletions.
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'

0 comments on commit 32ca98b

Please sign in to comment.