Problem
Given: Two protein strings and in FASTA format (each having length at most 10,000 aa).
Return: The maximum local alignment score of and , followed by substrings and of and , respectively, that correspond to the optimal local alignment of and . Use:
- The BLOSUM62 scoring matrix.
- Gap opening penalty equal to 11.
- Gap extension penalty equal to 1.
If multiple solutions exist, then you may output any one.
给出:两个蛋白质串 和 以FASTA格式(每个长度最大为10,000 aa)。
返回值:的最大局部比对得分 和 ,后跟子字符串 和 的 和 分别对应于 和 。采用:
如果存在多个解决方案,则可以输出任何一个。
Sample Dataset
>Rosalind_8 PLEASANTLY >Rosalind_18 MEANLY
Sample Output
12 LEAS MEAN