# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-require 'maasha/align/match'
+require 'maasha/align/matches'
require 'maasha/math_aux'
FACTOR_SCORE_LENGTH = 1.0
while (matches.size == 0 and kmer > 0)
matches = Matches.find(q_seq, s_seq, space.q_min, space.s_min, space.q_max, space.s_max, kmer)
+ #matches = Mem.find(q_seq, s_seq, kmer, space.q_min, space.s_min, space.q_max, space.s_max)
if @matches.empty?
matches.sort_by! { |m| m.length }