Skip to content

Commit

Permalink
adding easyconfigs: MAFFT-7.520-GCC-12.3.0-with-extensions.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
Orient committed Oct 10, 2023
1 parent 823ba10 commit 0d93b27
Showing 1 changed file with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 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)

easyblock = 'Bundle'

name = 'MAFFT'
version = '7.520'
versionsuffix = '-with-extensions'
local_commit = '52b59f064c600da59bca8233736418fb8bb35d5e'

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': '12.3.0'}

default_easyblock = 'ConfigureMake'
default_component_specs = {
'source_urls': ['https://gitlab.com/sysimm/mafft/-/archive/v%(version)s/'],
'sources': ['mafft-%(version)s.tar.gz'],
'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 0d93b27

Please sign in to comment.