def __init__(self, m, default_n_value=-1000): """ Constructor. Takes a 4- or 5-by-N array representing the scores for [A,C,G,T[,N]]. """ self.matrix = m self._m = _motility.create_matrix(m, default_n_value)
def __init__(self, m, default_n_value=1000): """ Constructor. Takes a 4- or 5-by-N array representing the scores for [A,C,G,T[,N]]. The optional 'default_n_value' argument gives the default value for 'N' matches. """ self.matrix = m self._m = _motility.create_matrix(m, default_n_value)