From: martinahansen Date: Mon, 10 Dec 2012 18:38:02 +0000 (+0000) Subject: removed debug code from find_adaptor X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=commitdiff_plain;h=449502a619149d8b881cd0d1e7c2ba01b2ff88aa removed debug code from find_adaptor git-svn-id: http://biopieces.googlecode.com/svn/trunk@2041 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/find_adaptor b/bp_bin/find_adaptor index 5b2c96b..0534572 100755 --- a/bp_bin/find_adaptor +++ b/bp_bin/find_adaptor @@ -106,8 +106,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| 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