From 66f6a43486cd3d13b23b6bf1317568726b734777 Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Tue, 10 Dec 2024 14:05:09 +0100 Subject: [PATCH 1/2] adding easyconfigs: EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb --- ...AX-20120210-GCCcore-13.2.0-intel-binary.eb | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb diff --git a/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb b/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb new file mode 100644 index 00000000000..9d7150c71b2 --- /dev/null +++ b/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb @@ -0,0 +1,39 @@ +easyblock = 'Binary' + +name = 'EMMAX' + +version = '20120210' +versionsuffix = '-intel-binary' + +homepage = 'https://csg.sph.umich.edu/kang/emmax' +description = """EMMAX is a statistical test for large scale human or model organism + association mapping accounting for the sample structure""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +source_urls = ['https://csg.sph.umich.edu//kang/emmax/download/'] +sources = [ + { + 'download_filename': f'{name.lower()}{versionsuffix}-{version}.tar.gz', + 'filename': f'{name}-{version}{versionsuffix}.tar.gz' + } +] +checksums = ['e2a582851ba1be908757d4ef436e98ad76664a0c55e00d13e55fa35fe2ba54dd'] + +dependencies = [ + ('zlib', '1.2.13'), +] + +extract_sources = True + +sanity_check_paths = { + 'files': ['emmax-intel64', 'emmax-kin-intel64'], + 'dirs': [], +} + +sanity_check_commands = [ + "emmax-intel64 2>&1 | grep '^Usage: emmax'", + "emmax-kin-intel64 2>&1 | grep '^Usage: emmax_kin'", +] + +moduleclass = 'bio' From f52b946e5a254bd9e579274df8236d2bbc5fe64a Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Tue, 14 Jan 2025 16:16:58 +0100 Subject: [PATCH 2/2] add symlinks for emmax and emmax-kin commands in easyconfig for EMMAX 20120210 --- .../EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb b/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb index 9d7150c71b2..854f3f04718 100644 --- a/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb +++ b/easybuild/easyconfigs/e/EMMAX/EMMAX-20120210-GCCcore-13.2.0-intel-binary.eb @@ -26,14 +26,19 @@ dependencies = [ extract_sources = True +postinstallcmds = [ + "cd %(installdir)s && ln -s emmax-intel64 emmax", + "cd %(installdir)s && ln -s emmax-kin-intel64 emmax-kin", +] + sanity_check_paths = { - 'files': ['emmax-intel64', 'emmax-kin-intel64'], + 'files': ['emmax', 'emmax-kin'], 'dirs': [], } sanity_check_commands = [ - "emmax-intel64 2>&1 | grep '^Usage: emmax'", - "emmax-kin-intel64 2>&1 | grep '^Usage: emmax_kin'", + "emmax 2>&1 | grep '^Usage: emmax'", + "emmax-kin 2>&1 | grep '^Usage: emmax_kin'", ] moduleclass = 'bio'