An example of writing a gzipped fastq file.
#include "btllib/seq_writer.hpp"
#include <iostream>
int
main()
{
writer.
write(
"read1",
"comment1",
"ACGATCAGCAGCATG",
"!@$&!#$&@(#*@)%");
writer.
write(
"read2",
"comment2",
"GTACG",
"&%(@(");
return 0;
}