Documentation
¶
Overview ¶
Package providing PALS dynamic programming alignment routines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Aligner ¶
type Aligner struct {
// contains filtered or unexported fields
}
An Aligner provides allows local alignment of subsections of long sequences.
func NewAligner ¶
Create a new Aligner based on target and query sequences.
func (*Aligner) AlignTraps ¶
func (self *Aligner) AlignTraps(trapezoids filter.Trapezoids) (segments DPHits)
Align pairs of sequence segments defined by trapezoids. Returns aligning segment pairs satisfying length and identity requirements.
type DPHit ¶
type DPHit struct {
Abpos, Bbpos int // Start coordinate of local alignment
Aepos, Bepos int // End coordinate of local alignment
LowDiagonal, HighDiagonal int // Alignment is between (anti)diagonals LowDiagonal & HighDiagonal
Score int // Score of alignment where match = SameCost, difference = -DiffCost
Error float64 // Lower bound on error rate of match
}
DPHit holds details of alignment result.
Click to show internal directories.
Click to hide internal directories.