Package csb :: Package bio :: Package io :: Module fasta :: Class A3MOutputBuilder
[frames] | no frames]

Class A3MOutputBuilder

source code

   object --+    
            |    
OutputBuilder --+
                |
               A3MOutputBuilder

Formats sequences as A3M strings. When appending an alignment, this builder will write all insertion-containing columns in lower case. Also, gap symbols are omitted if the respective columns contain insertions.

See OutputBuilder.

Nested Classes

Inherited from OutputBuilder: __metaclass__

Instance Methods
 
add_alignment(self, alignment)
Format and append an alignment to the product.
source code
 
add_sequence(self, sequence)
Format and append a new sequence to the product.
source code

Inherited from OutputBuilder: __init__, add_comment, add_many, add_separator, write, writeline

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

Static Methods

Inherited from OutputBuilder: create, register

Class Variables
  FORMAT = A3M
  __abstractmethods__ = frozenset([])
Properties

Inherited from OutputBuilder: headers, output

Inherited from object: __class__

Method Details

add_alignment(self, alignment)

source code 

Format and append an alignment to the product.

Overrides: OutputBuilder.add_alignment
(inherited documentation)

add_sequence(self, sequence)

source code 

Format and append a new sequence to the product.

Overrides: OutputBuilder.add_sequence
(inherited documentation)