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
Functions
Initialize the class
Use this to avoid getting newlines in the output
Use this to write an entire file containing the given alignments
Link to this section Functions
Link to this function
__init__()
Initialize the class.
Link to this function
clean()
Use this to avoid getting newlines in the output.
Link to this function
write_file()
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.
This method should be replaced by any derived class to do something useful. It should return the number of alignments..