qual = @io.gets.chomp!
entry = Seq.new
- entry.type = @type.nil? ? nil : @type.downcase
entry.seq = seq
entry.seq_name = seq_name[1 .. seq_name.length]
entry.qual = qual
+ entry.type = nil
entry
rescue
nil
end
end
-
- # TODO - this should be some custom to_s method instead.
- def puts(record)
- if record.has_key? :SEQ_NAME and record.has_key? :SEQ
- @io.print ">#{record[:SEQ_NAME]}\n"
- @io.print "#{record[:SEQ]}\n"
- end
- end
end