{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,3]],"date-time":"2025-10-03T09:13:33Z","timestamp":1759482813247,"version":"build-2065373602"},"reference-count":27,"publisher":"PeerJ","license":[{"start":{"date-parts":[[2025,10,3]],"date-time":"2025-10-03T00:00:00Z","timestamp":1759449600000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["12171275"],"award-info":[{"award-number":["12171275"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Tsinghua University Education Foundation"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"abstract":"<jats:p>Alignment-free embedding methods, which map biological sequences into a fixed-dimensional space using mathematical techniques, hold significant value in biology. A key challenge in this field is constructing an inverse mapping to recover sequences from embedded vectors. The natural vector approach uniquely provides a theoretical one-to-one correspondence between sequences and high-order natural vectors, but reconstructing sequences from lower-order vectors remains unsolved. Moreover, when sequences contain masked regions, extracting features and constructing the inverse mapping to restore the original sequence, including the masked parts, becomes even more challenging. In this article, we define incomplete information natural vectors for masked sequences and develop a long short-term memory model that achieves over 99.9% accuracy in reconstructing unmasked positions in original sequences on SARS-CoV-2 and HIV-1 datasets, while also providing predictions for masked sites that significantly outperform random prediction. Our model can robustly handle sequences with varying masked nucleotides. Overall, our approach expands the scope of alignment-free embedding methods by enabling bidirectional conversion and addressing challenges posed by incomplete information.<\/jats:p>","DOI":"10.7717\/peerj.20126","type":"journal-article","created":{"date-parts":[[2025,10,3]],"date-time":"2025-10-03T08:33:06Z","timestamp":1759480386000},"page":"e20126","source":"Crossref","is-referenced-by-count":0,"title":["Reconstruction of masked sequences <i>via<\/i> inverse mapping of incomplete information natural vectors"],"prefix":"10.7717","volume":"13","author":[{"given":"Patrick","family":"Ding","sequence":"first","affiliation":[{"name":"Whitney M Young Magnet High School, Chicago, Illinois, United States"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Guoqing","family":"Hu","sequence":"additional","affiliation":[{"name":"Hetao Institute of Mathematics and Interdisciplinary Sciences (HIMIS), Shenzhen, Guangdong, China"},{"name":"Beijing Institute of Mathematical Sciences and Applications (BIMSA), Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Hongyu","family":"Yu","sequence":"additional","affiliation":[{"name":"Department of Mathematical Sciences, Tsinghua University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Stephen S.-T.","family":"Yau","sequence":"additional","affiliation":[{"name":"Hetao Institute of Mathematics and Interdisciplinary Sciences (HIMIS), Shenzhen, Guangdong, China"},{"name":"Beijing Institute of Mathematical Sciences and Applications (BIMSA), Beijing, China"},{"name":"Department of Mathematical Sciences, Tsinghua University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"4443","published-online":{"date-parts":[[2025,10,3]]},"reference":[{"issue":"3","key":"10.7717\/peerj.20126\/ref-1","doi-asserted-by":"publisher","first-page":"403","DOI":"10.1016\/s0022-2836(05)80360-2","article-title":"Basic local alignment search tool","volume":"215","author":"Altschul","year":"1990","journal-title":"Journal of Molecular Biology"},{"issue":"6","key":"10.7717\/peerj.20126\/ref-2","doi-asserted-by":"publisher","first-page":"890","DOI":"10.1093\/bib\/bbt052","article-title":"Alignment-free genetic sequence comparisons: a review of recent approaches by word analysis","volume":"15","author":"Bonham-carter","year":"2013","journal-title":"Briefings in Bioinformatics"},{"issue":"3","key":"10.7717\/peerj.20126\/ref-3","doi-asserted-by":"publisher","first-page":"e17293","DOI":"10.1371\/journal.pone.0017293","article-title":"A novel method of characterizing genetic sequences: genome space with biological distance and applications","volume":"6","author":"Deng","year":"2011","journal-title":"PLOS ONE"},{"key":"10.7717\/peerj.20126\/ref-4","first-page":"4171","article-title":"BERT: pre-training of deep bidirectional transformers for language understanding","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2\u20137, 2019, Volume 1 (Long and Short Papers)","author":"Devlin","year":"2019"},{"issue":"5","key":"10.7717\/peerj.20126\/ref-5","doi-asserted-by":"publisher","first-page":"1792","DOI":"10.1093\/nar\/gkh340","article-title":"MUSCLE: multiple sequence alignment with high accuracy and high throughput","volume":"32","author":"Edgar","year":"2004","journal-title":"Nucleic Acids Research"},{"issue":"1","key":"10.7717\/peerj.20126\/ref-6","doi-asserted-by":"publisher","first-page":"237","DOI":"10.1016\/0378-1119(88)90330-7","article-title":"CLUSTAL: a package for performing multiple sequence alignment on a microcomputer","volume":"73","author":"Higgins","year":"1988","journal-title":"Gene"},{"issue":"8","key":"10.7717\/peerj.20126\/ref-7","doi-asserted-by":"publisher","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Computation"},{"issue":"15","key":"10.7717\/peerj.20126\/ref-8","doi-asserted-by":"publisher","first-page":"2112","DOI":"10.1093\/bioinformatics\/btab083","article-title":"DNABERT: pre-trained bidirectional encoder representations from transformers model for DNA-language in genome","volume":"37","author":"Ji","year":"2021","journal-title":"Bioinformatics"},{"issue":"5","key":"10.7717\/peerj.20126\/ref-9","doi-asserted-by":"publisher","first-page":"559","DOI":"10.1016\/j.fmre.2021.08.010","article-title":"Determination of the nucleotide or amino acid composition of genome or protein sequences by using natural vector method and convex hull principle","volume":"1","author":"Jiao","year":"2021","journal-title":"Fundamental Research"},{"key":"10.7717\/peerj.20126\/ref-10","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1412.6980","article-title":"Adam: a method for stochastic optimization","author":"Kingma","year":"2014"},{"key":"10.7717\/peerj.20126\/ref-11","doi-asserted-by":"publisher","first-page":"87","DOI":"10.1186\/s12864-022-08490-z","article-title":"Context dependency of nucleotide probabilities and variants in human DNA","volume":"23","author":"Liang","year":"2022","journal-title":"BMC Genomics"},{"issue":"6637","key":"10.7717\/peerj.20126\/ref-12","doi-asserted-by":"publisher","first-page":"1123","DOI":"10.1126\/science.ade2574","article-title":"Evolutionary-scale prediction of atomic-level protein structure with a language model","volume":"379","author":"Lin","year":"2023","journal-title":"Science"},{"issue":"W1","key":"10.7717\/peerj.20126\/ref-13","doi-asserted-by":"publisher","first-page":"W554","DOI":"10.1093\/nar\/gkx351","article-title":"CAFE: accelerated alignment-free sequence analysis","volume":"45","author":"Lu","year":"2017","journal-title":"Nucleic Acids Research"},{"issue":"3","key":"10.7717\/peerj.20126\/ref-14","doi-asserted-by":"publisher","first-page":"443","DOI":"10.1016\/0022-2836(70)90057-4","article-title":"A general method applicable to the search for similarities in the amino acid sequence of two proteins","volume":"48","author":"Needleman","year":"1970","journal-title":"Journal of Molecular Biology"},{"issue":"15","key":"10.7717\/peerj.20126\/ref-15","doi-asserted-by":"publisher","first-page":"e2016239118","DOI":"10.1101\/622803","article-title":"Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences","volume":"118","author":"Rives","year":"2021","journal-title":"Proceedings of the National Academy of Sciences of the United States of America"},{"issue":"1","key":"10.7717\/peerj.20126\/ref-16","doi-asserted-by":"publisher","first-page":"195","DOI":"10.1016\/0022-2836(81)90087-5","article-title":"Identification of common molecular subsequences","volume":"147","author":"Smith","year":"1981","journal-title":"Journal of Molecular Biology"},{"issue":"4","key":"10.7717\/peerj.20126\/ref-17","doi-asserted-by":"publisher","first-page":"487","DOI":"10.1038\/sj.ejhg.5201988","article-title":"Imputing missing genotypic data of single-nucleotide polymorphisms using neural networks","volume":"16","author":"Sun","year":"2008","journal-title":"European Journal of Human Genetics"},{"key":"10.7717\/peerj.20126\/ref-18","doi-asserted-by":"publisher","first-page":"4226","DOI":"10.1016\/j.csbj.2021.07.028","article-title":"Geometric construction of viral genome space and its applications","volume":"19","author":"Sun","year":"2021","journal-title":"Computational and Structural Biotechnology Journal"},{"issue":"2","key":"10.7717\/peerj.20126\/ref-19","doi-asserted-by":"publisher","first-page":"34","DOI":"10.1016\/j.jtbi.2018.07.035","article-title":"Convex hull analysis of evolutionary and phylogenetic relationships between biological groups","volume":"456","author":"Tian","year":"2018","journal-title":"Journal of Theoretical Biology"},{"issue":"1","key":"10.7717\/peerj.20126\/ref-20","doi-asserted-by":"publisher","first-page":"25","DOI":"10.1016\/j.gene.2014.05.043","article-title":"K-mer natural vector and its application to the phylogenetic analysis of genetic sequences","volume":"546","author":"Wen","year":"2014","journal-title":"Gene"},{"key":"10.7717\/peerj.20126\/ref-21","volume-title":"Mathematical principles in bioinformatics","author":"Yau","year":"2024"},{"issue":"8","key":"10.7717\/peerj.20126\/ref-22","doi-asserted-by":"publisher","first-page":"100937","DOI":"10.1016\/j.xinn.2025.100937","article-title":"The grand biological universe: a comprehensive geometric construction of genome space","volume":"6","author":"Yu","year":"2025","journal-title":"The Innovation"},{"key":"10.7717\/peerj.20126\/ref-23","doi-asserted-by":"publisher","first-page":"1364951","DOI":"10.3389\/fgene.2024.1364951","article-title":"Automated recognition of chromosome fusion using an alignment-free natural vector method","volume":"15","author":"Yu","year":"2024a","journal-title":"Frontiers in Genetics"},{"key":"10.7717\/peerj.20126\/ref-24","doi-asserted-by":"publisher","first-page":"2083","DOI":"10.1016\/j.csbj.2024.05.005","article-title":"The optimal metric for viral genome space","volume":"23","author":"Yu","year":"2024b","journal-title":"Computational and Structural Biotechnology Journal"},{"issue":"3","key":"10.7717\/peerj.20126\/ref-25","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1109\/tcbb.2020.3040706","article-title":"New genome sequence detection via natural vector convex hull method","volume":"19","author":"Zhao","year":"2020","journal-title":"IEEE\/ACM Transactions on Computational Biology and Bioinformatics"},{"issue":"6","key":"10.7717\/peerj.20126\/ref-26","doi-asserted-by":"publisher","first-page":"1777","DOI":"10.1016\/j.ygeno.2018.11.033","article-title":"Convex hull principle for classification and phylogeny of eukaryotic proteins","volume":"111","author":"Zhao","year":"2019","journal-title":"Genomics"},{"key":"10.7717\/peerj.20126\/ref-27","doi-asserted-by":"publisher","first-page":"186","DOI":"10.1186\/s13059-017-1319-7","article-title":"Alignment-free sequence comparison: benefits, applications, and tools","volume":"18","author":"Zielezinski","year":"2017","journal-title":"Genome Biology"}],"container-title":["PeerJ"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/peerj.com\/articles\/20126.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/20126.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/20126.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/20126.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,3]],"date-time":"2025-10-03T08:33:08Z","timestamp":1759480388000},"score":1,"resource":{"primary":{"URL":"https:\/\/peerj.com\/articles\/20126"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,3]]},"references-count":27,"alternative-id":["10.7717\/peerj.20126"],"URL":"https:\/\/doi.org\/10.7717\/peerj.20126","archive":["CLOCKSS","LOCKSS","Portico"],"relation":{},"ISSN":["2167-8359"],"issn-type":[{"value":"2167-8359","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,3]]},"article-number":"e20126"}}