If you thought yesterday's post on the SETMAR gene made for tough reading, you should have tried writing it. I wound up starting it over twice, and still wasn't all that happy with it. I found myself thinking that it would have been much easier if i could assume that everyone knew what a Ka/Ks ratio was, or I could link to one. Why it didn't occur to me to write my own until after I posted the story, I may never know. It's especially ironic given that I taught it in a class last semester.
The Ka/Ks ratio is a way of measuring the rate of sequence change in a gene that tells us something about the selective evolutionary pressures that are acting on that gene. It tells us whether the sequence of the gene is under pressure to stay the same, change, or drift randomly. It takes advantage of the fact that not all mutations are equal. For example, the DNA sequence GTT codes for the amino acid Valine, but so does anything that starts with GT: GTA, GTG, and GTC. A mutation that changes either of the first two bases will cause the sequence to code for something else, while any change in the third base will still leave it coding for Valine.
The result is that many mutations do not cause any changes in a protein—these are called "synonymous mutations." Those mutations that do result in changes are called non-synonymous. Simply measuring the number of these changes, however, is not statistically informative, since a given gene will have a different number of places where changes can be synonymous or non-synonymous. To control for that, the number of sites where one type of change can take place is also calculated. In this example, the first two bases (GT) would be considered potential non-synonymous sites. The Ka value is simply the total number of non-synonymous changes divided by the number of potential non-synonymous sites, making it a measure of how often these potential changes happen. Ks is the same for synonymous sites.
