]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/Maasha/lib/sff.rb
added xy-coord extraction code to sff.rb
[biopieces.git] / code_ruby / Maasha / lib / sff.rb
index cb1fa2360da133ac83b290a083079056bc207179..f8b1110219c1adfe7dd552e2e72fb700627f9782 100644 (file)
@@ -202,10 +202,10 @@ class Read
     hash[:SEQ_NAME]           = self.name
     hash[:SEQ]                = self.bases
     hash[:SEQ_LEN]            = self.bases.length
-    hash[:CLIP_QUAL_LEFT]     = self.clip_qual_left  - 1
-    hash[:CLIP_QUAL_RIGHT]    = self.clip_qual_right - 1
-    hash[:CLIP_ADAPTOR_LEFT]  = self.clip_adapter_left
-    hash[:CLIP_ADAPTOR_RIGHT] = self.clip_adaptor_right
+    hash[:CLIP_QUAL_LEFT]     = self.clip_qual_left     - 1
+    hash[:CLIP_QUAL_RIGHT]    = self.clip_qual_right    - 1
+    hash[:CLIP_ADAPTOR_LEFT]  = self.clip_adapter_left  - 1
+    hash[:CLIP_ADAPTOR_RIGHT] = self.clip_adaptor_right - 1
     hash[:SCORES]             = self.quality_scores.map { |i| (i += 64).chr }.join ""
     hash[:X_POS]              = self.x_pos
     hash[:Y_POS]              = self.y_pos