biopython v1.71.0 Bio.AlignIO.Interfaces.SequentialAlignmentWriter

Base class for building MultipleSeqAlignment writers.

This assumes each alignment can be simply appended to the file. You should write a writealignment() method. You may wish to redefine the _init method as well.

Link to this section Summary

Functions

Initialize the class

Use this to write a single alignment

Use this to write an entire file containing the given alignments

Use this to write any footer

Use this to write any header

Link to this section Functions

Initialize the class.

Link to this function write_alignment()

Use this to write a single alignment.

This method should be replaced by any derived class to do something useful.

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

Arguments:

  • alignments - A list or iterator returning MultipleSeqAlignment objects

In general, this method can only be called once per file.

Use this to write any footer.

This method should be replaced by any derived class to do something useful.

Use this to write any header.

This method should be replaced by any derived class to do something useful.