Coverage Normalization

Normalizes mosdepth coverage in two steps: within-individual (divide by sample mean) and across-individual (z-score transformation). High-variance regions are then selected to reduce noise before neighbor computation.

grid.utils.normalize_mosdepth.normalize_mosdepth(config, console=None)

Normalize mosdepth coverage by calling the precompiled C++ executable, which matches Mukamel’s pipeline exactly.

Parameters:
  • config (dict) – Configuration data loaded from the config file.

  • console – Rich console object for logging.