AAtoCodonOptimizedDNA: Convert Amino Acid sequence to Codon Optimized DNA

Description Usage Arguments Details Value Note Author(s) See Also

Description

Do the reverse translation from amino acids back to DNA nucleotides, using a reference DNA sequence as a source of codon usage frequency.

Usage

1

Arguments

aa

A character string of valid amino acids.

dnaRef

A character string of DNA, in frame, usually large, that represents the typical codon usage frequency.

Details

Since the mapping from AA to DNA is not unique, the user provides a chunk of DNA reference, that will be converted to AA and used to model the frequency distribution for randomly selecting DNA codons from each amino acid.

Value

a character string, of length nchar(aa) * 3, of DNA that is a valid reverse translation of the given amino acid string.

Note

Passes the frequency distribution of codons found in dnaRef to sample, to randomly select codons with a usage frequency similar to the given reference DNA.

Author(s)

Bob Morrison

See Also

See Also DNAtoAA, getCodonMap


robertdouglasmorrison/DuffyTools documentation built on Dec. 7, 2018, 8:02 a.m.