From d918d5394dadfd9d3217e4c84fac1966a681bb1a Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Fri, 6 Dec 2024 13:37:45 +0100 Subject: [PATCH] adding easyconfigs: Wengan-0.2-GCCcore-12.3.0.eb --- .../w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 easybuild/easyconfigs/w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb diff --git a/easybuild/easyconfigs/w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb b/easybuild/easyconfigs/w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb new file mode 100644 index 00000000000..ae08781f875 --- /dev/null +++ b/easybuild/easyconfigs/w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb @@ -0,0 +1,40 @@ +easyblock = 'Binary' + +name = 'Wengan' +version = '0.2' + +homepage = 'https://github.com/adigenova/wengan/' +description = 'An accurate and ultra-fast genome assembler.' + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['https://github.com/adigenova/wengan/releases/download/v%(version)s/'] +sources = [{'download_filename': '%(namelower)s-v%(version)s-bin-Linux.tar.gz', 'filename': SOURCE_TAR_GZ}] +checksums = ['754848566611c599c62886455cc88451a56c99e7102d71f28c283b6b851d2b27'] + +dependencies = [ + ('Perl', '5.36.1'), +] + +extract_sources = True + +# create 'wengan' script and make it executable +postinstallcmds = [ + 'cd %(installdir)s/bin && touch wengan && ' + 'echo "#!/bin/bash" >> wengan && ' + 'echo "export LC_ALL=C" >> wengan && ' + r'echo "exec perl \$EBROOTWENGAN/wengan.pl \$*" >> wengan && ' + 'chmod +x %(installdir)s/bin/wengan' +] + +sanity_check_paths = { + 'files': ['wengan.pl', 'bin/wengan'], + 'dirs': ['bin'], +} +sanity_check_commands = [ + 'wengan 2>&1 | grep "Usage"' +] + +modloadmsg = r"Run 'wengan' instead of 'perl ${WG}' to run Wengan." + +moduleclass = 'bio'