]> git.donarmstrong.com Git - biopieces.git/commitdiff
polishing find_adaptor
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 19 Apr 2011 10:10:48 +0000 (10:10 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 19 Apr 2011 10:10:48 +0000 (10:10 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1345 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/find_adaptor

index d68414c7247600e7f0e0f415afe50fbb78f66684..cfa050f35c2078a56509e79d6d2fd5a67d5023bd 100755 (executable)
@@ -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
 
-
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<