5 #include <seqan/sequence.h>
8 * File-format constants and names
22 static const std::string file_format_names[] = {
35 * Print the given read information as a FASTA record.
37 static inline void printFastaRecord(
39 const seqan::String<char>& name,
40 const seqan::String<seqan::Dna5>& seq)
42 o << ">" << name << endl << seq << endl;
46 * Print the given read information as a FASTQ record.
48 static inline void printFastqRecord(
50 const seqan::String<char>& name,
51 const seqan::String<seqan::Dna5>& seq,
52 const seqan::String<char>& qual)
54 o << "@" << name << endl << seq << endl << "+" << endl << qual << endl;