Package Bio :: Package SeqIO :: Module PhdIO :: Class PhdWriter
[hide private]
[frames] | no frames]

Class PhdWriter

source code

      Interfaces.SequenceWriter --+    
                                  |    
Interfaces.SequentialSequenceWriter --+
                                      |
                                     PhdWriter

Class to write Phd format files

Instance Methods [hide private]
 
__init__(self, handle)
Creates the writer object.
source code
 
write_record(self, record)
Write a single Phd record to the file.
source code

Inherited from Interfaces.SequentialSequenceWriter: write_file, write_footer, write_header, write_records

Inherited from Interfaces.SequenceWriter: clean

Inherited from Interfaces.SequenceWriter (private): _get_seq_string

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__
(inherited documentation)

write_record(self, record)

source code 

Write a single Phd record to the file.

Overrides: Interfaces.SequentialSequenceWriter.write_record