def return_fastq_entry(__export_line_array, remove_bases, new_quals):
   __name=":".join([__export_line_array[0], __export_line_array[2], __export_line_array[3], __export_line_array[4], __export_line_array[5]])
   __name="/".join([__name, __export_line_array[7]])
   if new_quals:
      return "".join(['@', __name, '\n', "".join(__export_line_array[8][0:len(__export_line_array[8])-remove_bases]), '\n+\n', "".join(__export_line_array[9][0:len(__export_line_array[9])-remove_bases]), '\n'])
   else:
      return  "".join(['@', __name, '\n', "".join(__export_line_array[8][0:remove_bases-len(__export_line_array[8])]), '\n+\n', "".join(solexa_str_to_sanger(__export_line_array[9])[0:len(__export_line_array[9])-remove_bases]), '\n'])
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_rmaa/exports_to_fq.py/return_fastq_entry/swapped operands of `-`