Files
obitools3/python/obitools3/align/_freeendgapfm.pyx
2018-03-12 18:09:22 +01:00

19 lines
368 B
Cython
Executable File

#cython: language_level=3
'''
Created on 6 Nov. 2009
@author: coissac
'''
cdef class FreeEndGapFullMatch(FreeEndGap):
cdef double matchScore(self,int h, int v):
cdef double score
if iupacMatch(self.hSeq.sequence[h-1],self.vSeq.sequence[v-1]):
score=self._match
else:
score=self._mismatch
return score