codon_table = { 'UUU': 'F', 'UUC': 'F', 'UUA': 'L', 'UUG': 'L', 'UCU': 'S', 'UCC': 'S', 'UCA': 'S', 'UCG': 'S', 'UAU': 'Y', 'UAC': 'Y', 'UAA': '', 'UAG': '', 'UGU': 'C', 'UGC': 'C', 'UGA': '*', 'UGG': 'W', 'CUU': 'L', 'CUC': 'L', 'CUA': 'L', 'CUG': 'L', 'CCU': 'P', 'CCC': 'P', 'CCA': 'P', 'CCG': 'P', 'CAU': 'H', 'CAC': 'H', 'CAA': 'Q', 'CAG': 'Q', 'CGU': 'R', 'CGC': 'R', 'CGA': 'R', 'CGG': 'R', 'AUU': 'I', 'AUC': 'I', 'AUA': 'I', 'AUG': 'M', 'ACU': 'T', 'ACC': 'T', 'ACA': 'T', 'ACG': 'T', 'AAU': 'N', 'AAC': 'N', 'AAA': 'K', 'AAG': 'K', 'AGU': 'S', 'AGC': 'S', 'AGA': 'R', 'AGG': 'R', 'GUU': 'V', 'GUC': 'V', 'GUA': 'V', 'GUG': 'V', 'GCU': 'A', 'GCC': 'A', 'GCA': 'A', 'GCG': 'A', 'GAU': 'D', 'GAC': 'D', 'GAA': 'E', 'GAG': 'E', 'GGU': 'G', 'GGC': 'G', 'GGA': 'G', 'GGG': 'G', }
Calculate the frequency of each amino-acid, and find the most frequent one.
A)
Two strains of bacteria are grown in a lab on a petri dish. Strain A doubles (X2) its population every day,while strain B triples it (X3). The experiment starts with a colony of 10,000 bacteria of type A and 100 of type B on the same petri dish. When the total population (of both strains together) exceeds 108 bacteria,growth is reduced to X1.5 for strain A and X1.8 for strain B. When it exceeds 1010, growth stops. What willbe the number of bacteria during each day of the experiment? How many days will it take until growthstops? What will be the proportion between the two strains at the end of the experiment?
In a second experiment, a bacteriophage is introduced into the dish. When the total population exceeds bacteria, it starts spreading and kills 40% of the cells every day (of both strains). Every day after the bacteriophage becomes active, 10% of type-A bacteria will develop immunity to the bacteriophage and retain normal growth rate. Strain B has a lower mutation rate, so only 1% of its cells will develop immunity every day. Run the simulation again and determine the fraction of the 4 populations at the end of the experiment (type A/B with/without immunity).
Find the reverse complement of the following DNA sequence and translate the output DNA sequence into protein sequence: CTACTGTAATTCAACACAACTGTTTAATAGTACTTGGTTTAATAGTACTTGGAGTACTGAAGGGTCAAATAACACTGAAGGAAGTGACACAATCACCCTCCCATGCAGAATAAAACAAATTATAAACATGTGGCAGAAAGTAGGAAAAGCAATGTATGCCCCTCCCATCAGTGGACAAATTAGATGTTCATCAAATATTACAGGGCTGCTATTAACAAGAGATGGTGGTAATAGCAACAATGAGTCCGAGATCTTCAGACCTGGAGGAGGAGATATGAGGGACAATTGGAGAAGTGAATTATATAAATATAAAGTAGTAAAAATTGAACCATTAGGAGTAGCACCCACCAAGGCAAAGAGAAGAGTGGTGCAGAGAGAAAAAAGAGCAGTGGGAATAGGAGCTTTGTTCCTTGGGTTCTTGGGAGCAGCAGGAAGCACTATGGGCGCAGCCTCAATGACGCTGACGGTACAGGCCAGACAATTATTGTCTGGTATAGTGCAGCAGCAGAACAATTTGCTGAGGGCTATTGAGGCGCAACAGCATCTGTTGCAACTCACAGTCTGGGGCAT
What is the frequency of each codon in the obtained sequence?
Does the distribution of codons seem uniform? Are there codons that appear dramatically more (or less) than expected (given their amino-acid frequency in that sequence)?