Methods
|
|
|
|
__init__
|
__init__ (
self,
msf,
master=None,
seqCount=10,
nameWidth=10,
seqWidth=80,
**kw,
)
|
|
calcSim
|
calcSim ( self, percent )
|
|
calcSimRes
|
calcSimRes (
self,
residues,
percent,
)
|
|
colorSchemeCB
|
colorSchemeCB (
self,
scheme,
reason,
*args,
)
Callback for ColorScheme
|
|
editDelete
|
editDelete ( self )
Sequence editing functions
|
|
editInsert
|
editInsert ( self, char )
|
|
fileClose
|
fileClose ( self )
|
|
fileInspect
|
fileInspect ( self )
File menu callback routines
|
|
filePrint
|
filePrint ( self )
|
|
fileSave
|
fileSave ( self )
|
|
findEditedRegion
|
findEditedRegion (
self,
width,
area,
regionList,
)
|
|
fontCB
|
fontCB (
self,
chooser,
reason,
*args,
)
Callback for FontChooser
|
|
inpectorInfo
|
inpectorInfo (
self,
inspector,
request,
*args,
)
|
|
inspectorCB
|
inspectorCB (
self,
inspector,
reason,
*args,
)
Callback and information for Inspector
|
|
makeNameMenu
|
makeNameMenu ( self )
Create menu for individual sequence options
Override to add more entries
|
|
newpdb
|
newpdb ( self )
Sequence pop-up menu callback routines
|
|
oldpdb
|
oldpdb ( self )
|
|
patternCB
|
patternCB (
self,
pattern,
reason,
*args,
)
Callback for PatternBrowser
|
|
patternInfo
|
patternInfo (
self,
pattern,
request,
*args,
)
|
|
pdbDisassociate
|
pdbDisassociate ( self, n )
|
|
pdbFile
|
pdbFile ( self, n )
Return file name associated with sequence n
|
|
pdbNewAssociate
|
pdbNewAssociate ( self, n )
Routines for (dis)associating PDB file with sequence
Override for specific modeling package
|
|
pdbOldAssociate
|
pdbOldAssociate ( self, n )
|
|
pdbResidue
|
pdbResidue (
self,
n,
r,
)
Return name associated with residue r of sequence n
|
|
prepareNameMenu
|
prepareNameMenu ( self, n )
|
|
progressEnd
|
progressEnd ( self )
|
|
progressInit
|
progressInit ( self )
Progress message display routines
Override to provide alternative display
|
|
progressShow
|
progressShow ( self, msg )
Exceptions
|
|
ViewerAbort, 'cancelled at user request'
|
|
|
regionCB
|
regionCB (
self,
region,
reason,
*args,
)
Callback for RegionBrowser
|
|
setFont
|
setFont ( self )
|
|
setSimColour
|
setSimColour ( self, fract=0.8 )
|
|
simColour
|
simColour ( self, simMatrix )
|
|
startSimDialog
|
startSimDialog ( self )
|
|
styleBackgroundChange
|
styleBackgroundChange ( self )
|
|
styleColorsChoose
|
styleColorsChoose ( self, color )
Tries to load the color map indicated by color
|
|
styleColorsEdit
|
styleColorsEdit ( self )
Style menu callback routines
|
|
styleColorsLoad
|
styleColorsLoad ( self )
|
|
styleColorsSave
|
styleColorsSave ( self )
|
|
styleFontChange
|
styleFontChange ( self )
|
|
unpdb
|
unpdb ( self )
|
|
xview
|
xview ( self, *args )
|
|
yview
|
yview ( self, *args )
Synchronize vertical scrolling of canvases
|