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.
classes:
o SummaryInfo
o PSSM
Imported modules
|
|
from Bio import Alphabet
from Bio.Alphabet import IUPAC
from Bio.Seq import Seq
import math
import string
import sys
|
Functions
|
|
print_info_content
|
|
print_info_content
|
print_info_content (
summary_info,
fout=sys.stdout,
rep_record=0,
)
Three column output: position, aa in representative sequence,
ic_vector value
|
Classes
|
|
PSSM |
Represent a position specific score matrix.
|
SummaryInfo |
Calculate summary info about the alignment.
|
|
|