Question: 13]. # Given two DNA sequences. Now, you compare their nucleotide counts. The nucleotide # Count results will need to save into a dictionary. Therefore,

 13]. # Given two DNA sequences. Now, you compare their nucleotide

13]. # Given two DNA sequences. Now, you compare their nucleotide counts. The nucleotide # Count results will need to save into a dictionary. Therefore, you will generate two # dictionaries (d1 for seq1 and d2 for seq2). def compare (seq1, seq2): return d1, d2 In the main part of your python script, you need to call this function once by using two named string objects. Of course, ou need to create these two string objects by using assignment (). You also need to name two returned dictionaries Then, you need to use one for loop to navigate both dictionaries in the same time and print out the result, as following: 3. Result for compare (0 Seql is (ATTGCCCC) seq2 is (ATTCGGGG) A count: Seqi [1] vs seq2 [1] T count: Seql [2] vs Seq2 (2] G count: SeqI [1] vs seq2 [3] c count: segl [4] vs seq2 [1] # The underlined parts are changeable # Other parts must be the same as described [Hint: you can use both dictionaries for X in [ 'A, , 'T' , ,G' , ' C , ] and then use the same key (say 'A') to retrieve values from

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!