This is a simple package that only translates DNA or RNA sequences into Amino Acid codes. It does not support ambiguity codes. It will only work correctly for sequences that are from the nuclear genome of eukaryotes.
This package can be installed directly from GitHub using the following code. The r package 'devtools' is required to load this package from GitHub
install.packages("devtools") library("devtools") install_github('samstroupe/DNA2AA', build_vignettes = TRUE)
This code will generate the Amino Acid code from this sequence
# load in package library(DNA2AA) # Create a DNA sequence data <- "ATgctaAGCUTCgtactT" # Translate the sequence to Amino Acid Dna2AA(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.