deeplotyper.alignment_utils

Functions

apply_alignment_gaps(seq1, seq2, blocks1, ...)

Insert gaps so aligned blocks line up between two sequences.

cache(user_function, /)

Simple lightweight unbounded cache.

make_aligner([mode, match_score, ...])

Return a cached PairwiseAligner configured with custom scoring.

Classes

PairwiseAligner([scoring])

Performs pairwise sequence alignment using dynamic programming.

Sequence()

All the operations on a read-only sequence.

Exceptions

AlignmentError

Base class for alignment‐related errors.

BlockValidationError

Raised when an aligned‐block interval is invalid.