Skip to content
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
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/c/CellTypist/CellTypist-1.6.2-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
easyblock = 'PythonBundle'

name = 'CellTypist'
version = '1.6.2'

homepage = 'https://www.celltypist.org/'
description = "A tool for semi-automatic cell type annotation"

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

dependencies = [
('Python', '3.11.3'),
('SciPy-bundle', '2023.07'),
('Python-bundle-PyPI', '2023.06'),
('scikit-learn', '1.3.1'),
('openpyxl', '3.1.2'),
('scanpy', '1.9.8'),
('leidenalg', '0.10.2'),
]

exts_list = [
('celltypist', version, {
'checksums': ['a22309230c578c3738f72643492387167053f35a610625c75d66b056cf520361'],
}),
]

use_pip = True

sanity_check_paths = {
'files': ['bin/celltypist'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["celltypist --help"]

sanity_pip_check = True

moduleclass = 'bio'
41 changes: 41 additions & 0 deletions easybuild/easyconfigs/i/igraph/igraph-0.10.10-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Author: Denis Krišťák (INUITS)
# Modified: Jasper Grimm (UoY)
# Update: Pavel Tománek (INUITS)

easyblock = 'CMakeMake'

name = 'igraph'
version = '0.10.10'

homepage = 'https://igraph.org'
description = """igraph is a collection of network analysis tools with the emphasis on
efficiency, portability and ease of use. igraph is open source and free. igraph can be
programmed in R, Python and C/C++."""

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

source_urls = ['https://github.com/igraph/igraph/releases/download/%(version)s']
sources = [SOURCE_TAR_GZ]
checksums = ['6148f2e72a183ef5cd08324cccc73fa9eb8e54bb5a96c7f8f3c0465432ec2404']

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

dependencies = [
('GLPK', '5.0'),
('libxml2', '2.11.4'),
('zlib', '1.2.13'),
('arpack-ng', '3.9.0'),
]

# Build static and shared libraries
configopts = ["-DBUILD_SHARED_LIBS=OFF", "-DBUILD_SHARED_LIBS=ON"]

sanity_check_paths = {
'files': ['include/igraph/igraph.h'] + ['lib/libigraph.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': [],
}

moduleclass = 'lib'
50 changes: 50 additions & 0 deletions easybuild/easyconfigs/l/leidenalg/leidenalg-0.10.2-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
easyblock = 'PythonBundle'

name = 'leidenalg'
version = '0.10.2'

homepage = 'https://github.com/vtraag/leidenalg'
description = """Implementation of the Leiden algorithm for various quality
functions to be used with igraph in Python."""

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

builddependencies = [
('pkgconf', '1.9.5'),
('PyYAML', '6.0'),
('Bison', '3.8.2'),
('libtool', '2.4.7'),
('flex', '2.6.4'),
('CMake', '3.26.3'),
('poetry', '1.7.1'),
]

dependencies = [
('Python', '3.11.3'),
('igraph', '0.10.10'),
('python-igraph', '0.11.4'),
('libleidenalg', '0.11.1'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('ddt', '1.7.2', {
'checksums': ['d215d6b083963013c4a19b1e4dcd6a96e80e43ab77519597a6acfcf2e9a3e04b'],
}),
(name, version, {
'checksums': ['0f4147a92b59834a719bfce30d563ea107e570130a7be60adbc8b95757192e4c'],
}),
]

sanity_check_commands = [
# tests require that 'leidenalg' Python module is available,
# so needs to be run after installation
"cd %(builddir)s/leidenalg/leidenalg-%(version)s && python setup.py test",
"python -c 'import leidenalg; import igraph as ig; "
"leidenalg.find_partition(ig.Graph.Erdos_Renyi(100, 0.1), "
"leidenalg.ModularityVertexPartition)'",
]

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

name = 'libleidenalg'
version = '0.11.1'

homepage = 'https://github.com/vtraag/libleidenalg'
description = """Implements the Leiden algorithm in C++"""

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

source_urls = ['https://github.com/vtraag/libleidenalg/archive/refs/tags']
sources = ['%(version)s.tar.gz']
checksums = ['7d7392afd214c584e023cc2f0d0ac375f58575c32f2e49ba85062065f1637c7f']

builddependencies = [
('CMake', '3.26.3'),
('binutils', '2.40'),
]

dependencies = [
('igraph', '0.10.10'),
]

sanity_check_paths = {
'files': [
'include/%(name)s/GraphHelper.h',
'include/%(name)s/libleidenalg_export.h',
'lib/liblibleidenalg.%s' % SHLIB_EXT,
],
'dirs': [],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'PythonBundle'

name = 'python-igraph'
version = '0.11.4'

homepage = 'https://igraph.org/python'
description = """Python interface to the igraph high performance graph library, primarily aimed at complex network
research and analysis."""

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

builddependencies = [
('pkgconf', '1.9.5'),
('CMake', '3.26.3'),
]

dependencies = [
('Python', '3.11.3'),
('Python-bundle-PyPI', '2023.06'),
('Clang', '16.0.6'),
('libxml2', '2.11.4'),
('zlib', '1.2.13'),
('igraph', '0.10.10'),
('cairo', '1.17.8'),
]

use_pip = True

exts_list = [
('texttable', '1.7.0', {
'checksums': ['2d2068fb55115807d3ac77a4ca68fa48803e84ebb0ee2340f858107a36522638'],
}),
('cairocffi', '1.6.1', {
'checksums': ['78e6bbe47357640c453d0be929fa49cd05cce2e1286f3d2a1ca9cbda7efdb8b7'],
}),
('igraph', version, {
'modulename': 'igraph',
'checksums': ['2437ae0157af6824e2e65a23f7a1fa4fbf0f3664333c72aeca4fc01b83e18483'],
}),
]


# cairo must be available for proper plotting support
sanity_check_commands = [
"python -c 'from igraph.drawing.cairo.utils import find_cairo; "
"cairo = find_cairo(); cairo.Context'",
]

sanity_pip_check = True

moduleclass = 'lib'