Skip to content

Commit

Permalink
removed extraneous #include for hts support. updated version number. …
Browse files Browse the repository at this point in the history
…added dependencies in Makefile so that users who clone can compile with htslib support
  • Loading branch information
terencewtli committed Oct 15, 2020
1 parent add224c commit 25d3e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ $(PROGS): $(addprefix smithlab_cpp/, \
OptionParser.o MappedRead.o)

ifdef HAVE_HTSLIB
preseq to-mr: $(addprefix smithlab_cpp/, htslib_wrapper.o)
preseq to-mr: $(addprefix smithlab_cpp/, \
htslib_wrapper_deprecated.o cigar_utils.o)
endif

preseq: continued_fraction.o load_data_for_complexity.o moment_sequence.o
Expand Down
1 change: 0 additions & 1 deletion src/load_data_for_complexity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ empty_pq(GenomicRegion &curr_gr, GenomicRegion &prev_gr,
*/
#ifdef HAVE_HTSLIB
// switching dependency on bamtools to samtools
#include <htslib_wrapper.hpp>
#include "htslib_wrapper_deprecated.hpp"

size_t
Expand Down
2 changes: 1 addition & 1 deletion src/preseq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ using std::to_string;
using std::mt19937;
using std::max;

static const string preseq_version = "3.0.2";
static const string preseq_version = "3.1.1";

template <typename T> T
get_counts_from_hist(const vector<T> &h) {
Expand Down

0 comments on commit 25d3e40

Please sign in to comment.