diff --git a/easybuild/easyconfigs/d/DRAGMAP/DRAGMAP-1.3.0-GCC-13.2.0.eb b/easybuild/easyconfigs/d/DRAGMAP/DRAGMAP-1.3.0-GCC-13.2.0.eb new file mode 100644 index 00000000000..901fa8c62df --- /dev/null +++ b/easybuild/easyconfigs/d/DRAGMAP/DRAGMAP-1.3.0-GCC-13.2.0.eb @@ -0,0 +1,39 @@ +# #include added to deal with 'uint64_t' problem, sed command removed +# Author: J. Sassmannshausen (Imperial College London/UK) + +easyblock = 'ConfigureMake' + +name = 'DRAGMAP' +version = '1.3.0' + +homepage = 'https://github.com/Illumina/DRAGMAP' +description = 'Dragmap is the Dragen mapper/aligner Open Source Software.' + +toolchain = {'name': 'GCC', 'version': '13.2.0'} + +source_urls = ['https://github.com/Illumina/DRAGMAP/archive/refs/tags/'] +sources = ['%(version)s.tar.gz'] +patches = ['%(namelower)s-%(version)s-include.patch'] +checksums = [ + {'1.3.0.tar.gz': 'baf546c2f53b13e2bce4c937201e38459f3ce2f1069722ca670d8726a4bae224'}, + {'dragmap-1.3.0-include.patch': '60c364696dd98c70023696a42419a4251bcc737535e44217c9ce03bdc8084338'}, +] + +dependencies = { + ('Boost', '1.83.0'), + ('googletest', '1.14.0'), +} + +skipsteps = ['configure'] +buildopts = 'CC="$CC" CXX="$CXX"' +preinstallopts = 'mkdir %(installdir)s/bin &&' +installopts = 'DESTDIR=%(installdir)s' + +sanity_check_paths = { + 'files': ['bin/dragen-os'], + 'dirs': [] +} + +sanity_check_commands = ['dragen-os --help'] + +moduleclass = 'bio' diff --git a/easybuild/easyconfigs/d/DRAGMAP/dragmap-1.3.0-include.patch b/easybuild/easyconfigs/d/DRAGMAP/dragmap-1.3.0-include.patch new file mode 100644 index 00000000000..8b7b5238448 --- /dev/null +++ b/easybuild/easyconfigs/d/DRAGMAP/dragmap-1.3.0-include.patch @@ -0,0 +1,39 @@ +This adds #include to deal with 'uint64_t' does not name a type problem. +Taken from here: https://github.com/AirenSoft/OvenMediaEngine/issues/1271 +Author: J. Sassmannshausen (Imperial College London/UK) +diff --git a/DRAGMAP-1.3.0.orig/src/include/sequences/Read.hpp b/DRAGMAP-1.3.0/src/include/sequences/Read.hpp +index 460c1cb..8d20cd6 100644 +--- a/DRAGMAP-1.3.0.orig/src/include/sequences/Read.hpp ++++ b/DRAGMAP-1.3.0/src/include/sequences/Read.hpp +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + namespace dragenos { + namespace sequences { +diff --git a/DRAGMAP-1.3.0.orig/src/lib/sequences/tests/unit/CrcHasherMocks.hpp b/DRAGMAP-1.3.0/src/lib/sequences/tests/unit/CrcHasherMocks.hpp +index 1866be7..ca495cc 100644 +--- a/DRAGMAP-1.3.0.orig/src/lib/sequences/tests/unit/CrcHasherMocks.hpp ++++ b/DRAGMAP-1.3.0/src/lib/sequences/tests/unit/CrcHasherMocks.hpp +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include + + namespace dragenos { +diff --git a/DRAGMAP-1.3.0.orig/stubs/dragen/src/host/dragen_api/read_group_list.hpp b/DRAGMAP-1.3.0/stubs/dragen/src/host/dragen_api/read_group_list.hpp +index eefb9ae..623a77f 100644 +--- a/DRAGMAP-1.3.0.orig/stubs/dragen/src/host/dragen_api/read_group_list.hpp ++++ b/DRAGMAP-1.3.0/stubs/dragen/src/host/dragen_api/read_group_list.hpp +@@ -14,6 +14,7 @@ + #define __READ_GROUP_LIST_HPP__ + + #include "dragen_exception.hpp" ++#include + class ReadGroupList { + public: + const std::string &getReadGroupName(const uint16_t idx) const {