When done, self.best will either be None or a 3-tuple.
If None, then no stretch of at least minStretch matches
were found.
A 3-tuple indicates the best match match. The components of
the 3-tuple are (offset, start, stretch):
offset: offset into aseq for matchup of mseq
start: offset into mseq where stretch of matches found
stretch: length of consecutive matches found
Methods
|
|
__init__
simpleLoop
strideLoop
|
|
__init__
|
__init__ (
self,
aseq,
mseq,
minStretch,
)
|
|
simpleLoop
|
simpleLoop ( self, offset )
|
|
strideLoop
|
strideLoop (
self,
offset,
best=None,
startIndex=0,
)
|
|