I want to run something like the BLAST algorithm to query a large database of unicode strings. 开发者_C百科Most of the alignment software like BLAST expects nucleotide or protein strings as input. But my input could potentially contain any unicode character. Is anyone aware of a piece of software that will let me do this? The scoring matrix could just be the identity matrix (no partial matching.)
I have tried Needleman-Wunsch and Smith Waterman but for my purposes they are too slow. I need to query a large database, as in BLAST.
Thank you!
BLAST can be used to align sequences of characters from any alphabet. You will probably need to implement it yourself, since most of the publicly available implementations are tailored to proteins, but the algorithm is not specific to proteins or nucleotide sequences.
vmatch is a general suffix-tree based alignment program
You might as well give STELLAR a try: It is a quasar-like filter algorithm with verification step. (see this paper)
It is quite fast for low edit distances <5%.
精彩评论