An easy package for translating DNA and RNA sequences to amino acids. It does not support ambuiguity codes. It only works with sequences that are from the nuclear genome of eukaryotes.

Installation

The R package can be installed directly from GitHub using the following codes. The devtools installation step can be skipped if you already have it installed

install.packages("devtools")
library(devtools)
install_github('cdanmaigona/Genseq', build_vignettes = T)

Example code

#create a DNA sequence
library(GenSeq)
data <- "ATGtacacagctaaaGAacggauuuctacacatGAAGgtagagaggccacagagagcacguag"

# translate the DNA sequence to IUPAC amino acid
Genseq(data)


cdanmaigona/GenSeq documentation built on Nov. 12, 2019, 12:03 a.m.