]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/shred_seq
changed Seq.new argument to hash
[biopieces.git] / bp_bin / shred_seq
index 94d5835e53837f84b0e81aa8bffa9200feb557cf..322916426e606dd11259eb6f34757486296e039d 100755 (executable)
@@ -84,7 +84,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] and record[:SEQ].length >= options[:size]
-      entry      = Seq.new(record[:SEQ_NAME], record[:SEQ], record[:SCORES])
+      entry      = Seq.new_bp(record)
       entry.type = :dna
 
       entry.shred(options[:size], options[:coverage]) do |subentry|