]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/find_homopolymers
changed Seq.new argument to hash
[biopieces.git] / bp_bin / find_homopolymers
index c0885e3d3bb010a1363af0ff57dd24e8acf819cc..c7c98f0023e7c738f50f9f301c261ec563ed39eb 100755 (executable)
@@ -45,7 +45,7 @@ options = Biopieces.options_parse(ARGV, casts)
 Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output|
   input.each_record do |record|
     if record[:SEQ]
-      seq = Seq.new(nil, record[:SEQ])
+      seq = Seq.new(seq: record[:SEQ])
 
       longest = Seq::Homopolymer.new("", 0, 0)
       got_one = false