Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to accomodate large k-mers #17

Open
b2jia opened this issue May 8, 2021 · 1 comment
Open

Unable to accomodate large k-mers #17

b2jia opened this issue May 8, 2021 · 1 comment

Comments

@b2jia
Copy link

b2jia commented May 8, 2021

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
@clemaitre
Copy link
Collaborator

Hi,

92 is not a multiple of 32, try with 96 instead.
Note that by default DSK is compiled to handle kmer-sizes up to 127. (default -DKSIZE_LIST="32 64 96 128")

Claire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants