/ mabslib / Matrix.py
Python interface and logic to TFBS matrix matching
from cStringIO import StringIOimport mathimport matriximport operatorimport string
log2 ( x )
Base 2 logarithm
Matrix
represents a binding site matrix