Skip to content

Commit

Permalink
adding easyconfigs: spaln-3.0.6a-GCC-12.3.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Oct 4, 2024
1 parent 9a9c1b9 commit f8276c2
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/s/spaln/spaln-3.0.6a-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# updated: Denis Kristak (INUITS)
# Update: Petr Král (INUITS)
easyblock = 'ConfigureMake'

name = 'spaln'
version = '3.0.6a'

homepage = 'https://github.com/ogotoh/spaln'
description = """Spaln (space-efficient spliced alignment) is a stand-alone program that maps
and aligns a set of cDNA or protein sequences onto a whole genomic sequence in a single job."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}
# disable use of -march=native, which makes compilation fail due to missing header files like fwd2s1_simd.h;
# see also https://github.com/ogotoh/spaln/issues/56
toolchainopts = {'optarch': False}

source_urls = ['https://github.com/ogotoh/spaln/archive/']
sources = ['ver.%(version)s.tar.gz']
checksums = ['63c46589374e7c2b9a767ef3170504637cb2a57a05d0090a1a8bc6656cd3f254']

dependencies = [
('zlib', '1.2.13'),
('Perl', '5.36.1'),
]

start_dir = 'src'

# we need to make sure not to pass --prefix, otherwise the configure script gets stuck in an infinite loop...
prefix_opt = '--exec_prefix='

configopts = "--exec_prefix=%(installdir)s/bin --table_dir=%(installdir)s/table --alndbs_dir=%(installdir)s/seqdb "
configopts += "--use_zlib=1"
fix_perl_shebang_for = ['seqdb/*.pl']

sanity_check_paths = {
'files': ['bin/%s' % x for x in ['makdbs', 'makmdm', 'sortgrcd', 'spaln']],
'dirs': ['seqdb', 'table'],
}

sanity_check_commands = ["spaln -h 2>&1 | grep 'SPALN version %(version)s'"]
modextrapaths = {
'PATH': 'seqdb',
'PERL5LIB': 'seqdb',
}

moduleclass = 'bio'

# TODO build takes very long time - I stopped it after 13 hours 49 mins 0 secs
# unsetting OMP_PROC_BIND didn't help

0 comments on commit f8276c2

Please sign in to comment.