fdel = percent2real(len, options[:deletions])
pat = pat[1 ... pat.length]
-$stderr.puts pat
-$stderr.puts entry.seq[0 ... len]
+
if m = entry.patmatch(pat, [0, len], fmis, fins, fdel)
record[:ADAPTOR_POS_LEFT] = m.pos
record[:ADAPTOR_LEN_LEFT] = m.length