from pymsascoring.distancematrix.impl.blosum62 import Blosum62
from pymsascoring.distancematrix.impl.pam250 import PAM250
from pymsascoring.score.impl.entropy import Entropy
from pymsascoring.score.impl.sumofpairs import SumOfPairs
from pymsascoring.score.score import Score

__author__ = "Antonio J. Nebro"
__license__ = "GPL"
__version__ = "1.0-SNAPSHOT"
__status__ = "Development"
__email__ = "antonio@lcc.uma.es"

"""
This program is intended to show some examples of using the scores in pyMSA.
"""

def compute_score(score : Score, msa) -> float:
    return score.compute(msa)

if __name__ == '__main__':

    msa = (("s1", "ACTG"), ("S2", "A-T-"))

    score_method = Entropy()
    value = compute_score(score_method, msa)
    print(value)

    score_method = SumOfPairs(Blosum62())
    value = compute_score(score_method, msa)
    print(value)

    score_method = SumOfPairs(PAM250())
    value = compute_score(score_method, msa)
    print(value)
@@ -545,16 +545,165 @@
  float:%0A
+    %22%22%22%0A    This function applies an score to a multiple sequence alignment%0A    :param score: %0A    :param msa: %0A    :return: the score value%0A    %22%22%22%0A
     retu
@@ -752,17 +752,16 @@
 ain__':%0A
-%0A
     msa 

Update file scoringExample.py