-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21986 from pavelToman/20241206133743_new_pr_Wengan02
{bio}[GCCcore/12.3.0] Wengan v0.2
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
easybuild/easyconfigs/w/Wengan/Wengan-0.2-GCCcore-12.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |