next up previous contents index
Next: alignment.read_one() read Up: The alignment class: comparison Previous: alignment.append() read   Contents   Index

alignment.clear() -- delete all sequences from the alignment

This deletes all of the sequences from the alignment. It is not exactly the same as deleting the alignment object and creating a new one, since any structural data already read in remains in the alignment object. This is useful if the sequences are reread and the structural information needs to be reused.

Automatic builds 2012-08-29