Thought this was spam (Dawg matching algorithm?) before I saw the embedded link :-)
Hi,
I would like test accuracy, speed of some basics string matching algorithm on biological sequence. Where can i find a good library (python, c, c#, ... whatever) with implementation of string matching algorithm or service on the web? Do you have something that would help me, advise, ...?
3 answers
EXACT STRING MATCHING ALGORITHMS / Christian Charras - Thierry Lecroq : http://www-igm.univ-mlv.fr/~lecroq/string/ "Brute Force algorithm Deterministic Finite Automaton algorithm Karp-Rabin algorithm Shift Or algorithm Morris-Pratt algorithm Knuth-Morris-Pratt algorithm Simon algorithm Colussi algorithm Galil-Giancarlo algorithm Apostolico-Crochemore algorithm Not So Naive algorithm Boyer-Moore algorithm Turbo BM algorithm Apostolico-Giancarlo algorithm Reverse Colussi algorithm Horspool algorithm Quick Search algorithm Tuned Boyer-Moore algorithm Zhu-Takaoka algorithm Berry-Ravindran algorithm Smith algorithm Raita algorithm Reverse Factor algorithm Turbo Reverse Factor algorithm Forward Dawg Matching algorithm Backward Nondeterministic Dawg Matching algorithm Backward Oracle Matching algorithm Galil-Seiferas algorithm Two Way algorithm String Matching on Ordered Alphabets algorithm Optimal Mismatch algorithm Maximal Shift algorithm Skip Search algorithm KMP Skip Search algorithm Alpha Skip Search algorithm"
and their implementations in C...
Do these algorithms work properly?
Have a look on seqan c++ library. http://seqan.readthedocs.io/en/master/
For instance, it uses 2 bits per nucleotides instead 8 used by plain text sequence.
Thanks. I will try this. It seems good and easy to use.
Log in to answer this question.
Whats wrong with
strstr, orgrep‽Nothing, but i need more algorithms with scientific approach and compare them on different data sets.
I am predicting, it will be hard to beat
strstrorpcmpestriunless you do some precomputation on the haystack (suffixtree etc.).Do you have python library?