docs: def _check_for_slash_endings(self, readnames):
          '''
          Provide a list of read names to be checked for the /1 or /2 endings
          which cause troubles downstream when working with paired reads. This
          function checks the list for ANY read ending in /1 or /2. The reads are
          first stripped of any comment lines, using the 'split' function
  
          Parameters
          ----------
          readnames : list
              list of strings, each a read name to be checked for the /1 or /2
              ending
  
          Returns
          -------
          Boolean. True if /1 or /2 endings are found, False if not.
  
          '''
  
          # Strip comment lines, if any
          readnames = [x.split()[0] for x in readnames]
  
          # Check for /1 and /2 endings:
          if any(x for x in readnames if x.endswith('/1') or x.endswith('/2')):
              result = True
          else:
              result = False
  
          return result