Skip to content

Commit

Permalink
correct version of spaln
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Oct 18, 2024
1 parent 4a06258 commit e604d36
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/s/spaln/spaln-3.0.6b-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.6b'

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 = ['8e496ef6d02696543f4a5e31922f464555eff9b8405da366587ba7bea27b4e76']

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

start_dir = 'src'

# not a standard `configure` - does not accept standard `--prefix` option
# see https://github.com/ogotoh/spaln/issues/74
prefix_opt = '--exec_prefix='

configopts = "--exec_prefix=bin --table_dir=table --alndbs_dir=seqdb"

installopts = 'DESTDIR=%(installdir)s/'

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'

0 comments on commit e604d36

Please sign in to comment.