A Python Programming in Medicine. A techy doctor from the Great Kanagawa Prefecture has become famous for his new offering of medical service, a personalized treatment of his patients that utilizes...


A Python Programming in Medicine. A techy doctor from the Great Kanagawa Prefecture has become famous for his new offering of medical service, a personalized treatment of his patients that utilizes bioinformatics. By taking some samples of DNA from his patients, he uses state-of-the-art equipment to let computer collect and extract important information that can be found in the DNA sequence. Applying computational analysis on the data extracted would enable the doctor to determine more accurately his patients’ real health problems. In this scenario, you will serve as an intern in his laboratory who will be assigned an important task. You will be given a long DNA sequence, which is represented in a string of letters. Your task is to convert 3-letter codons into protein residues. The output would be the corresponding residues.




INPUT: DNA sequence



OUTPUT: Generated 3-letter codons and corresponding protein residues



An input sample of DNA sequence would look like this:


TGGTACTCTTTCTTCACAAGGGCGCCGTGTGTG



The 3-letter codons are simply every three letters in the sequence.



TGG TAC TCT TTC TTC ACA AGG GCG CCG TGT GT




Note: The sequence might not have a multiple of 3 bases. If that happens you must map the final 1- or 2-base term to asterisk, instead.



The corresponding protein residues based on generated 3-letter codons and equivalent mapping will be:



WYSFFTRAPC*





Mapping:<br>'TTC': 'F',<br>'TTT': 'F'.<br>'TCA': 'S', 'TCG': 'S',<br>

Extracted text: Mapping: 'TTC': 'F', 'TTT': 'F'. 'TCA': 'S', 'TCG': 'S', "TGG': 'W', "CCC': 'P', 'CCA': 'P', 'TTA': 'L', 'TTG': 'L', 'TCT': 'S', 'TCC': 'S', 'TGT': 'C', 'TGC': 'C', 'CTA': 'L', 'CTG': 'L', 'CCT': 'P', "CCG': 'P', 'CAT': 'H', 'CAC': 'H', 'CAA': 'Q', "CGA': 'R', 'CGG': 'R', 'ATT': 'I', 'ACC': 'T', 'ACA': 'T', "AAG': 'K', 'AGT': 'S' "TAT': 'Y', 'TAC': 'Y', "CTT': 'L', 'CTC': 'L', "CGC': 'R' "CAG': 'Q', 'CGT': 'R', 'ATC': 'I', 'ATA': 'I', 'ACG': 'T', 'AAT': 'N', 'AGC': 'S', 'AGA': 'R', "GTG': 'V', "GAC': 'D', 'GAA': 'E', "ACT': 'T', "AAA': 'K', "GTT': 'V', "ATG': 'M' "AAC': 'N' "GTA': 'V', 'GCC': 'A', 'GCA': 'A', 'GCG': 'A', 'GAT': 'D', "GGT': 'G', 'GGC': 'G', 'GGA': 'G', 'AGG': 'R' "GTC': 'V', "GCT': 'A', "GAG': 'E', "GGG': 'G'
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here