dsk icon indicating copy to clipboard operation
dsk copied to clipboard

Unable to accomodate large k-mers

Open b2jia opened this issue 3 years ago • 1 comments

To support finding long k-mers, I tried re-installing in the build folder following instructions:

rm -Rf CMake* && cmake -DKSIZE_LIST="32 64 92" .. && make

where I chose multiples of 32, complying with instructions. However, it throws the following error. Can't seem to find any resource specific to DSK online to help with this problem. Compiling from source did not throw any errors, just when I tried to extend the search to include longer k-mers! Would the authors be able to help identify the key problem here? I realize perhaps people don't search for long k-mers very often.

/home/b2jia/Downloads/Software/dsk/thirdparty/gatb-core/gatb-core/thirdparty/boost/variant/get.hpp:233:107: error: static assertion failed: boost::variant does not contain specified type U, call to boost::get<U>(const boost::variant<T...>*) will always return NULL
  233 |         (boost::detail::variant::holds_element<boost::variant< BOOST_VARIANT_ENUM_PARAMS(T) >, const U >::value),
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/b2jia/Downloads/Software/dsk/thirdparty/gatb-core/gatb-core/thirdparty/boost/static_assert.hpp:31:59: note: in definition of macro ‘BOOST_STATIC_ASSERT_MSG’
   31 | #     define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
      |                                                           ^~~~~~~~~~~
make[2]: *** [ext/gatb-core/src/CMakeFiles/gatbcore-static.dir/build.make:2013: ext/gatb-core/src/CMakeFiles/gatbcore-static.dir/gatb/template/TemplateSpecialization5.cpp.in_10000.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:336: ext/gatb-core/src/CMakeFiles/gatbcore-static.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

b2jia avatar May 08 '21 22:05 b2jia