This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Global Alignment with simple penalties and not affine function penalties | |
# We count the number the paths along with the score in the table | |
class Cell: | |
def __init__(self): | |
self.score = 0 | |
self.path_count = 0 | |
def __repr__(self): | |
return f"({self.score}, {self.path_count})" |