Question
LearningObjectives Working with strings in Python Basic functions in Python Working with GenBank Understanding nucleotide composition in DNA Strings in GenBank Access GenBank http://www.ncbi.nlm.nih.gov/genbank/.Find a
LearningObjectives
Working with strings in Python
Basic functions in Python
Working with GenBank
Understanding nucleotide composition in DNA
Strings in GenBank
Access GenBank http://www.ncbi.nlm.nih.gov/genbank/.Find a nucleotide sequence for the rpoA gene from an organism of your choice (e.g., plant, animal, bacteria, archaea). To do this, you can search for "rpoA" in the search bar at the top of the page. Make sure it says "Nucleotide" in the pull-down menu to the left of the search bar. You can navigate to different organisms on the left-and right-hand sides of the page.You can also just search for "rpoA+chicken", as an example.Undereach result,you should see "GenBankFASTAGraphics"; look at the GenBank record for information and the FASTA format to copy the DNA sequence. 1. Write a short paragraph explaining what this gene product (i.e, RNA polymerase) is/does. Be sure to note your genes accession ID. Hint: look in the right panel on GenBank, or use the web. (You can write your answer in the same le as your Python code by commenting out the text.) 2. Write a function that takes one input parameter, where the input is expected to be a string containing a DNA sequence, and call that function on the DNA sequence of the gene you found in part I. Your function should analyze the DNA input into it, and print out the following information:
(a) Print the total number of DNA base pairs in the input DNA in the form of "The total length of the gene is [insert length here]" where the italicized part is replaced by the actual length.
(b) Find the number of As, Gs, Cs and Ts in this sequence and print the result with each base on its on line:
"There are [insert number] As"
"There are [insert number] Ts"
"There are [insert number] Gs"
"There are [insert number] Cs"
(c) Calculate the percentage of each base in your DNA string and print the output to 1 decimal:
"%A = [insert percentage]"
"%T = [insert percentage]"
"%G = [insert percentage]"
"%C = [insert percentage]"
(d) Given that three nucleotides encodes one amino acid, print the total number of amino acids produced by the DNA sequence. Round down to the lowest whole number.
Add the answers you got from running your program on this gene to the end of the commented material that was your answer to number 1.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started