code: def _calc_input_estimates(keyvals, get_retriever):
      
      out = {}
      for key, val in keyvals.items():
          size = _calc_file_size(val, 0, get_retriever)
          if size:
              out[key] = size
      return out
docs: Calculate estimations of input file sizes for disk usage approximation.
  
      These are current dominated by fastq/BAM sizes, so estimate based on that.