Package Bio :: Package SeqIO :: Module SffIO :: Class SffWriter
[hide private]
[frames] | no frames]

Class SffWriter

source code

Interfaces.SequenceWriter --+
                            |
                           SffWriter

SFF file writer.

Instance Methods [hide private]
 
__init__(self, handle, index=True, xml=None)
Creates the writer object.
source code
 
write_file(self, records)
Use this to write an entire file containing the given records.
source code
 
_write_index(self) source code
 
write_header(self) source code
 
write_record(self, record)
Write a single additional record to the output file.
source code

Inherited from Interfaces.SequenceWriter: clean

Inherited from Interfaces.SequenceWriter (private): _get_seq_string

Method Details [hide private]

__init__(self, handle, index=True, xml=None)
(Constructor)

source code 

Creates the writer object.

handle - Output handle, ideally in binary write mode. index - Boolean argument, should we try and write an index? xml - Optional string argument, xml to be recorded in the index block.

Overrides: Interfaces.SequenceWriter.__init__

write_file(self, records)

source code 

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

Overrides: Interfaces.SequenceWriter.write_file

write_record(self, record)

source code 

Write a single additional record to the output file.

This assumes the header has been done.