code: def stream_fastq(file_handler):
      ''' Generator which gives all four lines if a fastq read as one string
      '''
      next_element = ''
      for i, line in enumerate(file_handler):
          next_element += line
          if i % 4 == 3:
              yield next_element
              next_element = 'f stream_fastq(file_handler):
      ''' Generator which gives all four lines if a fastq read as one string
      '''
      next_element = ''
      for i, line in enumerate(file_handler):
          next_element += line
          if i % 4 == 3:
              yield next_element
              next_element = ''
docs: Generator which gives all four lines if a fastq read as one string