/ . / MultAlignViewer / SeqCanvas.py / SeqCanvas
Methods
|
|
|
addHeaders
|
addHeaders ( self, headers )
|
|
headerDisplayOrder
|
headerDisplayOrder ( self )
|
|
bboxList
|
bboxList (
self,
line1,
line2,
pos1,
pos2,
coverGaps=True,
)
return coords that bound given lines and positions
|
|
showHeaders
|
showHeaders ( self, headers )
|
|
hideTree
|
hideTree ( self )
|
|
setRulerDisplay
|
setRulerDisplay ( self, showRuler )
|
|
seeBlocks
|
seeBlocks ( self, blocks )
scroll canvas to show given blocks
|
|
clustalConsensusChars
|
clustalConsensusChars ( self, offset )
|
|
addSeqs
|
addSeqs ( self, seqs )
|
|
realign
|
realign (
self,
seqs,
offset=None,
)
|
|
__init__
|
__init__ (
self,
parent,
mav,
seqs,
)
|
|
saveEPS
|
saveEPS (
self,
fileName,
colorMode,
rotate,
extent,
)
|
|
hideHeaders
|
hideHeaders ( self, headers )
|
|
boundedBy
|
boundedBy (
self,
x1,
y1,
x2,
y2,
)
return lines and offsets bounded by given coords
|
|
assocSeq
|
assocSeq ( self, aseq )
alignment sequence has gained or lost associated structure
|
|
setColorFunc
|
setColorFunc ( self, coloring )
|
|
setClustalParams
|
setClustalParams (
self,
categories,
colorings,
)
|
|
recolor
|
recolor ( self, seq )
|
|
deleteHeaders
|
deleteHeaders ( self, headers )
Exceptions
|
|
ValueError( "Cannot delete builtin header" " sequence" )
ValueError( "Cannot delete an alignment sequence" )
|
|
|
usePhyloTree
|
usePhyloTree ( self, tree )
|
|
shouldWrap
|
shouldWrap ( self )
|
|
refresh
|
refresh (
self,
seq,
left=0,
right=None,
updateAttrs=True,
)
|
|
lineWidthFromPrefs
|
lineWidthFromPrefs ( self )
|
|
|