# Translate DNA sequences

Conversion to a `ProteinSequence` from a `DnaSequence` is shown in Translate a DnaSequence to protein.

# Translate all six frames

# Find out how many stops in a frame

# Translate a codon

or get the codons for a single amino acid

# Look up the amino acid corresponding to a single codon

# Get all the codons for one amino acid

# Get all the codons for a group of amino acids

# Converting the `CodonAlphabet` to codon series

# Obtaining the codons from a `DnaSequence` object

Use the method `get_in_motif_size`

# Translating a DNA sequence with a terminating stop codon

You can’t translate a sequence that contains a stop codon.

## By removing the trailing stop codon first

## By slicing the `DnaSequence` first