/ . / MultAlignViewer / structAssoc.py
Functions
|
|
|
oldTryAssoc
|
oldTryAssoc (
alignSeq,
molSeq,
gappedMseq,
maxErrors=6,
)
|
|
makeForcedMatch
|
makeForcedMatch (
side,
aseq,
mseq,
aseqStart,
aseqLength,
mseqStart,
mseqLength,
)
|
|
nwAssoc
|
nwAssoc ( alignSeq, molSeq )
|
|
tryAssoc
|
tryAssoc (
alignSeq,
mseq,
segments,
gaps,
estLen,
maxErrors=6,
)
|
|
gappedMatch
|
gappedMatch (
aseq,
mseq,
segments,
gaps,
estLen,
maxErrors,
)
|
|
dragMatch
|
dragMatch (
aseq,
gappedMseq,
maxErrors,
)
mseq longer than aseq
can still be gaps in mseq
|
|
constrainedMatch
|
constrainedMatch (
aseq,
mseq,
segments,
maxErrors,
)
all the segments should fit in aseq
Exceptions
|
|
ValueError, "bad assoc"
AssertionError, "Internal match problem: segments (%d) != offsets (%d)" %(len( segments ), len( offsets ) )
|
|
|
Classes
|
|
Matchup |
When done, self.best will either be None or a 3-tuple.
|
|
|