| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
Last-Update: Fri, 05 Jan 2024 15:02:12 +0100 |
| 3 |
Description: Use Debian packaged bifrost |
| 4 |
|
| 5 |
--- kallisto.orig/src/CMakeLists.txt |
| 6 |
+++ kallisto/src/CMakeLists.txt |
| 7 |
@@ -17,7 +17,7 @@ |
| 8 |
add_executable(kallisto main.cpp) |
| 9 |
|
| 10 |
find_package( Threads REQUIRED ) |
| 11 |
-ExternalProject_Get_Property(bifrost install_dir) |
| 12 |
+# ExternalProject_Get_Property(bifrost install_dir) |
| 13 |
if(!DEBIAN_BUILD) |
| 14 |
if (USE_BAM) |
| 15 |
target_link_libraries(kallisto kallisto_core pthread ${CMAKE_CURRENT_SOURCE_DIR}/../ext/htslib/libhts.a ${install_dir}/build/src/libbifrost.a) |
| 16 |
@@ -25,8 +25,8 @@ |
| 17 |
target_link_libraries(kallisto kallisto_core pthread ${install_dir}/build/src/libbifrost.a) |
| 18 |
endif(USE_BAM) |
| 19 |
else() |
| 20 |
-# FIXME: once bifrost is accepted this should be linked against the Debian packaged library |
| 21 |
-target_link_libraries(kallisto kallisto_core pthread ${install_dir}/build/src/libbifrost.a) |
| 22 |
+include_directories(/usr/include/bifrost /usr/include/htslib) |
| 23 |
+target_link_libraries(kallisto kallisto_core pthread libbifrost) |
| 24 |
endif() |
| 25 |
|
| 26 |
if(LINK MATCHES static) |
| 27 |
--- kallisto.orig/src/KmerIndex.cpp |
| 28 |
+++ kallisto/src/KmerIndex.cpp |
| 29 |
@@ -12,6 +12,8 @@ |
| 30 |
#include <string> |
| 31 |
#include "ColoredCDBG.hpp" |
| 32 |
|
| 33 |
+typedef boomphf::mphf<Minimizer, MinimizerHash> boophf_t; |
| 34 |
+ |
| 35 |
// --aa option helper functions |
| 36 |
// first three letters of nucleotide seq -> comma-free nuc_seq |
| 37 |
// the three stop codons will be translated to 'NNN' |