Handler to create a ClustalAlignment object from clustal file info.
This handler is used to accept events coming from a Martel parsing
stream, and acts like a normal SAX handler.
After parsing, the alignment object created is available as the
align attribute of the class.
Methods
|
|
__init__
characters
endDocument
endElement
startElement
|
|
__init__
|
__init__ ( self, alphabet )
Create a new handler ready to deal with output from Martel parsing.
Arguments:
o alphabet - The alphabet to create all of the new sequences with.
|
|
characters
|
characters ( self, content )
|
|
endDocument
|
endDocument ( self )
|
|
endElement
|
endElement ( self, name )
|
|
startElement
|
startElement (
self,
name,
attrs,
)
Check the various tags for the info we are interested in.
|
|