]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/patscan_seq
rewrite of FASTQ internals
[biopieces.git] / bp_bin / patscan_seq
index c8ff36237213c67a483a5663f00e345a33238efb..bc07fcaf792f832875079832132695ef7f3cd1b9 100755 (executable)
@@ -68,7 +68,7 @@ class Patscan
   def results_parse
     results = Hash.new { |h, k| h[k] = [] }
 
-    Fasta.open(@out_file, mode='r') do |ios|
+    Fasta.open(@out_file, 'r') do |ios|
       ios.each do |entry|
         if entry.seq_name =~ /([^:]+):\[(\d+),(\d+)\]/
           id    = $1.to_i