Skip to main content

Module codon

Module codon 

Source
Expand description

Codon translation, genetic codes, codon usage analysis, and CAI.

Supports 7 NCBI genetic code tables (1, 2, 3, 4, 5, 6, 11) with full translation, start/stop codon queries, codon usage frequency tables, RSCU, CAI, and synonymous/non-synonymous site counting.

Structs§

CodonUsage
Codon usage frequency table.
GeneticCode
A genetic code translation table.

Enums§

GeneticCodeId
NCBI genetic code table identifier.
SubstitutionClass
Classification of a single-nucleotide substitution between two codons.

Functions§

classify_substitution
Classify the substitution between two codons that differ at exactly one position.
codon_adaptation_index
Compute the Codon Adaptation Index of a query sequence against a reference usage table.
count_syn_nonsyn_sites
Count the number of synonymous and non-synonymous sites in a coding sequence.
translate_codon
Translate a single codon using the standard genetic code (NCBI Table 1).
translate_sequence
Translate a nucleotide sequence using the standard genetic code.