]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed strange bug in find_adaptor
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 24 May 2011 12:36:45 +0000 (12:36 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 24 May 2011 12:36:45 +0000 (12:36 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1423 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/find_adaptor

index 9ada12c23757ef7e990130759c8d5e6c27460210..53793095e7998b4c82d91b503025d756fd811611 100755 (executable)
@@ -63,7 +63,7 @@ class PatScan
     matches = {}
 
     Fasta.open(@file_patscan, mode='r') do |ios|
-      ios.each_entry do |entry|
+      ios.each do |entry|
         if entry.seq_name =~ /^(\d+):\[(\d+),(\d+)\]$/
           name  = $1.to_i
           start = $2.to_i - 1