ORF Operations

ORF operations target open reading frames within sequences, enabling codon-level manipulations and translations while respecting reading frame boundaries. These operations require that the target region be annotated with annotate_orf or insert_tags so that the reading frame is known.

import poolparty as pp
pp.init()

mutagenize_orf

Introduce codon-level missense mutations within a coding sequence.

translate

Translate a DNA pool to a protein pool.

annotate_orf

Tag an ORF region within a longer sequence.

stylize_orf

Apply alternating codon colours to visualize reading frames.

reverse_translate

Back-translate a protein pool to DNA using a codon table.