def to_Fastq(self, qual_scores):
if len(self) != len(qual_scores):<EOL><INDENT>raise Error('<STR_LIT>', self.id)<EOL><DEDENT>return Fastq(self.id, self.seq, '<STR_LIT>'.join([chr(max(<NUM_LIT:0>, min(x, <NUM_LIT>)) + <NUM_LIT>) for x in qual_scores]))<EOL>
Returns a Fastq object. qual_scores expected to be a list of numbers, like you would get in a .qual file