Rosalind第82题:Local Alignment with Scoring Matrix

Problem

local alignment of two strings  and  is an alignment of substrings  and  of  and , respectively. Let  denote the score of an optimal alignment of  and  with respect to some predetermined alignment score.

Given: Two protein strings  and  in FASTA format (each having length at most 1000 aa).

Return: A maximum alignment score along with substrings  and  of  and , respectively, which produce this maximum alignment score (multiple solutions may exist, in which case you may output any one). Use:

局部比对两个 和是对准子串和 的和,分别。让表示一个的得分最佳比对的和相对于某一预定的比对评分

给定:两个蛋白质串 ,格式FASTA(每个长度最大为1000aa)。

返回:与子沿最大比对分数和的和,分别,即产生该最大比对得分(多个解决方案可能存在,在这种情况下,你可输出任何一种)。采用:

Sample Dataset

>Rosalind_80
MEANLYPRTEINSTRING
>Rosalind_21
PLEASANTLYEINSTEIN

Sample Output

23
LYPRTEINSTRIN
LYEINSTEIN
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值