Table of Contents

Module: structAssoc MultAlignViewer/structAssoc.py

Imported modules   
from NeedlemanWunsch import nw
from chimera.Sequence import Sequence
Functions   
constrainedMatch
dragMatch
gappedMatch
makeForcedMatch
nwAssoc
oldTryAssoc
tryAssoc
  constrainedMatch 
constrainedMatch (
        aseq,
        mseq,
        segments,
        maxErrors,
        )

all the segments should fit in aseq

Exceptions   
AssertionError, "Internal match problem: segments (%d) != offsets (%d)" %(len( segments ), len( offsets ) )
ValueError, "bad assoc"
  dragMatch 
dragMatch (
        aseq,
        gappedMseq,
        maxErrors,
        )

mseq longer than aseq can still be gaps in mseq

Exceptions   
ValueError, "bad assoc"
  gappedMatch 
gappedMatch (
        aseq,
        mseq,
        segments,
        gaps,
        estLen,
        maxErrors,
        )

Exceptions   
ValueError, "bad assoc"
  makeForcedMatch 
makeForcedMatch (
        side,
        aseq,
        mseq,
        aseqStart,
        aseqLength,
        mseqStart,
        mseqLength,
        )

  nwAssoc 
nwAssoc ( alignSeq,  molSeq )

  oldTryAssoc 
oldTryAssoc (
        alignSeq,
        molSeq,
        gappedMseq,
        maxErrors=6,
        )

Exceptions   
ValueError, "bad assoc"
  tryAssoc 
tryAssoc (
        alignSeq,
        mseq,
        segments,
        gaps,
        estLen,
        maxErrors=6,
        )

Classes   

Matchup

When done, self.best will either be None or a 3-tuple.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:27 2003 by HappyDoc version 2.1