code: def _get_counts_in_1x(data_is_basepairs):
      
      read_length = float(getattr(config, 'preseq', {}).get('read_length', 0))
      genome_size = getattr(config, 'preseq', {}).get('genome_size')
      if genome_size:
          try:
              genome_size = float(genome_size)
          except ValueError:
              presets = {'hg19_genome': 2897310462,
                         'hg38_genome': 3049315783,
                         'mm10_genome': 2652783500}
              if genome_size in presets:
                  genome_size = presets[genome_size]
              else:
                  log.warn('The size for genome ' + genome_size + ' is unknown to MultiQC, ' +
                           'please specify it explicitly or choose one of the following: ' +
                           ', '.join(presets.keys()) + '. Falling back to molecule counts.')
                  genome_size = None
  
      if genome_size:
          if data_is_basepairs:
              return genome_size
          elif read_length:
              return genome_size / read_length
      else:
          return None
docs: Read read length and genome size from the config and calculate
          the approximate number of counts (or base pairs) in 1x of depth