File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2323#include < sstream>
2424#include < unistd.h>
2525#include < unordered_map>
26+ #include < random>
2627
2728#include " GenomicRegion.hpp"
2829#include " MappedRead.hpp"
29- #include < random>
30- // #include "RNG.hpp"
30+ #include " htslib_wrapper_deprecated.hpp"
3131
3232using std::string;
3333using std::vector;
@@ -189,7 +189,7 @@ size_t
189189load_counts_BAM_se (const string &input_file_name,
190190 vector<double > &counts_hist) {
191191 const string mapper = " general" ;
192- SAMReader sam_reader (input_file_name, mapper);
192+ SAMReader_deprecated sam_reader (input_file_name, mapper);
193193 if (!sam_reader)
194194 throw runtime_error (" problem opening input file "
195195 + input_file_name);
@@ -339,7 +339,7 @@ load_counts_BAM_pe(const bool VERBOSE,
339339 vector<double > &counts_hist) {
340340
341341 const string mapper = " general" ;
342- SAMReader sam_reader (input_file_name, mapper);
342+ SAMReader_deprecated sam_reader (input_file_name, mapper);
343343
344344 // check sam_reader
345345 if (!sam_reader)
Original file line number Diff line number Diff line change 2929#include " OptionParser.hpp"
3030#include " smithlab_utils.hpp"
3131#include " smithlab_os.hpp"
32- #include " htslib_wrapper .hpp"
32+ #include " htslib_wrapper_deprecated .hpp"
3333#include " MappedRead.hpp"
3434
3535using std::string;
@@ -205,7 +205,7 @@ main(int argc, const char **argv) {
205205 << " [output file: "
206206 << (outfile.empty () ? " stdout" : outfile) << " ]" << endl;
207207
208- SAMReader sam_reader (mapped_reads_file, mapper);
208+ SAMReader_deprecated sam_reader (mapped_reads_file, mapper);
209209 unordered_map<string, SAMRecord> dangling_mates;
210210
211211 size_t count = 0 ;
You can’t perform that action at this time.
0 commit comments