def extract_all_from_fastq(rec):
return (rec.id,<EOL>len(rec),<EOL>nanomath.ave_qual(rec.letter_annotations["<STR_LIT>"]),<EOL>nanomath.median_qual(rec.letter_annotations["<STR_LIT>"]))<EOL>
Extract metrics from a fastq file.

    Return identifier, read length, average quality and median quality