Versions in this module Expand all Collapse all v1 v1.0.1 Feb 16, 2017 v1.0.0 Jan 5, 2017 Changes in this version + var ErrMatrixNotSquare = errors.New("align: scoring matrix is not square") + var ErrMismatchedAlphabets = errors.New("align: mismatched alphabets") + var ErrMismatchedTypes = errors.New("align: mismatched sequence types") + var ErrNoAlphabet = errors.New("align: no alphabet") + var ErrNotGappedAlphabet = errors.New("align: alphabet does not have gap at position 0") + var ErrTypeNotHandled = errors.New("align: sequence type not handled") + func Format(a, b seq.Slicer, f []feat.Pair, gap alphabet.Letter) [2]alphabet.Slice + type Affine struct + GapOpen int + Matrix Linear + type Aligner interface + Align func(reference, query AlphabetSlicer) ([]feat.Pair, error) + type AlphabetSlicer interface + Alphabet func() alphabet.Alphabet + Slice func() alphabet.Slice + type ErrMatrixWrongSize struct + Len int + Size int + func (e ErrMatrixWrongSize) Error() string + type Fitted Linear + func (a Fitted) Align(reference, query AlphabetSlicer) ([]feat.Pair, error) + type FittedAffine Affine + func (a FittedAffine) Align(reference, query AlphabetSlicer) ([]feat.Pair, error) + type Linear [][]int + type NW Linear + func (a NW) Align(reference, query AlphabetSlicer) ([]feat.Pair, error) + type NWAffine Affine + func (a NWAffine) Align(reference, query AlphabetSlicer) ([]feat.Pair, error) + type SW Linear + func (a SW) Align(reference, query AlphabetSlicer) ([]feat.Pair, error) + type SWAffine Affine + func (a SWAffine) Align(reference, query AlphabetSlicer) ([]feat.Pair, error)