Abstract
Some string-matching problems can be reduced to parsing: verification whether some sequence can be derived in the given grammar. To apply parser-based solutions to such area as bioinformatics, one needs to improve parsing techniques so that the processing of large amounts of data was possible. The most asymptotically efficient parsing algorithm that can be applied to any context-free grammar is a matrix-based algorithm proposed by Valiant. This paper presents a modification of the Valiant’s algorithm, which facilitates efficient utilization of modern hardware in highly-parallel implementation. Moreover, the modified version significantly decreases the number of excessive computations, accelerating the search of substrings.
The research was supported by the Russian Science Foundation, grant No. 18-11-00100.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The source code is available on GitHub: https://github.com/SusaninaJulia/PBMM.
References
Albrecht, M., Bard, G., Hart, W.: Algorithm 898. ACM Trans. Math. Softw. 37(1), 1–14 (2010). https://doi.org/10.1145/1644001.1644010
Arlazarov, V.L., Dinitz, Y.A., Kronrod, M., Faradzhev, I.: On economical construction of the transitive closure of an oriented graph. In: Doklady Akademii Nauk, vol. 194, pp. 487–488. Russian Academy of Sciences (1970)
Dowell, R.D., Eddy, S.R.: Evaluation of several lightweight stochastic context-free grammars for RNA secondary structure prediction. BMC Bioinform. 5(1), 71 (2004)
Durbin, R., Eddy, S., Krogh, A., Mitchison, G.: Biological Sequence Analysis. Cambridge University Press, Cambridge (1996)
Grigorev., S., Lunina., P.: The composition of dense neural networks and formal grammars for secondary structure analysis. In: Proceedings of the 12th International Joint Conference on Biomedical Engineering Systems and Technologies - Volume 3 BIOINFORMATICS: BIOINFORMATICS, pp. 234–241. INSTICC, SciTePress (2019). https://doi.org/10.5220/0007472302340241
Hopcroft, J.E.: Introduction to Automata Theory, Languages, and Computation. Pearson Education India, Boston (2008)
Kasami, T.: An efficient recognition and syntax-analysis algorithm for context-free languages. Coordinated Science Laboratory Report no. R-257 (1966)
Knudsen, B., Hein, J.: RNA secondary structure prediction using stochastic context-free grammars and evolutionary history. Bioinformatics (Oxford, England) 15(6), 446–454 (1999)
Liu, T., Schmidt, B.: Parallel RNA secondary structure prediction using stochastic context-free grammars. Concurr. Comput. Pract. Exp. 17(14), 1669–1685 (2005)
Okhotin, A.: Conjunctive grammars. J. Autom. Lang. Comb. 6(4), 519–535 (2001)
Okhotin, A.: Parsing by matrix multiplication generalized to Boolean grammars. Theor. Comput. Sci. 516, 101–120 (2014). https://doi.org/10.1016/j.tcs.2013.09.011
Valiant, L.G.: General context-free recognition in less than cubic time. J. Comput. Syst. Sci. 10(2), 308–315 (1975). https://doi.org/10.1016/S0022-0000(75)80046-8
Younger, D.H.: Context-free language processing in time n3. In: Proceedings of the 7th Annual Symposium on Switching and Automata Theory (Swat 1966). SWAT 1966, pp. 7–20. IEEE Computer Society, Washington, DC, USA (1966). https://doi.org/10.1109/SWAT.1966.7
Zier-Vogel, R., Domaratzki, M.: RNA pseudoknot prediction through stochastic conjunctive grammars. In: Computability in Europe 2013. Informal Proceedings, pp. 80–89 (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Susanina, Y., Yaveyn, A., Grigorev, S. (2020). Modification of Valiant’s Parsing Algorithm for the String-Searching Problem. In: Cazzaniga, P., Besozzi, D., Merelli, I., Manzoni, L. (eds) Computational Intelligence Methods for Bioinformatics and Biostatistics. CIBB 2019. Lecture Notes in Computer Science(), vol 12313. Springer, Cham. https://doi.org/10.1007/978-3-030-63061-4_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-63061-4_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-63060-7
Online ISBN: 978-3-030-63061-4
eBook Packages: Computer ScienceComputer Science (R0)