Genotype API Documentation - v0.1.0
    Preparing search index...

    Variable BinningUtilsConst

    BinningUtils: BinningUtilsType = ...

    UCSC binning scheme utilities for hierarchical genomic coordinate indexing

    Implements the UCSC Genome Browser binning scheme with 6 hierarchical levels:

    • Level 0: bin 0 (covers entire chromosome, 512Mb)
    • Level 1: bins 1-8 (64Mb each)
    • Level 2: bins 9-72 (8Mb each)
    • Level 3: bins 73-584 (1Mb each)
    • Level 4: bins 585-4680 (128Kb each)
    • Level 5: bins 4681-37448 (16Kb each)
    const bin = BinningUtils.calculateBin(1000, 2000);
    const overlappingBins = BinningUtils.getOverlappingBins(1000, 5000);