The Fastq format is the de facto standard for encoding sequence data with accompanying quality scores.
Unfortunately, several incompatible variations of this standard exist (see Cock et al (2010) for details).
This page contains instructions for converting data between the various “flavors” of the Fastq format.
Seqret
The seqret program (part of the EMBOSS toolkit) is fluent in the various Fastq dialects and can convert between them.
The following command will convert a Sanger-variant Fastq file to an Illumina-variant Fastq file.