Bio.Align.AlignInfo module

Extract information from alignment objects.

In order to try and avoid huge alignment objects with tons of functions, functions which return summary type information about alignments should be put into classes in this module.

class Bio.Align.AlignInfo.SummaryInfo(alignment)

Bases: object

Calculate summary info about the alignment.

This class should be used to calculate information summarizing the results of an alignment. This may either be straight consensus info or more complicated things.

__init__(alignment)

Initialize with the alignment to calculate information on.

ic_vector attribute. A list of ic content for each column number.

get_column(col)

Return column of alignment.