diff --git a/src/window.cpp b/src/window.cpp index d12ce8d..4409cfe 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -131,29 +131,6 @@ bool Window::generate_consensus(std::shared_ptr alignment } else { consensus_ = consensus_.substr(begin, end - begin + 1); } - - } else if (type_ == WindowType::kNGS) { - uint32_t i = 0; - for (uint32_t j = 0; i < consensus_.size(); ++i) { - if (consensus_[i] != 'N') { - continue; - } - - j = std::max(j, i); - while (j < consensus_.size() && consensus_[j] == 'N') { - ++j; - } - - if (j >= consensus_.size()) { - break; - } else if (i != j) { - consensus_[i] = consensus_[j]; - consensus_[j] = 'N'; - } - } - if (i < consensus_.size()) { - consensus_.resize(i); - } } return true;