Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{bio}[GCC/12.3.0,foss/2023a] ExpressBetaDiversity v1.0.10, Seqmagick v0.8.6 #19938

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
easyblock = 'MakeCp'

name = 'ExpressBetaDiversity'
version = '1.0.10'

homepage = 'https://github.com/donovan-h-parks/ExpressBetaDiversity'
description = """Taxon- and phylogenetic-based beta diversity measures."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

github_account = 'donovan-h-parks'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['c3ee0894ed0beea42f7668e531e53d01f4c19374d0dfd287cb400a68241c6c03']

dependencies = [
('Python', '3.11.3'),
]

prebuildopts = "cd source && "
# fix wrong regex pattern which makes: FutureWarning: split() requires a non-empty pattern match.
prebuildopts += "sed -i '36 s/*/+/' dep.py && "
# force use python from dependencies not the one on a node
buildopts = "DEP='python dep.py'"

files_to_copy = [
'bin',
'unit-tests',
(['scripts/*'], 'bin')
]

sanity_check_paths = {
'files': ['bin/ExpressBetaDiversity'],
'dirs': ['unit-tests'],
}

sanity_check_commands = [
'ExpressBetaDiversity --help',
'convertToEBD.py --help',
# Unit tests need to be executed from the bin directory.
# See source/UnitTests.cpp:112: std::string seqCountFile = "../unit-tests/SimpleDataMatrix.env";
'cd bin && ExpressBetaDiversity -u',
]

moduleclass = 'bio'
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/s/Seqmagick/Seqmagick-0.8.6-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Copyright:: Copyright 2016 University of Geneva Switzerland
# Authors:: Yann Sagon <yann.sagon@unige.ch>
# License:: MIT/GPL
# Update:: Pavel Tománek (INUITS)

easyblock = "PythonBundle"

name = 'Seqmagick'
version = '0.8.6'

homepage = 'https://fhcrc.github.io/seqmagick/'
description = """We often have to convert between sequence formats and do
little tasks on them, and it's not worth writing scripts for that. Seqmagick
is a kickass little utility built in the spirit of imagemagick to expose the
file format conversion in Biopython in a convenient way. Instead of having a
big mess of scripts, there is one that takes arguments."""

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

dependencies = [
('Biopython', '1.83'),
]

exts_list = [
('pygtrie', '2.5.0', {
'checksums': ['203514ad826eb403dab1d2e2ddd034e0d1534bbe4dbe0213bb0593f66beba4e2'],
}),
(name, version, {
'modulename': 'Bio',
'source_urls': ['https://files.pythonhosted.org/packages/source/s/seqmagick/'],
'sources': ['%(namelower)s-%(version)s.tar.gz'],
'checksums': ['7f09ef40836b12a2d4c842b179633f1087352855b6ff8fcd045d56003fee622a'],
}),
]

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

use_pip = True
sanity_pip_check = True

moduleclass = 'bio'
Loading