Skip to content

Commit

Permalink
adding easyconfigs: MAFFT-7.526-GCC-13.2.0-with-extensions.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
sassy committed Nov 5, 2024
1 parent 58d9f6c commit 9c0f59f
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Pablo Escobar Lopez (Swiss Institute of Bioinformatics, Biozentrum - University of Basel)
# 7.305 modified by:
# Adam Huffman (The Francis Crick Institute)
# 7.453 switch to Bundle by:
# Alex Domingo (Vrije Universiteit Brussel)
# Thomas Eylenbosch (Gluo NV)
# J. Sassmannshausen (Imperial College London/UK)

easyblock = 'Bundle'

name = 'MAFFT'
version = '7.526'
versionsuffix = '-with-extensions'
local_commit = 'ee9799916df6a5d5103d46d54933f8eb6d28e244'

homepage = 'https://mafft.cbrc.jp/alignment/software/source.html'
description = """MAFFT is a multiple sequence alignment program for unix-like operating systems.
It offers a range of multiple alignment methods, L-INS-i (accurate; for alignment
of <∼200 sequences), FFT-NS-2 (fast; for alignment of <∼30,000 sequences), etc."""

toolchain = {'name': 'GCC', 'version': '13.2.0'}

default_easyblock = 'ConfigureMake'
default_component_specs = {
'source_urls': ['https://gitlab.com/sysimm/mafft/-/archive/v%(version)s/'],
'sources': ['mafft-%(version)s.tar.gz'],
'checksums': ['6f536ec957b76f4e38e869d935d6626d318361ef8ee95e71c795b924f639ee10'],
'skipsteps': ['configure'],
'installopts': 'PREFIX=%(installdir)s',
}

components = [
(name, version, {
'start_dir': 'mafft-v%%(version)s-%s/core' % local_commit,
}),
('%s Extensions' % name, version, {
'start_dir': 'mafft-v%%(version)s-%s/extensions' % local_commit,
}),
]

sanity_check_paths = {
'files': ['bin/mafft', 'libexec/mafft/mxscarnamod'], # mxscarnamod installed by MAFFT Extensions
'dirs': ['libexec/mafft'],
}

sanity_check_commands = ['mafft --version']

modextrapaths = {'MAFFT_BINARIES': 'libexec/mafft'}

moduleclass = 'bio'

0 comments on commit 9c0f59f

Please sign in to comment.