On Incremental Computation of Transitive Closure and Greedy Alignment
On Incremental Computation of Transitive Closure and Greedy Alignment
复制标题
传递闭包与贪婪对齐的增量计算
DOI:
10.1007/3-540-63220-4_58
复制
发表时间:
1997
期刊:
影响因子:
5.8
通讯作者:
Saïd Abdeddaïm
中科院分区:
文献类型:
--
作者:
Saïd Abdeddaïm
Several algorithms based on heuristics have been proposed for the multiple alignment of sequences. The most efficient in time computation are often greedy algorithms. At each step a greedy alignment algorithm must know if two characters are alignable or not, regarding to the characters definitely aligned before. We show that this problem is reducible to find paths in a directed graph. We give an incremental algorithm that maintains the transitive closure of a graph for which we know a spanning set of k disjoined paths. Our algorithm maintains the transitive closure of a graph of n vertices and m edges (in the final state) in O(k 2 m+n minm, n) time and O(kn) space. We show that this algorithm can be used by any greedy alignment algorithm to know in constant time if two characters are alignable or not, by maintaining the transitive closure of an alignment graph in O(k2n+n2) time and O(kn) space, for k sequences whose total length is n. As an example of application we have implemented TwoAlign a efficient multiple alignment program based on greedy computation of pairwise local alignments.