From this wiki article:
In genetics, the Ka/Ks ratio (or ω, dN/dS), is the ratio of the number of Nonsynonymous substitutions per non-synonymous site (Ka) to the number of synonymous substitutions per synonymous site (Ks), which can be used as an indicator of selective pressure acting on a protein-coding gene.
Are there any modules/packages available in Python for doing Ka/Ks analysis? I wish to carry out whole gene Ka/Ks analysis and then maybe "codon level" Ka/Ks analysis (i.e. within gene via sliding window).