Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output|
input.each_record do |record|
- if record[:SEQ] and record[:SCORES]
+ if record[:SEQ] and record[:SCORES] and record[:SEQ].length > 0
entry = Seq.new_bp(record)
if options[:local]