Commit 47d213ed authored by Haowen Zhang's avatar Haowen Zhang
Browse files

Pass the right parameters for index construction.

parent 86cbef33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
.TH chromap 1 "22 Feb 2022" "chromap-0.2 (r351)" "Bioinformatics tools"
.TH chromap 1 "22 Feb 2022" "chromap-0.2 (r352)" "Bioinformatics tools"
.SH NAME
.PP
chromap - fast alignment and preprocessing of chromatin profiles
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ void Chromap::ConstructIndex() {
  // TODO(Haowen): Need a faster algorithm
  // Load all sequences in the reference into one batch
  SequenceBatch reference;
  reference.InitializeLoading(mapping_parameters_.reference_file_path);
  reference.InitializeLoading(index_parameters_.reference_file_path);
  uint32_t num_sequences = reference.LoadAllSequences();
  Index index(index_parameters_.kmer_size, index_parameters_.window_size,
              index_parameters_.num_threads,
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#include "temp_mapping.h"
#include "utils.h"

#define CHROMAP_VERSION "0.2-r351"
#define CHROMAP_VERSION "0.2-r352"

namespace chromap {