View full-text article in PMC Entropy (Basel). 2022 Jul 15;24(7):978. doi: 10.3390/e24070978 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1SpectralEnvelope (s, k) Input: DNA sequence s and frequency kOutput: Mapping M 1:Compute the set of binary indicator vectors of s 2:Compute Xk using (10) and (12) 3:Eigendecomposition of Xk*Xk←QΛQ−1 4:λk←max(diag(Λ)) 5:w← eigenvector of λk 6:return w