def replace_interval(self, start, end, new, qual_string):
if len(new) != len(qual_string):<EOL><INDENT>raise Error('<STR_LIT>')<EOL><DEDENT>super().replace_interval(start, end, new)<EOL>self.qual = self.qual[<NUM_LIT:0>:start] + qual_string + self.qual[end + <NUM_LIT:1>:]<EOL>
Replaces the sequence from start to end with the sequence "new