Entwickeln Sie eine Funktion globalAlignmentScore(s1,s2) in Python, welche den Score des globalen Alignments von s1 und s2 berechnet und zurückgibt.

Start time:
Do 24 Okt 2019 14:00:00
End time:
Mi 30 Okt 2019 11:00:00
General test timeout:
10.0 seconds

Tests

Command line arguments input.txt
Comment prefix #
Given input
ACTAGC ACTACGAC
TGCTGAC ACTAG
A T
CGA TTTTT
AGGA TAGGAGGA
Expected output
ACTAGC ACTACGAC
Score is 2
TGCTGAC ACTAG
Score is -3
A T
Score is -1
CGA TTTTT
Score is -7
AGGA TAGGAGGA
Score is -4