code: def _remove_n(self):
          '''Remove terminal Ns from sequencing results.'''
          for i, result in enumerate(self.results):
              largest = max(str(result).split('N'), key=len)
              start = result.locate(largest)[0][0]
              stop = start + len(largest)
              if start != stop:
                  self.results[i] = self.results[i][start:stopf _remove_n(self):
          '''Remove terminal Ns from sequencing results.'''
          for i, result in enumerate(self.results):
              largest = max(str(result).split('N'), key=len)
              start = result.locate(largest)[0][0]
              stop = start + len(largest)
              if start != stop:
                  self.results[i] = self.results[i][start:stop]
docs: Remove terminal Ns from sequencing results.