get_reading_frame: Get Reading frame of sequences

View source: R/filters.R

get_reading_frameR Documentation

Get Reading frame of sequences

Description

Get Reading frame of sequences

Usage

get_reading_frame(
  x,
  genetic.code = "SGC4",
  forward = TRUE,
  reverse = FALSE,
  resolve_draws = "majority"
)

Arguments

x

Sequences in DNAStringset or DNAbin format

genetic.code

A genetic code for the Amino acid translation. See all known codes at GENETIC_CODE_TABLE Default is the invertebrate mitochondrial code 'SGC4'

forward

whether the forward complement should be returned

reverse

Whether the reverse complemement should be returned

resolve_draws

How draws should be resolved when multiple possible frames produce sequences with no stop codons.


alexpiper/seqateurs documentation built on July 9, 2023, 7:21 a.m.