Skip to main content

translate_range

Function translate_range 

Source
pub fn translate_range(
    sequence: &DnaSeq,
    topology: Topology,
    start: usize,
    end: usize,
    strand: CodingStrand,
    frame: usize,
    table: u32,
) -> Result<Translation, TranslationError>
Expand description

Translate the forward-coordinate range [start, end) (on circular molecules end < start wraps through the origin) on either strand, skipping frame (0–2) bases from the 5′ end of the coding strand.