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}[foss/2023a] dictys v1.1.0 w/ CUDA 12.1.1 #21166

Merged
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,83 @@
easyblock = 'PythonBundle'

name = 'dictys'
version = '1.1.0'
versionsuffix = '-CUDA-%(cudaver)s'

homepage = 'https://github.com/pinellolab/dictys'
description = "Context specific and dynamic gene regulatory network reconstruction and analysis."

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

builddependencies = [('poetry', '1.5.1')]
dependencies = [
('Python', '3.11.3'),
('CUDA', '12.1.1', '', SYSTEM),
('PyTorch-bundle', '2.1.2', versionsuffix),
('pybedtools', '0.9.1'),
('SAMtools', '1.18'),
('MACS2', '2.2.9.1'),
('FFmpeg', '6.0'),
('matplotlib', '3.7.2'),
('Python-bundle-PyPI', '2023.06'),
('SciPy-bundle', '2023.07'),
('networkx', '3.1'),
('h5py', '3.9.0'),
('pyro-ppl', '1.9.0', versionsuffix),
('adjustText', '0.7.3'),
('Pysam', '0.22.0'),
('paramiko', '3.2.0'),
('Jupyter-bundle', '20230823'),
('Qtconsole', '5.5.1'),
('junos-eznc', '2.7.1'),
]

# regenerate WellingtonC.c to works with python 3.11 + unpin matplotlib version
local_pyDNase_preinstallopts = (
"cd pyDNase/footprinting && rm WellingtonC.c && cythonize -i WellingtonC.pyx && cd .. && cd .. && "
"sed -i 's/matplotlib < 2.0.0/matplotlib/' setup.py && "
)

exts_list = [
('jupyter_console', '6.6.3', {
'source_tmpl': SOURCE_PY3_WHL,
'checksums': ['309d33409fcc92ffdad25f0bcdf9a4a9daa61b6f341177570fdac03de5352485'],
}),
('jupyter', '1.0.0', {
'checksums': ['d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f'],
}),
('args', '0.1.0', {
'checksums': ['a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814'],
}),
('clint', '0.5.1', {
'checksums': ['05224c32b1075563d0b16d0015faaf9da43aa214e4a2140e51f08789e7a4c5aa'],
}),
('pynetbox', '7.4.0', {
'checksums': ['fd0b1f197b3880048408ff5ed84422dd599bcd9389e32cb06a09b9b0d55c1636'],
}),
('absl-py', '1.4.0', {
'modulename': 'absl',
'checksums': ['d2c244d01048ba476e7c080bd2c6df5e141d211de80223460d5b3b8a2a58433d'],
}),
('aerleon', '1.9.0', {
'checksums': ['850cd621dda750263db313d4473302b48b82adaaa9220e6fd0677cb7900f95f6'],
}),
('homer', '0.7.0', {
'checksums': ['efaf9b3948f6aecdf88cc87c0296a18aed77c152489a7f85c571965fb16f9e57'],
}),
('pyDNase', '0.3.0', {
'preinstallopts': local_pyDNase_preinstallopts,
'modulename': 'pyDNase',
'checksums': ['dba03cadca37929a1cc41545e962136f29efc41f8e3c6de042c51c47ee04d558'],
}),
(name, version, {
'checksums': ['59610a8c57e9fc525ec5d13b69efc8b513c78a85a595e0e2b0138da62a035978'],
}),
]

use_pip = True
sanity_pip_check = True

sanity_check_commands = ["dictys --help"]

moduleclass = 'bio'
81 changes: 81 additions & 0 deletions easybuild/easyconfigs/d/dictys/dictys-1.1.0-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
easyblock = 'PythonBundle'

name = 'dictys'
version = '1.1.0'

homepage = 'https://github.com/pinellolab/dictys'
description = "Context specific and dynamic gene regulatory network reconstruction and analysis."

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

builddependencies = [('poetry', '1.5.1')]
dependencies = [
('Python', '3.11.3'),
('PyTorch-bundle', '2.1.2'),
('pybedtools', '0.9.1'),
('SAMtools', '1.18'),
('MACS2', '2.2.9.1'),
('FFmpeg', '6.0'),
('matplotlib', '3.7.2'),
('Python-bundle-PyPI', '2023.06'),
('SciPy-bundle', '2023.07'),
('networkx', '3.1'),
('h5py', '3.9.0'),
('pyro-ppl', '1.9.0'),
('adjustText', '0.7.3'),
('Pysam', '0.22.0'),
('paramiko', '3.2.0'),
('Jupyter-bundle', '20230823'),
('Qtconsole', '5.5.1'),
('junos-eznc', '2.7.1'),
]

# regenerate WellingtonC.c to works with python 3.11 + unpin matplotlib version
local_pyDNase_preinstallopts = (
"cd pyDNase/footprinting && rm WellingtonC.c && cythonize -i WellingtonC.pyx && cd .. && cd .. && "
"sed -i 's/matplotlib < 2.0.0/matplotlib/' setup.py && "
)

exts_list = [
('jupyter_console', '6.6.3', {
'source_tmpl': SOURCE_PY3_WHL,
'checksums': ['309d33409fcc92ffdad25f0bcdf9a4a9daa61b6f341177570fdac03de5352485'],
}),
('jupyter', '1.0.0', {
'checksums': ['d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f'],
}),
('args', '0.1.0', {
'checksums': ['a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814'],
}),
('clint', '0.5.1', {
'checksums': ['05224c32b1075563d0b16d0015faaf9da43aa214e4a2140e51f08789e7a4c5aa'],
}),
('pynetbox', '7.4.0', {
'checksums': ['fd0b1f197b3880048408ff5ed84422dd599bcd9389e32cb06a09b9b0d55c1636'],
}),
('absl-py', '1.4.0', {
'modulename': 'absl',
'checksums': ['d2c244d01048ba476e7c080bd2c6df5e141d211de80223460d5b3b8a2a58433d'],
}),
('aerleon', '1.9.0', {
'checksums': ['850cd621dda750263db313d4473302b48b82adaaa9220e6fd0677cb7900f95f6'],
}),
('homer', '0.7.0', {
'checksums': ['efaf9b3948f6aecdf88cc87c0296a18aed77c152489a7f85c571965fb16f9e57'],
}),
('pyDNase', '0.3.0', {
'preinstallopts': local_pyDNase_preinstallopts,
'modulename': 'pyDNase',
'checksums': ['dba03cadca37929a1cc41545e962136f29efc41f8e3c6de042c51c47ee04d558'],
}),
(name, version, {
'checksums': ['59610a8c57e9fc525ec5d13b69efc8b513c78a85a595e0e2b0138da62a035978'],
}),
]

use_pip = True
sanity_pip_check = True

sanity_check_commands = ["dictys --help"]

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

name = 'junos-eznc'
version = '2.7.1'

homepage = 'https://github.com/Juniper/py-junos-eznc'
description = "Python library for Junos automation."

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

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.3'),
('lxml', '4.9.2'),
('PyYAML', '6.0'),
('Python-bundle-PyPI', '2023.06'),
('bcrypt', '4.0.1'),
]

exts_list = [
('yamlordereddictloader', '0.4.2', {
'checksums': ['36af2f6210fcff5da4fc4c12e1d815f973dceb41044e795e1f06115d634bca13'],
}),
('transitions', '0.9.2', {
'checksums': ['2f8490dbdbd419366cef1516032ab06d07ccb5839ef54905e842a472692d4204'],
}),
('scp', '0.15.0', {
'checksums': ['f1b22e9932123ccf17eebf19e0953c6e9148f589f93d91b872941a696305c83f'],
}),
('pyserial', '3.5', {
'modulename': 'serial',
'checksums': ['3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb'],
}),
('ncclient', '0.6.15', {
'checksums': ['6757cb41bc9160dfe47f22f5de8cf2f1adf22f27463fb50453cc415ab96773d8'],
}),
('paramiko', '3.4.0', {
# Juniper fork of paramiko - compatible with junos-eznc
'source_urls': ['https://github.com/Juniper/paramiko/archive/'],
'sources': [{'download_filename': 'v%(version)s-JNPR.tar.gz', 'filename': '%(name)s-%(version)s-JNPR.tar.gz'}],
'checksums': ['6b3b62e18a2b693169eaa50a7cdd2ab5637fc423205ce85e109cb37722f9eeda'],
}),
(name, version, {
'modulename': 'jnpr.junos',
# delete 'os.system("pip install git+https://github.com/Juniper/[email protected]")' from setup.py
'preinstallopts': "sed -i '/pip install/d' setup.py && ",
'checksums': ['371f0298bf03e0cb4c017c43f6f4122263584eda0d690d0112e93f13daae41ac'],
}),
]

use_pip = True
sanity_pip_check = True

moduleclass = 'tools'
Loading