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/2022a] medaka v1.9.1 #18651

Merged
merged 2 commits into from
Aug 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
67 changes: 67 additions & 0 deletions easybuild/easyconfigs/m/medaka/medaka-1.9.1-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# This is a contribution from HPCNow! (http://hpcnow.com)
# Copyright:: HPCNow!
# Authors:: Danilo Gonzalez <danilo.gonzalez@hpcnow.com>
# License:: GPL-v3.0
# Updated to foss-2020b to use with artic tool
# J. Sassmannshausen (GSTT/NHS UK)
# Updated to 1.5.0
# Jasper Grimm (UoY)

easyblock = 'PythonBundle'

name = 'medaka'
version = '1.9.1'

homepage = 'https://github.com/nanoporetech/medaka'
description = "medaka is a tool to create a consensus sequence from nanopore sequencing data."

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

builddependencies = [('Autotools', '20220317')]

_minimap_ver = '2.24'
dependencies = [
('Python', '3.10.4'), # includes cffi
# tensorflow~=2.10.0 required by medaka 1.9.1, see requirements.txt
('TensorFlow', '2.11.0'),
('Pysam', '0.19.1'),
('SAMtools', '1.16.1'),
('minimap2', _minimap_ver),
('HTSlib', '1.15.1'), # for tabix, bgzip
('Racon', '1.5.0'),
('edlib', '1.3.9'),
('pyspoa', '0.0.9'),
('python-parasail', '1.3.3'),
('ont-fast5-api', '4.1.1'),
('WhatsHap', '1.7'),
('intervaltree-python', '3.1.0'),
('BCFtools', '1.15.1'),
]

use_pip = True

exts_list = [
('mappy', _minimap_ver, {
'checksums': ['35a2fb73ef14173283d5abb31e7a318429e0330c3be95851df38dd83d4ff9af9'],
}),
(name, version, {
'checksums': ['1018c07267d24cb4607ae823ced01a1789939b5f8143d1c240ce243dc1160ef5'],
# remove TensorFlow version requirement which is too strict
'preinstallopts': "sed -i 's/tensorflow.*/tensorflow/g' requirements.txt && ",
}),
]

sanity_pip_check = True

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

sanity_check_commands = [
"medaka --help",
"medaka_version_report",
]

moduleclass = 'bio'