Commit 2d253307 authored by Haowen Zhang's avatar Haowen Zhang
Browse files

Seperate chromap and its driver.

parent 83c4ca3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ CXX=g++
CXXFLAGS=-std=c++11 -Wall -O3 -fopenmp -msse4.1
LDFLAGS=-lm -lz

cpp_source=sequence_batch.cc index.cc candidate_processor.cc alignment.cc feature_barcode_matrix.cc ksw.cc mapping_writer.cc chromap.cc
cpp_source=sequence_batch.cc index.cc candidate_processor.cc alignment.cc feature_barcode_matrix.cc ksw.cc mapping_writer.cc chromap.cc chromap_driver.cc
src_dir=src
objs_dir=objs
objs+=$(patsubst %.cc,$(objs_dir)/%.o,$(cpp_source))
+0 −636

File changed.

Preview size limit exceeded, changes collapsed.

+0 −7
Original line number Diff line number Diff line
@@ -31,13 +31,6 @@

namespace chromap {

class ChromapDriver {
 public:
  ChromapDriver() {}
  ~ChromapDriver() {}
  void ParseArgsAndRun(int argc, char *argv[]);
};

class Chromap {
 public:
  // For index construction

src/chromap_driver.cc

0 → 100644
+649 −0

File added.

Preview size limit exceeded, changes collapsed.

src/chromap_driver.h

0 → 100644
+15 −0
Original line number Diff line number Diff line
#ifndef CHROMAP_DRIVER_H_
#define CHROMAP_DRIVER_H_

namespace chromap {

class ChromapDriver {
 public:
  ChromapDriver() = default;
  ~ChromapDriver() = default;
  void ParseArgsAndRun(int argc, char *argv[]);
};

}  // namespace chromap

#endif  // CHROMAP_DRIVER_H_
Loading