synsequence: Random synonymous coding sequence generation

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/synonymous.R

Description

Generates a random synonymous coding sequence, according to a certain codon usage bias

Usage

1

Arguments

sequence

A nucleic acids sequence

numcode

The genetic code number as in translate

ucoweight

A list of weights containing the desired codon usage bias as generated by ucoweight

Value

a sequence translating to the same protein sequence as the original one (cf. translate), but containing synonymous codons

Author(s)

L. Palmeira

References

citation("seqinr")

See Also

ucoweight

Examples

1
2
3

Example output

  [1] "a" "t" "g" "c" "c" "g" "a" "g" "t" "c" "t" "c" "a" "g" "t" "a" "a" "a"
 [19] "g" "a" "a" "g" "c" "g" "g" "c" "t" "c" "t" "g" "g" "t" "c" "c" "a" "t"
 [37] "g" "a" "a" "g" "c" "c" "c" "t" "g" "g" "t" "g" "g" "c" "g" "c" "g" "c"
 [55] "g" "g" "t" "c" "t" "g" "g" "a" "a" "a" "c" "g" "c" "c" "g" "t" "t" "g"
 [73] "c" "g" "a" "c" "c" "g" "c" "c" "g" "g" "t" "c" "c" "a" "t" "g" "a" "a"
 [91] "a" "t" "g" "g" "a" "t" "a" "a" "t" "g" "a" "a" "a" "c" "g" "c" "c" "g"
[109] "a" "a" "a" "t" "c" "c" "c" "t" "g" "a" "t" "c" "g" "c" "t" "g" "g" "t"
[127] "c" "a" "c" "a" "t" "g" "a" "c" "c" "g" "a" "a" "a" "t" "c" "a" "t" "g"
[145] "c" "a" "g" "c" "t" "g" "c" "t" "t" "a" "a" "c" "t" "t" "g" "g" "a" "c"
[163] "c" "t" "g" "g" "c" "g" "g" "a" "t" "g" "a" "t" "t" "c" "c" "c" "t" "c"
[181] "a" "t" "g" "g" "a" "a" "a" "c" "g" "c" "g" "c" "c" "a" "t" "c" "g" "c"
[199] "a" "t" "c" "g" "c" "a" "a" "a" "a" "a" "t" "g" "t" "a" "c" "g" "t" "g"
[217] "g" "a" "t" "g" "a" "a" "a" "t" "c" "t" "t" "t" "t" "c" "a" "g" "g" "c"
[235] "c" "t" "c" "g" "a" "t" "t" "a" "c" "g" "c" "a" "a" "a" "c" "t" "t" "t"
[253] "c" "c" "g" "a" "a" "a" "a" "t" "c" "a" "c" "a" "c" "t" "g" "a" "t" "t"
[271] "g" "a" "a" "a" "a" "c" "a" "a" "a" "a" "t" "g" "a" "a" "a" "g" "t" "g"
[289] "g" "a" "c" "g" "a" "g" "a" "t" "g" "g" "t" "c" "a" "c" "c" "g" "t" "c"
[307] "c" "g" "a" "g" "a" "t" "a" "t" "t" "a" "c" "g" "c" "t" "g" "a" "c" "c"
[325] "t" "c" "c" "a" "c" "g" "t" "g" "t" "g" "a" "a" "c" "a" "c" "c" "a" "t"
[343] "t" "t" "t" "g" "t" "t" "a" "c" "g" "a" "t" "c" "g" "a" "t" "g" "g" "t"
[361] "a" "a" "a" "g" "c" "t" "a" "c" "c" "g" "t" "c" "g" "c" "a" "t" "a" "c"
[379] "a" "t" "c" "c" "c" "g" "a" "a" "a" "g" "a" "t" "t" "c" "c" "g" "t" "c"
[397] "a" "t" "t" "g" "g" "t" "c" "t" "g" "t" "c" "c" "a" "a" "a" "a" "t" "c"
[415] "a" "a" "t" "c" "g" "c" "a" "t" "c" "g" "t" "c" "c" "a" "a" "t" "t" "t"
[433] "t" "t" "c" "g" "c" "t" "c" "a" "g" "c" "g" "t" "c" "c" "c" "c" "a" "g"
[451] "g" "t" "c" "c" "a" "a" "g" "a" "a" "c" "g" "t" "c" "t" "g" "a" "c" "g"
[469] "c" "a" "g" "c" "a" "a" "a" "t" "c" "c" "t" "g" "g" "t" "g" "g" "c" "c"
[487] "g" "c" "t" "c" "t" "g" "c" "a" "g" "a" "c" "g" "c" "t" "t" "t" "t" "a"
[505] "g" "g" "a" "a" "c" "g" "a" "a" "c" "a" "a" "t" "g" "t" "g" "g" "c" "c"
[523] "g" "t" "g" "a" "g" "t" "a" "t" "t" "g" "a" "t" "g" "c" "c" "g" "t" "t"
[541] "c" "a" "t" "t" "a" "t" "t" "g" "c" "g" "t" "g" "a" "a" "a" "g" "c" "g"
[559] "c" "g" "t" "g" "g" "t" "a" "t" "c" "c" "g" "t" "g" "a" "t" "g" "c" "c"
[577] "a" "c" "g" "t" "c" "g" "g" "c" "c" "a" "c" "c" "a" "c" "c" "a" "c" "c"
[595] "t" "c" "a" "a" "g" "c" "t" "t" "g" "g" "g" "t" "g" "g" "t" "c" "t" "t"
[613] "t" "t" "t" "a" "a" "a" "t" "c" "t" "a" "g" "t" "c" "a" "g" "a" "a" "c"
[631] "a" "c" "t" "c" "g" "c" "c" "a" "t" "g" "a" "a" "t" "t" "c" "c" "t" "a"
[649] "c" "g" "t" "g" "c" "c" "g" "t" "g" "c" "g" "a" "c" "a" "t" "c" "a" "c"
[667] "a" "a" "t" "t" "g" "a"

seqinr documentation built on Aug. 1, 2017, 5:01 p.m.