예제 #1
0
 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)
예제 #2
0
파일: objects.py 프로젝트: dib-lab/motility
 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)
예제 #3
0
 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)
예제 #4
0
파일: objects.py 프로젝트: dib-lab/motility
 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)