Package Bio :: Package AlignIO :: Module PhylipIO :: Class PhylipWriter
[hide private]
[frames] | no frames]

Class PhylipWriter

source code

      Interfaces.AlignmentWriter --+    
                                   |    
Interfaces.SequentialAlignmentWriter --+
                                       |
                                      PhylipWriter

Phylip alignment writer.

Instance Methods [hide private]
 
write_alignment(self, alignment)
Use this to write (another) single alignment to an open file.
source code

Inherited from Interfaces.SequentialAlignmentWriter: __init__, write_file, write_footer, write_header

Inherited from Interfaces.AlignmentWriter: clean

Method Details [hide private]

write_alignment(self, alignment)

source code 

Use this to write (another) single alignment to an open file.

This code will write interlaced alignments (when the sequences are longer than 50 characters).

Note that record identifiers are strictly truncated at 10 characters.

For more information on the file format, please see: http://evolution.genetics.washington.edu/phylip/doc/sequence.html http://evolution.genetics.washington.edu/phylip/doc/main.html#inputfiles

Overrides: Interfaces.SequentialAlignmentWriter.write_alignment