Ejemplo n.º 1
0
 bool operator()(const CRef<CCode_break>& code_break) {
     CRange<TSeqPos> cb_range = code_break->GetLoc().GetTotalRange();
     const auto strand = code_break->GetLoc().GetStrand();
     if (strand != eNa_strand_minus) {
         const TSeqPos cb_from = cb_range.GetFrom();
         return ((cb_from < m_From) || (m_To < cb_from)); 
     } 
     // eNa_strand_minus
     const TSeqPos cb_to = cb_range.GetTo();
     return ((cb_to > m_To) || (m_From > cb_to)); 
 }