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

    Interface DSVParserOptions

    DSV parser options extending base parser options

    interface DSVParserOptions {
        delimiter?: string;
        autoDetectDelimiter?: boolean;
        quote?: string;
        escape?: string;
        header?: boolean | string[];
        columns?: string[];
        skipEmptyLines?: boolean;
        skipComments?: boolean;
        commentPrefix?: string;
        onError?: (error: string, lineNumber?: number) => void;
        protectFromExcel?: boolean;
        raggedRows?: "ignore" | "error" | "pad" | "truncate";
        maxFieldLines?: number;
        computeStats?: boolean;
        includeGC?: boolean;
        includeGCSkew?: boolean;
        includeBaseCount?: boolean;
        includeQuality?: boolean;
        autoDetect?: boolean;
        autoDetectHeaders?: boolean;
        skipValidation?: boolean;
        maxLineLength?: number;
        trackLineNumbers?: boolean;
        signal?: AbortSignal;
        onWarning?: (warning: string, lineNumber?: number) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    delimiter?: string
    autoDetectDelimiter?: boolean
    quote?: string
    escape?: string
    header?: boolean | string[]
    columns?: string[]
    skipEmptyLines?: boolean
    skipComments?: boolean
    commentPrefix?: string
    onError?: (error: string, lineNumber?: number) => void

    Custom error handler

    protectFromExcel?: boolean
    raggedRows?: "ignore" | "error" | "pad" | "truncate"
    maxFieldLines?: number
    computeStats?: boolean
    includeGC?: boolean
    includeGCSkew?: boolean
    includeBaseCount?: boolean
    includeQuality?: boolean
    autoDetect?: boolean
    autoDetectHeaders?: boolean
    skipValidation?: boolean

    Skip validation for performance (dangerous but fast)

    maxLineLength?: number

    Maximum line length before throwing error

    trackLineNumbers?: boolean

    Whether to preserve original line numbers

    signal?: AbortSignal

    AbortController signal for cancelling parsing operations

    onWarning?: (warning: string, lineNumber?: number) => void

    Custom warning handler