Sequence alignment
来源:互联网 发布:大乐网络注册 编辑:程序博客网 时间:2024/06/06 00:10
concept
In computer realm,Sequence is not continuous,on the contrary,String is continuous;in the biology,sequence is called gapped sequence,string is called sequence.
Sequence similarity problem occurs in search engine,command line,genome
Paradigm one:Similar sequence
Paradigm two:Similar sequence
The basic method of sequence alignment is Dynamic Programming.
example
Q:Given U,V,how to measure the similarity?
Definition: the alignment of U and V is to insert ” ” into sequences to make them the same length n.(“” means space)
Note:alignment of ” ” and ” “is forbidden.
Example:
N:cat. V:act
2 matches, 2 inserts or deltions.
1 match, 2 mismatchs.
Q:how many alignments between U and V?
A: a lot!
Q:which alignment is better?
A: It depends on the model(scoring function)!
Alignment score
Example one:
Given scoring function
Example two:
Optimal Global Alignment
Definition:Given U,V,w(), asks to find the optimal global alignment that has the maximum score.
S(U,V):score of the optimal alignment number.
s(alignment):the score of the alignment.
S(U,V) = s(T)
Key observation: the structure of the optimal solutions.
(1)T: optimal alignment for act and cat.
s(T) = S(act,cat)
what do we know about last column of T?
obviously, the first and second column is impossible!
if the third column is true
Prove: cut & paste!
if the fourth column is true
Prove: cut & paste!
…
In Summary:
Note:计算时不需要决策树,只需要这个表,按照逻辑:每一个值取决于斜上对角线和左侧,上侧,表的数值一行行产生。
Algorithm
- Def scoring function s() (60% workload)
- Recursive function
- Boundouries
- Dynamic Programming
- Time & Space complexity
- Sequence Alignment
- Sequence Alignment
- Sequence alignment
- sequence alignment
- Linear Space Sequence Alignment
- List of sequence alignment software
- poj 1080 dp(sequence alignment)
- POJ 2520 DNA Sequence Alignment 笔记
- alignment
- Alignment
- Alignment
- memory alignment
- Data Alignment
- Byte Alignment
- Memory Alignment
- XScale alignment
- Byte alignment
- 1836--Alignment
- Android 进程和线程
- Android四种launchMode启动模式总结对比
- html meta标签使用总结
- curl 模拟浏览器头和refer及Curl模仿http浏览器常见命令
- python利用LSTM进行时间序列分析预测
- Sequence alignment
- Netty高性能之道
- Code Interview(1)
- Java - 集合
- spring学习(十)—事务管理(配置文件方式实现)
- 【Servlet】05-使用JSP
- TCP 的那些事儿(上)
- 安卓手势学习笔记
- Spring mvc+Mybatis整合