From 0d81b9f18376c73fd190a92c54a3323be5b0f6bf Mon Sep 17 00:00:00 2001 From: Pieter Neerincx Date: Fri, 25 Aug 2023 14:02:59 +0200 Subject: [PATCH 1/2] Added p/PLINK/PLINK-2.0-alpha4.5-20230813.eb. --- p/PLINK/PLINK-2.0-alpha4.5-20230813.eb | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 p/PLINK/PLINK-2.0-alpha4.5-20230813.eb diff --git a/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb b/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb new file mode 100644 index 0000000..594c067 --- /dev/null +++ b/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb @@ -0,0 +1,33 @@ +easyblock = 'CmdCp' + +name = 'PLINK' +version = '2.0-alpha4.5' +versionsuffix = '-20230813' + +homepage = 'https://www.cog-genomics.org/plink/2.0/' +description = 'Whole-genome association analysis toolset.' + +toolchain = {'name': 'dummy', 'version': 'dummy'} + +source_urls = [('http://s3.amazonaws.com/plink2-assets/')] +sources = [('%s2_linux_amd_avx2%s.zip' % (name.lower(), versionsuffix.replace('-', '_')))] +checksums = [ + 'f4019a067dd4ff44e31901221ed2d3047181a70c24afd692421037ee884557db', # plink2_linux_avx2_20191006.zip +] + +files_to_copy = [ + (['plink2'], 'bin/'), +] + +# +# We don't really need a command to install, +# but as we have to have one in order to recycle the CmdCp easyblock... just ls. +# +cmds_map = [('.*', "ls -ahl %(source)s")] + +sanity_check_paths = { + 'files': ['bin/plink2', ], + 'dirs': ['bin'], +} + +moduleclass = 'bio' From e702c85c6bd47b68b5e3be69d73e297d9144f529 Mon Sep 17 00:00:00 2001 From: Pieter Neerincx Date: Fri, 25 Aug 2023 14:08:27 +0200 Subject: [PATCH 2/2] Bugfix for source URL. --- p/PLINK/PLINK-2.0-alpha4.5-20230813.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb b/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb index 594c067..f8d7909 100644 --- a/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb +++ b/p/PLINK/PLINK-2.0-alpha4.5-20230813.eb @@ -9,7 +9,7 @@ description = 'Whole-genome association analysis toolset.' toolchain = {'name': 'dummy', 'version': 'dummy'} -source_urls = [('http://s3.amazonaws.com/plink2-assets/')] +source_urls = [('http://s3.amazonaws.com/plink2-assets/alpha4/')] sources = [('%s2_linux_amd_avx2%s.zip' % (name.lower(), versionsuffix.replace('-', '_')))] checksums = [ 'f4019a067dd4ff44e31901221ed2d3047181a70c24afd692421037ee884557db', # plink2_linux_avx2_20191006.zip