docs: def get_files_for_table(input_dir,
                          file_end='.trim.derep.no_artifacts'
                          '.msa.deblur.no_chimeras'):
      """Get a list of files to add to the output table
  
      Parameters:
      -----------
      input_dir : string
          name of the directory containing the deblurred fasta files
      file_end : string
          the ending of all the fasta files to be added to the table
          (default '.fasta.trim.derep.no_artifacts.msa.deblur.no_chimeras')
  
      Returns
      -------
      names : list of tuples of (string,string)
          list of tuples of:
              name of fasta files to be added to the biom table
              sampleid (file names without the file_end and path)
      """
      logger = logging.getLogger(__name__)
      logger.debug('get_files_for_table input dir %s, '
                   'file-ending %s' % (input_dir, file_end))
      names = []
      for cfile in glob(join(input_dir, "*%s" % file_end)):
          if not isfile(cfile):
              continue
          sample_id = basename(cfile)[:-len(file_end)]
          sample_id = os.path.splitext(sample_id)[0]
          names.append((cfile, sample_id))
  
      logger.debug('found %d files' % len(names))
      return names