original_docstring:  iterate through a proteomics summary file and yield the data per line
docstring: iterate through a proteomics summary file and yield the data per line
docstring_tokens: iterate through a proteomics summary file and yield the data per line
code: def iterateProteomicsSummary(infile, sep="\t"):
      ''' iterate through a proteomics summary file and yield the data per line'''
      header = next(infile)
      for line in infile:
          try:
              uniprot_id, sequence, start, end = line.strip().split(sep)[0:4]
          except:
              print(line.strip().split(sep))
              print(line.strip().split(sep)[0:4])
              print(line)
              raise ValueError()
          yield (uniprot_id, sequence, start, end)
code_tokens: def iterateProteomicsSummary ( infile , sep = "\t" ) : header = next ( infile ) for line in infile : try : uniprot_id , sequence , start , end = line . strip ( ) . split ( sep ) [ 0 : 4 ] except : print ( line . strip ( ) . split ( sep ) ) print ( line . strip ( ) . split ( sep ) [ 0 : 4 ] ) print ( line ) raise ValueError ( ) yield ( uniprot_id , sequence , start , end )
short_docstring: iterate through a proteomics summary file and yield the data per line
short_docstring_tokens: iterate through a proteomics summary file and yield the data per line
comment: ''' iterate through a proteomics summary file and yield the data per line'''