-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21190 from verdurin/20240815145601_new_pr_BGEN-en…
…kre117 {bio,devel}[GCC/12.3.0] BGEN-enkre v1.1.7, Boost v1.55.0
- Loading branch information
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
easybuild/easyconfigs/b/BGEN-enkre/BGEN-enkre-1.1.7-GCC-12.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Contribution from the NIHR Biomedical Research Centre | ||
# Guy's and St Thomas' NHS Foundation Trust and King's College London | ||
# uploaded by J. Sassmannshausen | ||
# we recommend to use --download-timeout=1000 when fetching the files | ||
|
||
easyblock = 'CmdCp' | ||
|
||
name = 'BGEN-enkre' | ||
version = '1.1.7' | ||
|
||
homepage = 'https://enkre.net/cgi-bin/code/bgen/dir?ci=trunk' | ||
description = """This repository contains a reference implementation | ||
of the BGEN format, written in C++. The library can be used as the | ||
basis for BGEN support in other software, or as a reference for | ||
developers writing their own implementations of the BGEN format. | ||
Please cite: | ||
Band, G. and Marchini, J., "BGEN: a binary file format for imputed genotype and haplotype data", | ||
bioArxiv 308296; doi: https://doi.org/10.1101/308296 | ||
""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '12.3.0'} | ||
|
||
source_urls = ['https://code.enkre.net/bgen/tarball/v%(version)s/'] | ||
sources = ['v%(version)s.tgz'] | ||
patches = [ | ||
'3rd-party-removal.patch', | ||
'BGEN-enkre_streampos.patch', | ||
] | ||
|
||
checksums = [ | ||
('6476b077af6c8e98e85fd7e09f58cb3fdf143ff91850c984248fd4dc2d74a8c3', # v1.1.7.tgz | ||
'b922ac22c1c0e365d0de6054f6ce2ad911bc81db5bcd8ca915bae750f57bd0a7'), | ||
'0269b91d21976f38a9cf9bf7811375d16bf35be587d903ab1d846b2001b7d767', # 3rd-party-removal.patch | ||
'61c05ae5f7363d5b7b6015f0a015b93f149dbda4b23b9f48f9517a6ce93d5869', # BGEN-enkre_streampos.patch | ||
] | ||
|
||
builddependencies = [ | ||
('Python', '3.11.3'), | ||
] | ||
|
||
dependencies = [ | ||
('SQLite', '3.42.0'), | ||
('zstd', '1.5.5'), | ||
('Boost', '1.55.0'), | ||
] | ||
|
||
cmds_map = [ | ||
('.*', "./waf configure && echo LIB_zstd = [\\'zstd\\'] >> build/c4che/_cache.py &&" | ||
" echo LIB_sqlite3 = [\\'sqlite3\\'] >> build/c4che/_cache.py &&" | ||
"echo LIB_boost = [\\'boost_system\\', \\'boost_filesystem\\', \\'boost_thread\\', \\'boost_timer\\'] " | ||
" >> build/c4che/_cache.py && ./waf"), | ||
] | ||
|
||
files_to_copy = [ | ||
(['build/apps/edit-bgen', 'build/apps/bgenix', 'build/apps/cat-bgen'], 'bin'), | ||
(['build/db/libdb.a', 'build/libbgen.a'], 'lib'), | ||
(['genfile/include/*', 'db/include/*'], 'include'), | ||
] | ||
|
||
postinstallcmds = ['./build/test/unit/test_bgen'] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/edit-bgen', 'bin/bgenix', 'bin/cat-bgen'], | ||
'dirs': ['bin', 'lib', 'include'], | ||
} | ||
|
||
sanity_check_commands = [ | ||
'bgenix -help', | ||
'cat-bgen -help', | ||
'edit-bgen -help', | ||
] | ||
|
||
moduleclass = 'bio' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name = 'Boost' | ||
version = '1.55.0' | ||
|
||
homepage = 'http://www.boost.org/' | ||
description = """Boost provides free peer-reviewed portable C++ source libraries.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '12.3.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = [SOURCEFORGE_SOURCE] | ||
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))] | ||
checksums = ['19c4305cd6669f2216260258802a7abc73c1624758294b2cad209d45cc13a767'] | ||
|
||
dependencies = [ | ||
('bzip2', '1.0.8'), | ||
('zlib', '1.2.13'), | ||
] | ||
|
||
configopts = '--without-libraries=python' | ||
|
||
moduleclass = 'devel' |