No retraction, correction or concern found when last checked on Oct 17, 2026.
KaKs_Calculator 3.0: Calculating Selective Pressure on Coding and Non-Coding Sequences
Zhang Zhang
Genomics, Proteomics & Bioinformatics · 2022 · CC BY
Abstract
KaKs_Calculator 3.0 is an updated toolkit that is capable of calculating selective pressure on both coding and non-coding sequences. Similar to the nonsynonymous/synonymous substitution rate ratio for coding sequences, selection on non-coding sequences can be quantified as the ratio of non-coding nucleotide substitution rate to synonymous substitution rate of adjacent coding sequences. As testified on empirical data, KaKs_Calculator 3.0 shows effectiveness to detect the strength and mode of selection operated on molecular sequences, accordingly demonstrating its great potential to achieve genome-wide scan of natural selection on diverse sequences and identification of potentially functional elements at a whole-genome scale. The package of KaKs_Calculator 3.0 is freely available for academic use only at https://ngdc.cncb.ac.cn/biocode/tools/BT000001.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 17, 2026. Paragraph numbers are ours, so an answer can point at one.
Introduction
Detecting natural selection on molecular sequences is of fundamental significance in molecular evolution, comparative genomics, and phylogenetic reconstruction, which can provide profound insights for revealing evolutionary processes of molecular sequences and unveiling complex molecular mechanisms of genome evolution. In principle, estimating selection on DNA sequences requires a reference set of substitutions that is free from selection. As synonymous substitutions do not provoke amino acid changes due to the degeneracy of the genetic code, they are expected to be invisible to selection and thus widely used as a reference that reflects the neutral rate of evolution. Consequently, the ratio of nonsynonymous substitution rate (Ka or dN) to synonymous substitution rate (Ks or dS), namely, ω = Ka/Ks (or dN/dS), is widely adopted to differentiate neutral mutation (ω ≈ 1) from negative (purifying) selection (ω < 1) and positive (adaptive) selection (ω > 1), accordingly providing a powerful tool for illuminating molecular evolution of coding sequences (see a popular package in ).
Nowadays, a growing body of evidence has shown that non-coding sequences, historically thought as “junk” due to few knowledge on their function relative to coding sequences, are recognized as functional elements to play important regulation roles in multiple biological processes and associate closely with various human diseases,,. Albeit less conserved by comparison with coding sequences, a larger number of non-coding sequences have been identified highly conserved across mammalian genomes,,. Importantly, more non-coding sequences are subject to positive selection and negative selection than previously believed, and particularly, long non-coding RNA (lncRNA) sequences do experience natural selection. As a result, several computational methods have been proposed for the detection of selection acting on non-coding sequences, which primarily differ in how to choose a reference of unconstrained evolution, such as, synonymous substitutions of neighboring coding gene, intron sequences,, and ancestral repeats. However, there lacks of an implemented algorithm to detect the strength and mode of selective pressure on non-coding sequences, particularly considering an increasing number of non-coding studies conducted worldwide. More importantly, an integrated toolkit that is capable of detecting selection on both coding and non-coding sequences is highly desirable, which would help users achieve genome-wide scan of natural selection on diverse sequences.
Toward this end, here we present KaKs_Calculator 3.0, an updated toolkit for calculating selective pressure on both coding and non-coding sequences. Compared with previous versions, that focus solely on coding sequences, we implement an algorithm in KaKs_Calculator 3.0 that employs synonymous sites of adjacent coding sequences as a reference to estimate selective pressure acting on non-coding sequences. We test it on empirical data and demonstrate its utility in diagnosing the strength and form of molecular evolution.
Algorithm
The major update of KaKs_Calculator 3.0 is to incorporate an algorithm that is capable of estimating selective pressure on non-coding sequences. Specifically, it uses synonymous substitutions as a reference baseline (similar to ), which, albeit thought to be under weak selection,,, has been widely adopted for determining the strength and type of selection operated on coding sequences,,,,,,,. Similar to the Ka/Ks ratio for coding sequences, selective pressure on non-coding sequences (ξ) can be quantified as the ratio of non-coding nucleotide substitution rate (Kn) to neutral substitution rate (assumed as Ks), viz. ξ = Kn/Ks, where Ks is inferred from adjacent coding sequences. As the number of observed substitutions is less than the number of real substitutions, we adopt a nucleotide substitution model (e.g., JC/K2P/HKY) to correct multiple substitutions of non-coding sequences. Taking the HKY model as an example, therefore, Kn can be deduced from the observed transitional and transversional substitutions (S and V, respectively) as well as four nucleotide frequencies (πA, πT, πG, and πC), according to Equation (1) (see Equations 1.27 and 1.28 in ).where,, πR = πA + πG, and πY = πT + πC. To detect and quantify selection on non-coding sequences, KaKs_Calculator 3.0 provides users with two ways to obtain the value of neutral mutation rate or Ks, which is either calculated from adjacent coding sequences uploaded by users or just specified in a straightforward manner by users (Figure 1). As a consequence, KaKs_Calculator 3.0 is capable of detecting selection on both coding and non-coding sequences.
KaKs_Calculator 3.0 is implemented in standard C++ language, enabling higher efficiency and easy compilation on different operation systems (Linux/Windows/Mac). In addition to the new functionality for estimating selection on non-coding sequences as mentioned above, it is also updated by fixing bugs and errors. The package of KaKs_Calculator 3.0, including compiled executables, a Windows application with graphical user interface (GUI), source codes, and example data, accompanying with detailed instructions and documentation, is freely available for academic use only at BioCode (https://ngdc.cncb.ac.cn/biocode/tools/BT000001), an open-source platform for archiving bioinformatics tools in the National Genomics Data Center (NGDC), China National Center for Bioinformation.
Application on empirical data
To test KaKs_Calculator 3.0, we choose three empirical lncRNA genes that are extensively studied according to LncRNAWiki and collect their human–mouse orthologs as well as their adjacent coding orthologs from NGDC LncBook and National Center of Biotechnology Information (NCBI) RefSeq. Specifically, these non-coding and coding gene symbols with accession numbers are: 1) H19 (NR_002196.2 vs. NR_130973.1) and MRPL23 (NM_021134.4 vs. NM_011288.2); 2) Metastasis-associated lung adenocarcinoma transcript 1 (MALAT1; NR_002819.4 vs. NR_002847.3) and SCYL1 (NM_020680.4 vs. NM_001361921.1); and 3) Hox transcript antisense intergenic RNA (HOTAIR; NR_003716.3 vs. NR_047528.1) and HOXC12 (NM_173860.3 vs. NM_010463.2). Based on these orthologous genes, we obtain their corresponding aligned sequences by MAFFT (using parameters: --maxiterate 1000 --localpair).
According to the ratio (ξ) of non-coding nucleotide substitution rate to adjacent synonymous substitution rate, we reveal that, although the coding genes undergo strong purifying selection (ω < 1), these three non-coding genes present diverse selective pressure (Table 1). Strikingly, HOTAIR exhibits positive selection (ξ > 1), whereas the rest two genes experience negative selection (ξ < 1). HOTAIR is a ∼ 2.3-kb intergenic RNA transcribed from the antisense strand of the HOXC gene cluster. The result of positive selection detected on HOTAIR relative to HOXC12 is consistent well with previous findings that HOTAIR evolves faster than the neighboring genes. On the contrary, MALAT1, a ∼ 8.7-kb non-coding RNA flanked by the highly conserved kinase-like gene SCYL1, is ubiquitously expressed in almost all human tissues, evolutionarily conserved across mammalian species, and associated with various cancers. Thus, ξ = 0.464 indicates strong selective constraint on MALAT1, in accordance with its physiologic and pathophysiological function and conserved RNA structure as documented by previous studies. Likewise, H19, a ∼ 2.3-kb imprinted maternally expressed transcript located near MRPL23, is known for close association with Beckwith-Wiedemann Syndrome and also involved in tumorigenesis. Our result shows that H19 presents stronger selection constraint as indicated by ξ = 0.296, conforming well with its conserved sequence and structure. It is worth noting that one non-coding sequence may have multiple adjacent coding genes, which are specified by users and thus can lead to different estimates of Ks and ξ. Taken together, KaKs_Calculator 3.0 is effective in estimating natural selection on non-coding sequences, which has the potential to reveal evolutionarily selective pressures operated on diverse molecular sequences.
In addition, to test the running performance of KaKs_Calculator, we collect an empirical large dataset that contains 15,424 human–mouse orthologous genes retrieved from RefSeq and obtain their codon-based alignments by ParaAT — a parallel tool for constructing multiple protein-coding DNA alignments. KaKs_Calculator 3.0 includes ten computational methods for detecting selection on coding sequences, which fall into approximate methods and maximum-likelihood methods. We choose three approximate methods, NG, YN, and MYN, and one maximum-likelihood method, GY, and test on a 64 bit x86 Intel Core i7 machine containing 4 CPU cores with each 3.40 GHz and running Windows 10. For this large-scale data analysis, we find that NG, YN, and MYN all take ∼ 2 min and GY takes ∼ 11 h, clearly showing that approximate methods are more time-efficient than maximum-likelihood ones. Considering that different users may have different preferences, it should be noted, however, that maximum-likelihood methods are believed to achieve higher accuracy and that different methods adopt different models and strategies and thus can lead to different estimates (see an example in where contradictory findings are produced by different methods).
Discussion
KaKs_Calculator 3.0 is significantly updated by achieving the detection of natural selection on non-coding sequences as well as coding sequences. As testified on empirical data, it is of great utility in calculating natural selection on molecular sequences, thus identifying potentially functional elements at a genome-wide scale. Future developments include the detection of selective pressure on small peptides (less than 300 nucleotides) that are encoded by small open reading frames within non-coding sequences,, as well as the implementation of codon-based alignment procedure to help users generate input sequences in an easy-to-use manner.
Code availability
KaKs_Calculator 3.0 is freely available for academic use only at https://ngdc.cncb.ac.cn/biocode/tools/BT000001.
CRediT authorstatement
Zhang Zhang: Conceptualization, Methodology, Software, Writing - original draft, Writing - review & editing, Funding acquisition, Supervision. The author has read and approved the final manuscript.
Competing interests
The author has declared no competing interests.
References 49
- 1.
Li W.H. 1997.
Not in our library
- 2.
Hurst L.D. The Ka/Ks ratio: diagnosing the form of sequence evolution. Trends Genet. 2002;18:486-487.
Not in our library10.1016/s0168-9525(02)02722-1
- 3.
Yang Z. PAML 4: phylogenetic analysis by maximum likelihood. Mol Biol Evol. 2007;24:1586-1591.
Not in our library10.1093/molbev/msm088
- 4.
Dunham I., Kundaje A., Aldred S.F., Collins P.J., Davis C.A., Doyle F., et al. An integrated encyclopedia of DNA elements in the human genome. Nature. 2012;489:57-74.
Not in our library10.1038/nature11247
- 5.
Luo H., Bu D., Shao L., Li Y., Sun L., Wang C., et al. Single-cell long non-coding RNA landscape of T cells in human cancer immunity. Genomics Proteomics Bioinformatics. 2021;19:377-393.
Not in our library10.1016/j.gpb.2021.02.006
- 6.
Anastasiadou E., Jacob L.S., Slack F.J. Non-coding RNA networks in cancer. Nat Rev Cancer. 2018;18:5-18.
Not in our library10.1038/nrc.2017.99
- 7.
Liu L., Li Z., Liu C., Zou D., Li Q., Feng C., et al. LncRNAWiki 2.0: a knowledgebase of human long non-coding RNAs with enhanced curation model and database system. Nucleic Acids Res. 2022;50:D190-D195.
Not in our library10.1093/nar/gkab998
- 8.
Bejerano G., Pheasant M., Makunin I., Stephen S., Kent W.J., Mattick J.S., et al. Ultraconserved elements in the human genome. Science. 2004;304:1321-1325.
Not in our library10.1126/science.1098119
- 9.
Habic A., Mattick J.S., Calin G.A., Krese R., Konc J., Kunej T. Genetic variations of ultraconserved elements in the human genome. OMICS. 2019;23:549-559.
Not in our library10.1089/omi.2019.0156
- 10.
Guttman M., Amit I., Garber M., French C., Lin M.F., Feldser D., et al. Chromatin signature reveals over a thousand highly conserved large non-coding RNAs in mammals. Nature. 2009;458:223-227.
Not in our library10.1038/nature07672
- 11.
Diederichs S. The four dimensions of noncoding RNA conservation. Trends Genet. 2014;30:121-123.
Not in our library10.1016/j.tig.2014.01.004
- 12.
Zhen Y., Andolfatto P. Methods to detect selection on noncoding DNA. Methods Mol Biol. 2012;856:141-159.
Not in our library10.1007/978-1-61779-585-5_6
- 13.
Wong W.S.W., Nielsen R. Detecting selection in noncoding regions of nucleotide sequences. Genetics. 2004;167:949-958.
Not in our library10.1534/genetics.102.010959
- 14.
Parsch J., Novozhilov S., Saminadin-Peter S.S., Wong K.M., Andolfatto P. On the utility of short intron sequences as a reference for the detection of positive and negative selection in Drosophila. Mol Biol Evol. 2010;27:1226-1234.
Not in our library10.1093/molbev/msq046
- 15.
Hoffman M.M., Birney E. Estimating the neutral rate of nucleotide substitution using introns. Mol Biol Evol. 2007;24:522-531.
Not in our library10.1093/molbev/msl179
- 16.
Bush E.C., Lahn B.T. A genome-wide screen for noncoding elements important in primate evolution. BMC Evol Biol. 2008;8:17.
Not in our library10.1186/1471-2148-8-17
- 17.
Zhang Z., Li J., Zhao X.Q., Wang J., Wong G.S., Yu J. KaKs_Calculator: calculating Ka and Ks through model selection and model averaging. Genomics Proteomics Bioinformatics. 2006;4:259-263.
Not in our library10.1016/s1672-0229(07)60007-2
- 18.
Wang D., Zhang Y., Zhang Z., Zhu J., Yu J. KaKs_Calculator 2.0: a toolkit incorporating gamma-series methods and sliding window strategies. Genomics Proteomics Bioinformatics. 2010;8:77-80.
Not in our library10.1016/s1672-0229(10)60008-3
- 19.
Shabalina S.A., Spiridonov N.A., Kashina A. Sounds of silence: synonymous nucleotides as a key to biological regulation and complexity. Nucleic Acids Res. 2013;41:2073-2094.
Not in our library10.1093/nar/gks1205
- 20.
Hershberg R., Petrov D.A. Selection on codon bias. Annu Rev Genet. 2008;42:287-299.
Not in our library10.1146/annurev.genet.42.110807.091442
- 21.
Plotkin J.B., Kudla G. Synonymous but not the same: the causes and consequences of codon bias. Nat Rev Genet. 2011;12:32-42.
Not in our library10.1038/nrg2899
- 22.
Li W.H., Wu C.I., Luo C.C. A new method for estimating synonymous and nonsynonymous rates of nucleotide substitution considering the relative likelihood of nucleotide and codon changes. Mol Biol Evol. 1985;2:150-174.
Not in our library10.1093/oxfordjournals.molbev.a040343
- 23.
Nei M., Gojobori T. Simple methods for estimating the numbers of synonymous and nonsynonymous nucleotide substitutions. Mol Biol Evol. 1986;3:418-426.
Not in our library10.1093/oxfordjournals.molbev.a040410
- 24.
Li W.H. Unbiased estimation of the rates of synonymous and nonsynonymous substitution. J Mol Evol. 1993;36:96-99.
Not in our library10.1007/bf02407308
- 25.
Goldman N., Yang Z. A codon-based model of nucleotide substitution for protein-coding DNA sequences. Mol Biol Evol. 1994;11:725-736.
Not in our library10.1093/oxfordjournals.molbev.a040153
- 26.
Yang Z., Nielsen R. Estimating synonymous and nonsynonymous substitution rates under realistic evolutionary models. Mol Biol Evol. 2000;17:32-43.
Not in our library10.1093/oxfordjournals.molbev.a026236
- 27.
Zhang Z., Li J., Yu J. Computing Ka and Ks with a consideration of unequal transitional substitutions. BMC Evol Biol. 2006;6:44.
Not in our library10.1186/1471-2148-6-44
- 28.
Tzeng Y.H., Pan R., Li W.H. Comparison of three methods for estimating rates of synonymous and nonsynonymous nucleotide substitutions. Mol Biol Evol. 2004;21:2290-2298.
Not in our library10.1093/molbev/msh242
- 29.
Pamilo P., Bianchi N.O. Evolution of the Zfx and Zfy genes: rates and interdependence between the genes. Mol Biol Evol. 1993;10:271-281.
Not in our library10.1093/oxfordjournals.molbev.a040003
- 30.
Hasegawa M., Kishino H., Yano T.A. Dating of the human-ape splitting by a molecular clock of mitochondrial DNA. J Mol Evol. 1985;22:160-174.
Not in our library10.1007/bf02101694
- 31.
Yang Z.H. 2006.
Not in our library
- 32.
CNCB-NGDC Members and Partners. Database resources of the National Genomics Data Center, China National Center for Bioinformation in 2022. Nucleic Acids Res. 2022;50:D27-D38.
Not in our library10.1093/nar/gkab951
- 33.
- 34.
Li W., O’Neill K.R., Haft D.H., DiCuccio M., Chetvernin V., Badretdin A., et al. RefSeq: expanding the Prokaryotic Genome Annotation Pipeline reach with protein family model curation. Nucleic Acids Res. 2021;49:D1020-D1028.
Not in our library10.1093/nar/gkaa1105
- 35.
Katoh K., Standley D.M. MAFFT multiple sequence alignment software version 7: improvements in performance and usability. Mol Biol Evol. 2013;30:772-780.
Not in our library10.1093/molbev/mst010
- 36.
Tang Q., Hann S. HOTAIR: an oncogenic long non-coding RNA in human cancer. Cell Physiol Biochem. 2018;47:893-913.
Not in our library10.1159/000490131
- 37.
- 38.
Gutschner T., Hämmerle M., Diederichs S. MALAT1 – a paradigm for long noncoding RNA function in cancer. J Mol Med (Berl). 2013;91:791-801.
Not in our library10.1007/s00109-013-1028-y
- 39.
Meseure D., Vacher S., Lallemand F., Alsibai K.D., Hatem R., Chemlali W., et al. Prognostic value of a newly identified MALAT1 alternatively spliced transcript in breast cancer. Br J Cancer. 2016;114:1395-1404.
Not in our library10.1038/bjc.2016.123
- 40.
Zhang X., Hamblin M.H., Yin K.J. The long noncoding RNA Malat1: its physiological and pathophysiological functions. RNA Biol. 2017;14:1705-1714.
Not in our library10.1080/15476286.2017.1358347
Cited by papers we hold 1
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.