Class FastqPhredWriter

Although you can use this class directly, you are strongly encouraged
to use the Bio.SeqIO.write() function instead via the format name "fastq"
or the alias "fastq-sanger". For example, this code reads in a standard
Sanger style FASTQ file (using PHRED scores) and re-saves it as another
Sanger style FASTQ file:

You might want to do this if the original file included extra line breaks,
which while valid may not be supported by all tools. The output file from
Biopython will have each sequence on a single line, and each quality
string on a single line (which is considered desirable for maximum
compatibility).

In this next example, an old style Solexa/Illumina FASTQ file (using Solexa
quality scores) is converted into a standard Sanger style FASTQ file using
PHRED qualities: