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

    Interface CleanOptions

    Options for cleaning and sanitizing sequences

    Cleaning operations fix common issues in sequence data.

    interface CleanOptions {
        removeGaps?: boolean;
        gapChars?: string;
        replaceAmbiguous?: boolean;
        replaceChar?: string;
        trimWhitespace?: boolean;
        removeEmpty?: boolean;
    }
    Index

    Properties

    removeGaps?: boolean

    Remove gap characters (-, ., *)

    gapChars?: string

    Custom gap characters to remove

    replaceAmbiguous?: boolean

    Replace ambiguous bases with a standard character

    replaceChar?: string

    Character to use for replacement (default: 'N')

    trimWhitespace?: boolean

    Remove leading/trailing whitespace

    removeEmpty?: boolean

    Filter out empty sequences after cleaning