-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
73 lines (51 loc) · 1.97 KB
/
config.py
File metadata and controls
73 lines (51 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# config.py
# This dictionary represents the standard genetic codon table.
# Each codon (3-base RNA sequence) maps to an amino acid or a control signal (e.g., Start or Stop).
# It is used during the translation of mRNA to protein.
codon_table = {
# Phenylalanine
'UUU': 'Phenylalanine', 'UUC': 'Phenylalanine',
# Leucine
'UUA': 'Leucine', 'UUG': 'Leucine',
'CUU': 'Leucine', 'CUC': 'Leucine', 'CUA': 'Leucine', 'CUG': 'Leucine',
# Isoleucine
'AUU': 'Isoleucine', 'AUC': 'Isoleucine', 'AUA': 'Isoleucine',
# Methionine (Start codon)
'AUG': 'Methionine (Start)',
# Valine
'GUU': 'Valine', 'GUC': 'Valine', 'GUA': 'Valine', 'GUG': 'Valine',
# Serine
'UCU': 'Serine', 'UCC': 'Serine', 'UCA': 'Serine', 'UCG': 'Serine',
'AGU': 'Serine', 'AGC': 'Serine',
# Proline
'CCU': 'Proline', 'CCC': 'Proline', 'CCA': 'Proline', 'CCG': 'Proline',
# Threonine
'ACU': 'Threonine', 'ACC': 'Threonine', 'ACA': 'Threonine', 'ACG': 'Threonine',
# Alanine
'GCU': 'Alanine', 'GCC': 'Alanine', 'GCA': 'Alanine', 'GCG': 'Alanine',
# Tyrosine
'UAU': 'Tyrosine', 'UAC': 'Tyrosine',
# Histidine
'CAU': 'Histidine', 'CAC': 'Histidine',
# Glutamine
'CAA': 'Glutamine', 'CAG': 'Glutamine',
# Asparagine
'AAU': 'Asparagine', 'AAC': 'Asparagine',
# Lysine
'AAA': 'Lysine', 'AAG': 'Lysine',
# Aspartic acid
'GAU': 'Aspartic acid', 'GAC': 'Aspartic acid',
# Glutamic acid
'GAA': 'Glutamic acid', 'GAG': 'Glutamic acid',
# Cysteine
'UGU': 'Cysteine', 'UGC': 'Cysteine',
# Tryptophan
'UGG': 'Tryptophan',
# Arginine
'CGU': 'Arginine', 'CGC': 'Arginine', 'CGA': 'Arginine', 'CGG': 'Arginine',
'AGA': 'Arginine', 'AGG': 'Arginine',
# Glycine
'GGU': 'Glycine', 'GGC': 'Glycine', 'GGA': 'Glycine', 'GGG': 'Glycine',
# Stop codons
'UAA': 'Stop', 'UAG': 'Stop', 'UGA': 'Stop'
}