Question: Create a function called decrypt ( raw _ dna ) . This function should do the following: Parse the raw DNA provided in the parameter

Create a function called decrypt(raw_dna). This function should do the following:
Parse the raw DNA provided in the parameter to create a new valid DNA sequence that contains ONLY the nucleotides: A, C, G, and T in uppercase format. Please note that nucleotides that are not in uppercase format should not be included in the valid sequence.
Return the newly created valid DNA sequence.
Create a function called process(valid_dna). This function should do the following:
Count the occurrence of each nucleotide (A, C, G, T) in the valid DNA sequence provided in the parameter.
Construct a list with the counts of A, C, G, and T in that specific order.
Return the list.
Add the following code to the main function to test your functions:

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 Programming Questions!