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

    Variable BedFormatConst

    BedFormat: {
        detectVariant: (
            fieldCount: number,
        ) => "BED3" | "BED4" | "BED5" | "BED6" | "BED9" | "BED12";
        validateStrand: (strand: string) => strand is Strand;
        parseRgb: (rgbString: string) => null | { r: number; g: number; b: number };
        validateCoordinates: (
            start: number,
            end: number,
            allowZeroLength?: boolean,
        ) => { valid: boolean; error?: string };
    } = ...

    Type Declaration

    • detectVariant: (fieldCount: number) => "BED3" | "BED4" | "BED5" | "BED6" | "BED9" | "BED12"
    • validateStrand: (strand: string) => strand is Strand
    • parseRgb: (rgbString: string) => null | { r: number; g: number; b: number }
    • validateCoordinates: (
          start: number,
          end: number,
          allowZeroLength?: boolean,
      ) => { valid: boolean; error?: string }