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

    Interface MotifLocation

    Motif location result from pattern search operations

    Represents a found pattern within a sequence with detailed biological context including strand information and match quality.

    interface MotifLocation {
        sequenceId: string;
        start: number;
        end: number;
        length: number;
        strand: "+" | "-";
        matchedSequence: string;
        mismatches: number;
        score: number;
        pattern: string;
        context?: { upstream: string; downstream: string };
    }
    Index

    Properties

    sequenceId: string

    Sequence ID where match was found

    start: number

    Start position (0-based)

    end: number

    End position (exclusive, 0-based)

    length: number

    Length of the match

    strand: "+" | "-"

    Strand where match was found

    matchedSequence: string

    Matched sequence content

    mismatches: number

    Number of mismatches (for fuzzy matching)

    score: number

    Score/confidence of match (0-1)

    pattern: string

    Original pattern that was searched

    context?: { upstream: string; downstream: string }

    Additional context sequence around the match