Table of Contents

Class: MAViewer MultAlignViewer/MAViewer.py

MAViewer displays a multiple alignment

Base Classes   
ModelessDialog
Methods   
Hide
Quit
__init__
addSpecials
associate
customUI
delSpecials
destroy
disassociate
emHide
emName
emQuit
emRaise
fillInUI
readFile
realign
save
saveString
  Hide 
Hide ( self )

  Quit 
Quit ( self )

  __init__ 
__init__ (
        self,
        fileNameOrSeqs,
        fileType=None,
        autoAssociate=1,
        title=None,
        quitCB=None,
        frame=None,
        ownSeqs=None,
        )

  addSpecials 
addSpecials ( self,  specials )

  associate 
associate (
        self,
        models,
        seq=None,
        force=1,
        minLength=10,
        showMatches=1,
        showErrors=1,
        )

associate models with sequences

models is normally a list of models, but it can be a Sequence instance, in which case it should be a Sequence of a particular chain of a model.

if seq is given, associate only with that sequence, otherwise consider all sequences in alignment.

If force is 1, then if no association meets the built-in association criteria, then use Needleman- Wunsch to force an association with at least one sequence.

If models is None, then some or all of the sequences have residues attributes indicating their corresponding model. Set up the proper associations.

If a chain is less than minLength residues, ignore it.

showMatches and showErrors control whether regions will be created indicating matches and errors. A complete, error-free matchup will not have regions created regardless.

  customUI 
customUI ( self,  parent )

Function to allow customization of the interface

parent is the interior frame of the dialog. It can be populated with custom widgets as desired. A frame should be returned by this function, in which the MAViewer UI will be placed.

  delSpecials 
delSpecials ( self,  specials )

  destroy 
destroy ( self )

  disassociate 
disassociate ( self,  mol )

  emHide 
emHide ( self )

Extension manager method

  emName 
emName ( self )

Extension manager method

  emQuit 
emQuit ( self )

Extension manager method

  emRaise 
emRaise ( self )

Extension manager method

  fillInUI 
fillInUI ( self,  parent )

  readFile 
readFile (
        self,
        fileName,
        fileType,
        )

Exceptions   
IOError, "Found no sequences in file %s" % fileName
  realign 
realign (
        self,
        input,
        fileType=None,
        )

Switch to a different alignment of the same sequences

input is list of Sequences or file name

  save 
save ( self )

  saveString 
saveString ( self )

returns a string that can be used by restoreMAV()


Table of Contents

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