X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fshred_seq;h=322916426e606dd11259eb6f34757486296e039d;hb=48bea5c28b89dc5586d0bddb338ccd6ba23aa1f9;hp=94d5835e53837f84b0e81aa8bffa9200feb557cf;hpb=a945a21356f87f679f433279e502676f425ac8ee;p=biopieces.git diff --git a/bp_bin/shred_seq b/bp_bin/shred_seq index 94d5835..3229164 100755 --- a/bp_bin/shred_seq +++ b/bp_bin/shred_seq @@ -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|