Package ete2 :: Package treeview :: Module faces :: Class SequenceFace
[hide private]
[frames] | no frames]

Class SequenceFace

source code

object --+    
         |    
      Face --+
             |
            SequenceFace

Creates a new molecular sequence face object.

Arguments description
---------------------
seq:     Sequence string to be drawn
seqtype: Type of sequence: "nt" or "aa"
fsize:   Font size,  (default=10)

Instance Methods [hide private]
 
__init__(self, seq, seqtype, fsize=10, aafg={'-': '#000000', '.': '#000000', 'A': '#000000', 'B': '#000000..., aabg={'-': '#FFFFFF', '.': '#FFFFFF', 'A': '#C8C8C8', 'B': '#FF69B4..., ntfg={' ': '#000000', '-': '#000000', '.': '#000000', 'A': '#000000..., ntbg={' ': '#FFFFFF', '-': '#FFFFFF', '.': '#FFFFFF', 'A': '#A0A0FF...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
update_pixmap(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from Face
 
_height(self) source code
 
_size(self) source code
 
_width(self) source code
 
load_pixmap_from_file(self, filename) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, seq, seqtype, fsize=10, aafg={'-': '#000000', '.': '#000000', 'A': '#000000', 'B': '#000000..., aabg={'-': '#FFFFFF', '.': '#FFFFFF', 'A': '#C8C8C8', 'B': '#FF69B4..., ntfg={' ': '#000000', '-': '#000000', '.': '#000000', 'A': '#000000..., ntbg={' ': '#FFFFFF', '-': '#FFFFFF', '.': '#FFFFFF', 'A': '#A0A0FF...)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

update_pixmap(self)

source code 
Overrides: Face.update_pixmap