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

    Interface BedInterval

    BED interval representation with computed properties Supports BED3, BED6, BED9, and BED12 formats

    interface BedInterval {
        chromosome: string;
        start: number;
        end: number;
        name?: string;
        score?: number;
        strand?: Strand;
        thickStart?: number;
        thickEnd?: number;
        itemRgb?: string;
        blockCount?: number;
        blockSizes?: number[];
        blockStarts?: number[];
        lineNumber?: number;
        length?: number;
        midpoint?: number;
        stats?: {
            length: number;
            hasThickRegion: boolean;
            hasBlocks: boolean;
            bedType: "BED3" | "BED4" | "BED5" | "BED6" | "BED9" | "BED12";
        };
    }
    Index

    Properties

    chromosome: string

    Reference chromosome or contig name

    start: number

    Start position (0-based, inclusive)

    end: number

    End position (0-based, exclusive)

    name?: string

    Name of the BED line (BED4+)

    score?: number

    Score between 0 and 1000 (BED5+)

    strand?: Strand

    Strand orientation (BED6+)

    thickStart?: number

    Start of thick/coding region (BED9+)

    thickEnd?: number

    End of thick/coding region (BED9+)

    itemRgb?: string

    RGB color value (BED9+)

    blockCount?: number

    Number of blocks/exons (BED12+)

    blockSizes?: number[]

    Comma-separated list of block sizes (BED12+)

    blockStarts?: number[]

    Comma-separated list of block starts (BED12+)

    lineNumber?: number

    Original line number for error reporting

    length?: number

    Computed interval length

    midpoint?: number

    Computed midpoint coordinate

    stats?: {
        length: number;
        hasThickRegion: boolean;
        hasBlocks: boolean;
        bedType: "BED3" | "BED4" | "BED5" | "BED6" | "BED9" | "BED12";
    }

    Computed interval statistics