get_codon_table
creates a codon table based on the given id of genetic code in NCBI.
Arguments
- gcid
a string of genetic code id. run
show_codon_tables()
to see available codon tables.
Examples
# Standard genetic code
get_codon_table()
#> aa_code amino_acid codon subfam
#> <char> <char> <char> <char>
#> 1: F Phe TTT Phe_TT
#> 2: F Phe TTC Phe_TT
#> 3: L Leu TTA Leu_TT
#> 4: L Leu TTG Leu_TT
#> 5: S Ser TCT Ser_TC
#> 6: S Ser TCC Ser_TC
#> 7: S Ser TCA Ser_TC
#> 8: S Ser TCG Ser_TC
#> 9: Y Tyr TAT Tyr_TA
#> 10: Y Tyr TAC Tyr_TA
#> 11: * * TAA *_TA
#> 12: * * TAG *_TA
#> 13: C Cys TGT Cys_TG
#> 14: C Cys TGC Cys_TG
#> 15: * * TGA *_TG
#> 16: W Trp TGG Trp_TG
#> 17: L Leu CTT Leu_CT
#> 18: L Leu CTC Leu_CT
#> 19: L Leu CTA Leu_CT
#> 20: L Leu CTG Leu_CT
#> 21: P Pro CCT Pro_CC
#> 22: P Pro CCC Pro_CC
#> 23: P Pro CCA Pro_CC
#> 24: P Pro CCG Pro_CC
#> 25: H His CAT His_CA
#> 26: H His CAC His_CA
#> 27: Q Gln CAA Gln_CA
#> 28: Q Gln CAG Gln_CA
#> 29: R Arg CGT Arg_CG
#> 30: R Arg CGC Arg_CG
#> 31: R Arg CGA Arg_CG
#> 32: R Arg CGG Arg_CG
#> 33: I Ile ATT Ile_AT
#> 34: I Ile ATC Ile_AT
#> 35: I Ile ATA Ile_AT
#> 36: M Met ATG Met_AT
#> 37: T Thr ACT Thr_AC
#> 38: T Thr ACC Thr_AC
#> 39: T Thr ACA Thr_AC
#> 40: T Thr ACG Thr_AC
#> 41: N Asn AAT Asn_AA
#> 42: N Asn AAC Asn_AA
#> 43: K Lys AAA Lys_AA
#> 44: K Lys AAG Lys_AA
#> 45: S Ser AGT Ser_AG
#> 46: S Ser AGC Ser_AG
#> 47: R Arg AGA Arg_AG
#> 48: R Arg AGG Arg_AG
#> 49: V Val GTT Val_GT
#> 50: V Val GTC Val_GT
#> 51: V Val GTA Val_GT
#> 52: V Val GTG Val_GT
#> 53: A Ala GCT Ala_GC
#> 54: A Ala GCC Ala_GC
#> 55: A Ala GCA Ala_GC
#> 56: A Ala GCG Ala_GC
#> 57: D Asp GAT Asp_GA
#> 58: D Asp GAC Asp_GA
#> 59: E Glu GAA Glu_GA
#> 60: E Glu GAG Glu_GA
#> 61: G Gly GGT Gly_GG
#> 62: G Gly GGC Gly_GG
#> 63: G Gly GGA Gly_GG
#> 64: G Gly GGG Gly_GG
#> aa_code amino_acid codon subfam
# Vertebrate Mitochondrial genetic code
get_codon_table(gcid = '2')
#> aa_code amino_acid codon subfam
#> <char> <char> <char> <char>
#> 1: F Phe TTT Phe_TT
#> 2: F Phe TTC Phe_TT
#> 3: L Leu TTA Leu_TT
#> 4: L Leu TTG Leu_TT
#> 5: S Ser TCT Ser_TC
#> 6: S Ser TCC Ser_TC
#> 7: S Ser TCA Ser_TC
#> 8: S Ser TCG Ser_TC
#> 9: Y Tyr TAT Tyr_TA
#> 10: Y Tyr TAC Tyr_TA
#> 11: * * TAA *_TA
#> 12: * * TAG *_TA
#> 13: C Cys TGT Cys_TG
#> 14: C Cys TGC Cys_TG
#> 15: W Trp TGA Trp_TG
#> 16: W Trp TGG Trp_TG
#> 17: L Leu CTT Leu_CT
#> 18: L Leu CTC Leu_CT
#> 19: L Leu CTA Leu_CT
#> 20: L Leu CTG Leu_CT
#> 21: P Pro CCT Pro_CC
#> 22: P Pro CCC Pro_CC
#> 23: P Pro CCA Pro_CC
#> 24: P Pro CCG Pro_CC
#> 25: H His CAT His_CA
#> 26: H His CAC His_CA
#> 27: Q Gln CAA Gln_CA
#> 28: Q Gln CAG Gln_CA
#> 29: R Arg CGT Arg_CG
#> 30: R Arg CGC Arg_CG
#> 31: R Arg CGA Arg_CG
#> 32: R Arg CGG Arg_CG
#> 33: I Ile ATT Ile_AT
#> 34: I Ile ATC Ile_AT
#> 35: M Met ATA Met_AT
#> 36: M Met ATG Met_AT
#> 37: T Thr ACT Thr_AC
#> 38: T Thr ACC Thr_AC
#> 39: T Thr ACA Thr_AC
#> 40: T Thr ACG Thr_AC
#> 41: N Asn AAT Asn_AA
#> 42: N Asn AAC Asn_AA
#> 43: K Lys AAA Lys_AA
#> 44: K Lys AAG Lys_AA
#> 45: S Ser AGT Ser_AG
#> 46: S Ser AGC Ser_AG
#> 47: * * AGA *_AG
#> 48: * * AGG *_AG
#> 49: V Val GTT Val_GT
#> 50: V Val GTC Val_GT
#> 51: V Val GTA Val_GT
#> 52: V Val GTG Val_GT
#> 53: A Ala GCT Ala_GC
#> 54: A Ala GCC Ala_GC
#> 55: A Ala GCA Ala_GC
#> 56: A Ala GCG Ala_GC
#> 57: D Asp GAT Asp_GA
#> 58: D Asp GAC Asp_GA
#> 59: E Glu GAA Glu_GA
#> 60: E Glu GAG Glu_GA
#> 61: G Gly GGT Gly_GG
#> 62: G Gly GGC Gly_GG
#> 63: G Gly GGA Gly_GG
#> 64: G Gly GGG Gly_GG
#> aa_code amino_acid codon subfam