Package Bio :: Package SeqIO :: Module ClustalIO :: Class ClustalWriter
[hide private]
[frames] | no frames]

Class ClustalWriter

source code

Interfaces.SequenceWriter --+
                            |
                           ClustalWriter

Write Clustal sequence alignments

Instance Methods [hide private]
 
__init__(self, handle)
Creates the writer object
source code
 
write_file(self, records)
Use this to write an entire file containing the given records.
source code

Inherited from Interfaces.SequenceWriter: clean

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 

Creates the writer object

Use the method write_file() to actually record your sequence records.

Overrides: Interfaces.SequenceWriter.__init__

write_file(self, records)

source code 

Use this to write an entire file containing the given records.

records - a SeqRecord iterator, or list of SeqRecords

Right now this code uses Bio.Clustalw.ClustalAlignment to do the hard work - this may change in the future.

Overrides: Interfaces.SequenceWriter.write_file