diff --git a/src/Alignment.cpp b/src/Alignment.cpp index 0748728..d007345 100644 --- a/src/Alignment.cpp +++ b/src/Alignment.cpp @@ -804,13 +804,8 @@ double Alignment::get_scrore_ratio() { if (subscore == 0) { subscore = 1; } - - //cout<<'\t'<getName()<<" ERROR!"<GetTag("XA", sa) && !sa.empty()) || (al->GetTag("XT", sa) && !sa.empty())); //|| (score == -1 || score > Parameter::Instance()->score_treshold)); //TODO: 7.5 + return !((al->GetTag("XA", sa) && !sa.empty()) || (al->GetTag("XT", sa) && !sa.empty())) && (score == -1 || score > Parameter::Instance()->score_treshold); //|| //TODO: 7.5 } std::vector Alignment::translate_cigar(std::string cigar) {