Skip to content

Commit 8e3e781

Browse files
authored
Merge pull request #17507 from boegel/20230311000530_new_pr_CellOracle0120
{bio}[foss/2022a] CellOracle v0.12.0, GimmeMotifs v0.17.2, qnorm v0.8.1, Qtconsole v5.4.0 w/ Python 3.10.4
2 parents 0ffdf42 + ca51618 commit 8e3e781

4 files changed

Lines changed: 203 additions & 0 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'CellOracle'
4+
version = '0.12.0'
5+
6+
homepage = 'https://github.com/morris-lab/CellOracle'
7+
description = """CellOracle is a Python library for in silico gene perturbation analyses using single-cell omics data
8+
and Gene Regulatory Network models."""
9+
10+
toolchain = {'name': 'foss', 'version': '2022a'}
11+
12+
dependencies = [
13+
('Python', '3.10.4'),
14+
('R', '4.2.1'),
15+
('SciPy-bundle', '2022.05'),
16+
('numba', '0.56.4'),
17+
('matplotlib', '3.5.2'),
18+
('Seaborn', '0.12.1'),
19+
('scikit-learn', '1.1.2'),
20+
('h5py', '3.7.0'),
21+
('velocyto', '0.17.17'),
22+
('umap-learn', '0.5.3'),
23+
('Arrow', '8.0.0'),
24+
('tqdm', '4.64.0'),
25+
('igraph', '0.10.3'),
26+
('IPython', '8.5.0'),
27+
('scanpy', '1.9.1'),
28+
('GOATOOLS', '1.3.1'),
29+
('genomepy', '0.15.0'),
30+
('GimmeMotifs', '0.17.2'),
31+
('Qtconsole', '5.4.0'),
32+
]
33+
34+
use_pip = True
35+
36+
# remove louvain from requirements, since CellOracle doesn't actually use it at all
37+
local_preinstallopts = "sed -i '/louvain/d' requirements.txt && "
38+
# drop strict version requirement for gimmemotifs dependency
39+
local_preinstallopts += "sed -i 's/gimmemotifs.*/gimmemotifs/g' requirements.txt && "
40+
41+
exts_list = [
42+
('jupyter-console', '6.4.4', {
43+
'sources': ['jupyter_console-%(version)s.tar.gz'],
44+
'checksums': ['172f5335e31d600df61613a97b7f0352f2c8250bbd1092ef2d658f77249f89fb'],
45+
}),
46+
('jupyter', '1.0.0', {
47+
'checksums': ['d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f'],
48+
}),
49+
('celloracle', version, {
50+
'checksums': ['9d533ee3e8c14828b6859ea195e92d184b050b0782fee430eda3b01359a564d5'],
51+
'preinstallopts': local_preinstallopts,
52+
}),
53+
]
54+
55+
sanity_check_commands = ["python -c 'import celloracle; celloracle.check_python_requirements()'"]
56+
57+
sanity_pip_check = True
58+
59+
moduleclass = 'bio'
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'GimmeMotifs'
4+
version = '0.17.2'
5+
6+
homepage = 'https://github.com/vanheeringen-lab/gimmemotifs'
7+
description = "Suite of motif tools, including a motif prediction pipeline for ChIP-seq experiments"
8+
9+
toolchain = {'name': 'foss', 'version': '2022a'}
10+
11+
dependencies = [
12+
('Python', '3.10.4'),
13+
('SciPy-bundle', '2022.05'),
14+
('matplotlib', '3.5.2'),
15+
('pybedtools', '0.9.0'),
16+
('Pysam', '0.19.1'),
17+
('scikit-learn', '1.1.2'),
18+
('Seaborn', '0.12.1'),
19+
('statsmodels', '0.13.1'),
20+
('tqdm', '4.64.0'),
21+
('genomepy', '0.15.0'),
22+
('qnorm', '0.8.1'),
23+
('Arrow', '8.0.0'), # provides pyarrow, required by feather-format
24+
('HTSeq', '2.0.2'), # required by biofluff
25+
('pyBigWig', '0.3.18'), # required by biofluff
26+
]
27+
28+
use_pip = True
29+
30+
exts_list = [
31+
('palettable', '3.3.0', {
32+
'checksums': ['72feca71cf7d79830cd6d9181b02edf227b867d503bec953cf9fa91bf44896bd'],
33+
}),
34+
('biofluff', '3.0.4', {
35+
'modulename': 'fluff',
36+
'checksums': ['ef7b0a54103a830f197f21aa3d1ade8bdcddf613b437ea38c95260bb45324d6b'],
37+
}),
38+
('diskcache', '5.4.0', {
39+
'checksums': ['8879eb8c9b4a2509a5e633d2008634fb2b0b35c2b36192d89655dbde02419644'],
40+
}),
41+
('feather-format', '0.4.1', {
42+
'modulename': 'feather',
43+
'checksums': ['45f67e3745d394d4f160ca6d636bbfd4f8b68d01199dc1649b6e487d3e878903'],
44+
}),
45+
('iteround', '1.0.4', {
46+
'source_urls': ['https://github.com/cgdeboer/iteround/archive/'],
47+
'sources': ['v%(version)s.tar.gz'],
48+
'checksums': ['445e4f0c793ae558e4db3cdee7e23d77459b9c586e8021667aa60c14ba7ff45f'],
49+
}),
50+
('logomaker', '0.8', {
51+
'checksums': ['d8c7501a7d6d7961cd68e5a44e939000ebf1b0c4197a0c9198351e1d681d3f6d'],
52+
}),
53+
('loguru', '0.6.0', {
54+
'checksums': ['066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c'],
55+
}),
56+
('xxhash', '3.2.0', {
57+
'checksums': ['1afd47af8955c5db730f630ad53ae798cf7fae0acb64cebb3cf94d35c47dd088'],
58+
}),
59+
('xdg', '6.0.0', {
60+
'checksums': ['24278094f2d45e846d1eb28a2ebb92d7b67fc0cab5249ee3ce88c95f649a1c92'],
61+
}),
62+
('gimmemotifs', version, {
63+
'preinstallopts': """sed -i '/"configparser"/d' setup.py && """,
64+
'checksums': ['fbf70997abce6a75451c10b96994f8dbc03152b01df5cf30bf4397c98a9b54d2'],
65+
}),
66+
]
67+
68+
sanity_check_paths = {
69+
'files': ['bin/gimme'],
70+
'dirs': ['lib/python%(pyshortver)s/site-packages'],
71+
}
72+
73+
sanity_check_commands = ["gimme --help"]
74+
75+
sanity_pip_check = True
76+
77+
moduleclass = 'bio'
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
easyblock = 'PythonPackage'
2+
3+
name = 'Qtconsole'
4+
version = '5.4.0'
5+
6+
homepage = 'https://jupyter.org/'
7+
description = """A rich Qt-based console for working with Jupyter kernels, supporting rich media
8+
output, session export, and more.
9+
The Qtconsole is a very lightweight application that largely feels like a
10+
terminal, but provides a number of enhancements only possible in a GUI, such as
11+
inline figures, proper multiline editing with syntax highlighting, graphical
12+
calltips, and more."""
13+
14+
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
15+
16+
sources = [SOURCELOWER_TAR_GZ]
17+
checksums = ['57748ea2fd26320a0b77adba20131cfbb13818c7c96d83fafcb110ff55f58b35']
18+
19+
builddependencies = [('binutils', '2.38')]
20+
21+
dependencies = [
22+
('Python', '3.10.4'),
23+
('IPython', '8.5.0'),
24+
('QtPy', '2.3.0'),
25+
]
26+
27+
use_pip = True
28+
download_dep_fail = True
29+
sanity_pip_check = True
30+
31+
moduleclass = 'vis'
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
easyblock = 'PythonPackage'
2+
3+
name = 'qnorm'
4+
version = '0.8.1'
5+
6+
homepage = 'https://github.com/Maarten-vd-Sande/qnorm'
7+
description = "Fast-ish (and correct!) quantile normalization in Python"
8+
9+
toolchain = {'name': 'foss', 'version': '2022a'}
10+
11+
dependencies = [
12+
('Python', '3.10.4'),
13+
('SciPy-bundle', '2022.05'),
14+
('numba', '0.56.4'),
15+
]
16+
17+
sources = [SOURCE_TAR_GZ]
18+
checksums = ['61b2f3ef09a9c552a4f3b83dc438cb13f191fa190164361a3a508c4777eed3c7']
19+
20+
download_dep_fail = True
21+
use_pip = True
22+
23+
# pyproject.toml included in qnorm source tarball does not include standard fields,
24+
# it's only there to be read by setup.py...
25+
preinstallopts = "sed -i 's/pyproject.toml/pyproject.toml_/g' setup.py && mv pyproject.toml pyproject.toml_ && "
26+
27+
sanity_check_paths = {
28+
'files': ['bin/qnorm'],
29+
'dirs': ['lib/python%(pyshortver)s/site-packages'],
30+
}
31+
32+
sanity_check_commands = ["qnorm --help"]
33+
34+
sanity_pip_check = True
35+
36+
moduleclass = 'bio'

0 commit comments

Comments
 (0)