func (w *Writer) Write(r *Read) error {
	w.writeln(r.ID)
	w.writeln(r.Seq)
	w.writeln(r.Unk)
	w.writeln(r.Qual)
	return w.err
}
Write writes the read r in FASTQ format.
An error is returned if the write failed.
package fastq
import "io"
var newline = []byte{'\n'}
type Writer struct {
	w   io.Writer
	err error
}
func NewWriter(w io.Writer) *Writer {
	return &Writer{w: w}
}