From: martinahansen Date: Tue, 19 Apr 2011 10:10:48 +0000 (+0000) Subject: polishing find_adaptor X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e55c67476c655fecbcf6ec7e496055ac26678c2c;p=biopieces.git polishing find_adaptor git-svn-id: http://biopieces.googlecode.com/svn/trunk@1345 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/find_adaptor b/bp_bin/find_adaptor index d68414c..cfa050f 100755 --- a/bp_bin/find_adaptor +++ b/bp_bin/find_adaptor @@ -32,8 +32,6 @@ require 'biopieces' require 'seq' -VERBOSE = true - def disambiguate(adaptor) adaptor_disamb = adaptor.dup adaptor_disamb.gsub!('U', 'T') @@ -104,10 +102,10 @@ class Seq pos = self.length - adaptor.length end - #puts self.seq if VERBOSE + #puts self.seq while adaptor.length > 0 - #puts (" " * pos) + adaptor if VERBOSE + #puts (" " * pos) + adaptor ed_max = (adaptor.length * ed_percent * 0.01).round @@ -168,7 +166,6 @@ bp.each_record do |record| bp.puts record end - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<