Skip to content

Commit

Permalink
Merge pull request #18778 from boegel/20230913181154_new_pr_nanopolis…
Browse files Browse the repository at this point in the history
…h0140

{bio,lib}[foss/2022a,gompi/2022a] nanopolish v0.14.0, VBZ-Compression v1.0.3
  • Loading branch information
branfosj authored Sep 14, 2023
2 parents 93c6d54 + 3e7beb2 commit 6679053
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
61 changes: 61 additions & 0 deletions easybuild/easyconfigs/n/nanopolish/nanopolish-0.14.0-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
easyblock = 'MakeCp'

name = 'nanopolish'
version = '0.14.0'

homepage = 'https://github.com/jts/nanopolish'
description = "Software package for signal-level analysis of Oxford Nanopore sequencing data."

toolchain = {'name': 'foss', 'version': '2022a'}

source_urls = [
'https://github.com/jts/nanopolish/archive/',
'https://github.com/mateidavid/fast5/archive/',
]
sources = [
{
'source_urls': ['https://github.com/jts/nanopolish/archive/'],
'download_filename': 'v%(version)s.tar.gz',
'filename': SOURCE_TAR_GZ,
},
{
'source_urls': ['https://github.com/hasindu2008/slow5lib/archive/'],
'download_filename': 'v1.1.0.tar.gz',
'filename': 'slow5lib-v1.1.0.tar.gz',
},
]
checksums = [
{'nanopolish-0.14.0.tar.gz': 'bcc1a7e2d23941592d817da3af9165b3843ae52b11a3ca5983d6417f1614ef78'},
{'slow5lib-v1.1.0.tar.gz': 'f13f08b85a9a11086b5d9378251093d1858d0dc29d8e727eabacfa57a73f4277'},
]

builddependencies = [('Eigen', '3.4.0')]

dependencies = [
('zlib', '1.2.12'),
('Python', '3.10.4'),
('Biopython', '1.79'),
('Pysam', '0.19.1'),
('HDF5', '1.12.2'),
('HTSlib', '1.15.1'),
('minimap2', '2.24'),
('VBZ-Compression', '1.0.3'),
]

prebuildopts = "rmdir slow5lib && ln -s %(builddir)s/slow5lib-*/ slow5lib && "
buildopts = "HDF5=noinstall EIGEN=noinstall HTS=noinstall MINIMAP2=noinstall"

runtest = 'test ' + buildopts

files_to_copy = [(['nanopolish'], 'bin'), 'scripts']

postinstallcmds = ["chmod a+rx %(installdir)s/scripts/*"]

sanity_check_paths = {
'files': ['bin/nanopolish'],
'dirs': ['scripts'],
}

modextrapaths = {'PATH': 'scripts'}

moduleclass = 'bio'
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
easyblock = 'CMakeMake'

name = 'VBZ-Compression'
version = '1.0.3'

homepage = 'https://github.com/nanoporetech/vbz_compression'
description = "VBZ compression HDF5 plugin for nanopolish"

toolchain = {'name': 'gompi', 'version': '2022a'}

source_urls = [
'https://github.com/nanoporetech/vbz_compression/archive',
'https://github.com/lemire/streamvbyte/archive',
]
sources = [
{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ},
{'download_filename': 'v0.4.1.tar.gz', 'filename': 'streamvbyte-v0.4.1.tar.gz'},
]
checksums = [
{'VBZ-Compression-1.0.3.tar.gz': 'a7450e076db628681bbc0e2b3f941c6c21cc2981a7e1c78628807ffdf1b34f31'},
{'streamvbyte-v0.4.1.tar.gz': '4c4e53134a60b0b06816d3faa7dcde28c3e5e8a656dd415d16d80ae6e3d39fcc'},
]

builddependencies = [('CMake', '3.24.3')]

dependencies = [
('HDF5', '1.12.2'),
('zstd', '1.5.2'),
]

preconfigopts = "rmdir %(builddir)s/vbz_compression*/third_party/streamvbyte && "
preconfigopts += "mv %(builddir)s/streamvbyte-* %(builddir)s/streamvbyte && "
preconfigopts += "mv %(builddir)s/streamvbyte %(builddir)s/vbz_compression*/third_party/. && "
configopts = "-DENABLE_CONAN=OFF -DENABLE_PERF_TESTING=OFF -DENABLE_PYTHON=OFF "

sanity_check_paths = {
'files': ['hdf5/lib/plugin/libvbz_hdf_plugin.%s' % SHLIB_EXT],
'dirs': [],
}

modextrapaths = {'HDF5_PLUGIN_PATH': 'hdf5/lib/plugin/'}

moduleclass = 'lib'

0 comments on commit 6679053

Please sign in to comment.