biopython v1.71.0 Bio.AlignIO.Interfaces.AlignmentWriter
Base class for building MultipleSeqAlignment writers.
You should write a writealignment() method. You may wish to redefine the _init method as well.
Link to this section Summary
Link to this section Functions
Initialize the class.
Use this to avoid getting newlines in the output.
Use this to write an entire file containing the given alignments.
- alignments - A list or iterator returning MultipleSeqAlignment objects
In general, this method can only be called once per file.
This method should be replaced by any derived class to do something useful. It should return the number of alignments..