Skip to content

Commit b2d4aaa

Browse files
authored
Merge pull request #11297 from boegel/20200917094724_new_pr_Taiyaki51020200617
{bio}[foss/2019a,fosscuda/2019a] Taiyaki v5.1.0-20200617
2 parents 51cc8e1 + 7fcecfe commit b2d4aaa

File tree

2 files changed

+138
-0
lines changed

2 files changed

+138
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'Taiyaki'
4+
local_commit = '589863d'
5+
version = '5.1.0-20200617'
6+
# this version of Taiyaki is not compatible with more recent version of PyTorch!
7+
# see hardcoded version requirement for 'torch' in setup.py
8+
local_pytorch_ver = '1.2.0'
9+
versionsuffix = '-Python-%%(pyver)s-PyTorch-%s' % local_pytorch_ver
10+
11+
homepage = 'https://github.com/nanoporetech/taiyaki'
12+
description = "Taiyaki is research software for training models for basecalling Oxford Nanopore reads."
13+
14+
toolchain = {'name': 'foss', 'version': '2019a'}
15+
16+
dependencies = [
17+
('Python', '3.7.2'),
18+
('SciPy-bundle', '2019.03'),
19+
('h5py', '2.9.0'),
20+
('Biopython', '1.73'),
21+
('Pysam', '0.15.2'),
22+
('matplotlib', '3.0.3', '-Python-%(pyver)s'),
23+
('PyTorch', local_pytorch_ver, '-Python-%(pyver)s'),
24+
]
25+
26+
use_pip = True
27+
28+
exts_default_options = {'source_urls': [PYPI_SOURCE]}
29+
30+
exts_list = [
31+
('patsy', '0.5.1', {
32+
'checksums': ['f115cec4201e1465cd58b9866b0b0e7b941caafec129869057405bfe5b5e3991'],
33+
}),
34+
('statsmodels', '0.12.0', {
35+
'checksums': ['5c7d6707ad3112b67f564abaf1845d3c02ecc7174c2d990d539f45c37e98ad35'],
36+
}),
37+
('progressbar33', '2.4', {
38+
'modulename': 'progressbar',
39+
'checksums': ['51fe0d9b3b4023db2f983eeccdfc8c9846b84db8443b9bee002c7f58f4376eff'],
40+
}),
41+
('ont-fast5-api', '3.1.6', {
42+
'checksums': ['586b819bd48d38f446b33dac4a34f33c1004beeef0baf16ae1253d5fa360b951'],
43+
}),
44+
(name, version, {
45+
'source_tmpl': '%s.tar.gz' % local_commit,
46+
'source_urls': ['https://github.com/nanoporetech/taiyaki/archive/'],
47+
'checksums': ['b7cae83cf3b84844f1eceab909a66f878e5c0eeaa4e03ae0b67a3206b7a5dec2'],
48+
}),
49+
]
50+
51+
postinstallcmds = ["cp %(builddir)s/Taiyaki/taiyaki-*/misc -a %(installdir)s"]
52+
53+
fix_python_shebang_for = ['bin/*.py', 'misc/*.py']
54+
55+
sanity_check_paths = {
56+
'files': ['bin/basecall.py', 'bin/prepare_mapped_reads.py', 'bin/train_flipflop.py', 'misc/upgrade_model.py'],
57+
'dirs': ['lib/python%(pyshortver)s/site-packages'],
58+
}
59+
60+
sanity_check_commands = [
61+
"basecall.py --help",
62+
"upgrade_model.py --help",
63+
]
64+
65+
sanity_pip_check = True
66+
67+
modextrapaths = {'PATH': 'misc'}
68+
69+
moduleclass = 'bio'
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'Taiyaki'
4+
local_commit = '589863d'
5+
version = '5.1.0-20200617'
6+
# this version of Taiyaki is not compatible with more recent version of PyTorch!
7+
# see hardcoded version requirement for 'torch' in setup.py
8+
local_pytorch_ver = '1.2.0'
9+
versionsuffix = '-Python-%%(pyver)s-PyTorch-%s' % local_pytorch_ver
10+
11+
homepage = 'https://github.com/nanoporetech/taiyaki'
12+
description = "Taiyaki is research software for training models for basecalling Oxford Nanopore reads."
13+
14+
toolchain = {'name': 'fosscuda', 'version': '2019a'}
15+
16+
dependencies = [
17+
('Python', '3.7.2'),
18+
('SciPy-bundle', '2019.03'),
19+
('h5py', '2.9.0'),
20+
('Biopython', '1.73'),
21+
('Pysam', '0.15.2'),
22+
('matplotlib', '3.0.3', '-Python-%(pyver)s'),
23+
('PyTorch', local_pytorch_ver, '-Python-%(pyver)s'),
24+
]
25+
26+
use_pip = True
27+
28+
exts_default_options = {'source_urls': [PYPI_SOURCE]}
29+
30+
exts_list = [
31+
('patsy', '0.5.1', {
32+
'checksums': ['f115cec4201e1465cd58b9866b0b0e7b941caafec129869057405bfe5b5e3991'],
33+
}),
34+
('statsmodels', '0.12.0', {
35+
'checksums': ['5c7d6707ad3112b67f564abaf1845d3c02ecc7174c2d990d539f45c37e98ad35'],
36+
}),
37+
('progressbar33', '2.4', {
38+
'modulename': 'progressbar',
39+
'checksums': ['51fe0d9b3b4023db2f983eeccdfc8c9846b84db8443b9bee002c7f58f4376eff'],
40+
}),
41+
('ont-fast5-api', '3.1.6', {
42+
'checksums': ['586b819bd48d38f446b33dac4a34f33c1004beeef0baf16ae1253d5fa360b951'],
43+
}),
44+
(name, version, {
45+
'source_tmpl': '%s.tar.gz' % local_commit,
46+
'source_urls': ['https://github.com/nanoporetech/taiyaki/archive/'],
47+
'checksums': ['b7cae83cf3b84844f1eceab909a66f878e5c0eeaa4e03ae0b67a3206b7a5dec2'],
48+
}),
49+
]
50+
51+
postinstallcmds = ["cp %(builddir)s/Taiyaki/taiyaki-*/misc -a %(installdir)s"]
52+
53+
fix_python_shebang_for = ['bin/*.py', 'misc/*.py']
54+
55+
sanity_check_paths = {
56+
'files': ['bin/basecall.py', 'bin/prepare_mapped_reads.py', 'bin/train_flipflop.py', 'misc/upgrade_model.py'],
57+
'dirs': ['lib/python%(pyshortver)s/site-packages'],
58+
}
59+
60+
sanity_check_commands = [
61+
"basecall.py --help",
62+
"upgrade_model.py --help",
63+
]
64+
65+
sanity_pip_check = True
66+
67+
modextrapaths = {'PATH': 'misc'}
68+
69+
moduleclass = 'bio'

0 commit comments

Comments
 (0)