Skip to main content

translate_sequence

Function translate_sequence 

Source
pub fn translate_sequence(seq: &[u8]) -> Vec<u8> 
Expand description

Translate a nucleotide sequence using the standard genetic code.

Stops at the first stop codon. Incomplete trailing codons are ignored.