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

    Interface ValidateOptions

    Options for sequence validation

    Validation can reject, fix, or warn about invalid sequences.

    interface ValidateOptions {
        mode?: "strict" | "normal" | "permissive";
        allowRNA?: boolean;
        allowAmbiguous?: boolean;
        allowGaps?: boolean;
        action?: "reject" | "fix" | "warn";
        fixChar?: string;
    }
    Index

    Properties

    mode?: "strict" | "normal" | "permissive"

    Validation strictness level

    allowRNA?: boolean

    Allow RNA bases (U) in sequences

    allowAmbiguous?: boolean

    Allow IUPAC ambiguity codes

    allowGaps?: boolean

    Allow gap characters

    action?: "reject" | "fix" | "warn"

    Action to take on invalid sequences

    fixChar?: string

    Character to use when fixing invalid bases