From 8aa0b37ee427cf77fd1d54a2c2796b292465d925 Mon Sep 17 00:00:00 2001 From: jfgrimm Date: Tue, 8 Oct 2024 17:20:52 +0100 Subject: [PATCH] adding easyconfigs: QUAST-5.2.0-gfbf-2023a.eb, QUAST-5.2.0-gfbf-2023b.eb --- .../q/QUAST/QUAST-5.2.0-gfbf-2023a.eb | 51 +++++++++++++++++++ .../q/QUAST/QUAST-5.2.0-gfbf-2023b.eb | 51 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023a.eb create mode 100644 easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023b.eb diff --git a/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023a.eb b/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023a.eb new file mode 100644 index 00000000000..2d46e6cf6b9 --- /dev/null +++ b/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023a.eb @@ -0,0 +1,51 @@ +easyblock = 'PythonBundle' + +name = 'QUAST' +version = '5.2.0' + +homepage = 'https://github.com/ablab/quast' +description = """QUAST evaluates genome assemblies by computing various metrics. +It works both with and without reference genomes. The tool accepts multiple +assemblies, thus is suitable for comparison.""" + +toolchain = {'name': 'gfbf', 'version': '2023a'} +toolchainopts = {'pic': True} + +dependencies = [ + ('Python', '3.11.3'), + ('Perl', '5.36.1'), + ('matplotlib', '3.7.2'), + ('Java', '11', '', SYSTEM), + ('Boost', '1.82.0'), +] + +use_pip = True + +github_account = 'ablab' +exts_list = [ + (name, version, { + 'source_urls': [GITHUB_LOWER_SOURCE], + 'sources': ['%(namelower)s_%(version)s.tar.gz'], + 'checksums': ['db903a6e4dd81384687f1c38d47cbe0f51bdf7f6d5e5c0bd30c13796391f4f04'], + 'modulename': 'quast_libs', + }), +] + +postinstallcmds = [ + "cd %(installdir)s/bin && ln -s %(namelower)s.py %(namelower)s", + "cp -a %(builddir)s/QUAST/quast*%(version)s/test_data %(installdir)s/", +] + +sanity_check_paths = { + 'files': ['bin/%(namelower)s', 'bin/%(namelower)s.py', 'bin/meta%(namelower)s.py'], + 'dirs': ['lib/python%(pyshortver)s/site-packages', 'test_data'], +} + +sanity_check_commands = [ + "quast -h", + "mkdir -p %(builddir)s && cp -a %(installdir)s/test_data %(builddir)s && cd %(builddir)s && quast.py --test", +] + +sanity_pip_check = True + +moduleclass = 'bio' diff --git a/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023b.eb b/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023b.eb new file mode 100644 index 00000000000..dd6df4bb5ed --- /dev/null +++ b/easybuild/easyconfigs/q/QUAST/QUAST-5.2.0-gfbf-2023b.eb @@ -0,0 +1,51 @@ +easyblock = 'PythonBundle' + +name = 'QUAST' +version = '5.2.0' + +homepage = 'https://github.com/ablab/quast' +description = """QUAST evaluates genome assemblies by computing various metrics. +It works both with and without reference genomes. The tool accepts multiple +assemblies, thus is suitable for comparison.""" + +toolchain = {'name': 'gfbf', 'version': '2023b'} +toolchainopts = {'pic': True} + +dependencies = [ + ('Python', '3.11.5'), + ('Perl', '5.38.0'), + ('matplotlib', '3.8.2'), + ('Java', '11', '', SYSTEM), + ('Boost', '1.83.0'), +] + +use_pip = True + +github_account = 'ablab' +exts_list = [ + (name, version, { + 'source_urls': [GITHUB_LOWER_SOURCE], + 'sources': ['%(namelower)s_%(version)s.tar.gz'], + 'checksums': ['db903a6e4dd81384687f1c38d47cbe0f51bdf7f6d5e5c0bd30c13796391f4f04'], + 'modulename': 'quast_libs', + }), +] + +postinstallcmds = [ + "cd %(installdir)s/bin && ln -s %(namelower)s.py %(namelower)s", + "cp -a %(builddir)s/QUAST/quast*%(version)s/test_data %(installdir)s/", +] + +sanity_check_paths = { + 'files': ['bin/%(namelower)s', 'bin/%(namelower)s.py', 'bin/meta%(namelower)s.py'], + 'dirs': ['lib/python%(pyshortver)s/site-packages', 'test_data'], +} + +sanity_check_commands = [ + "quast -h", + "mkdir -p %(builddir)s && cp -a %(installdir)s/test_data %(builddir)s && cd %(builddir)s && quast.py --test", +] + +sanity_pip_check = True + +moduleclass = 'bio'