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;
}
Definition seq_writer.hpp:23
void write(const std::string &id, const std::string &comment, const std::string &seq, const std::string &qual="")