code: def get_cb_depth_set(cb_histogram, cb_cutoff):
      ''' Returns a set of barcodes with a minimum number of reads
      '''
      cb_keep_set = set()
      if not cb_histogram:
          return cb_keep_set
  
      with read_cbhistogram(cb_histogram) as fh:
          cb_map = dict(p.strip().split() for p in fh)
          cb_keep_set = set([k for k, v in cb_map.items() if int(v) > cb_cutoff])
          logger.info('Keeping %d out of %d cellular barcodes.'
                      % (len(cb_keep_set), len(cb_map)))
      return cb_keep_sef get_cb_depth_set(cb_histogram, cb_cutoff):
      ''' Returns a set of barcodes with a minimum number of reads
      '''
      cb_keep_set = set()
      if not cb_histogram:
          return cb_keep_set
  
      with read_cbhistogram(cb_histogram) as fh:
          cb_map = dict(p.strip().split() for p in fh)
          cb_keep_set = set([k for k, v in cb_map.items() if int(v) > cb_cutoff])
          logger.info('Keeping %d out of %d cellular barcodes.'
                      % (len(cb_keep_set), len(cb_map)))
      return cb_keep_set
docs: Returns a set of barcodes with a minimum number of reads