Question: Write a program that reads a file of DNA data and searches for protein sequences. DNA data consists of long strings of the letters A,C,G,

Write a program that reads a file of DNA data and searches for protein sequences. DNA data consists of long strings of the letters A,C,G, and T which are adenine, cytosine, guanine, and thymine. Proteins can be identified by looking for special triplet sequences of nucleotides that indicate the start and stop of a protein range. Store relevant data in arrays as you make your computation.

It needs to be able to take user input of a file name, DNAsequence.txt for example, go through it and count out the DNA sequences by groups of 3 at a time to decipher what type of protein it is. It also needs to save a new file that the user has input the name of and count out the all of the A's, C's, G's, and T's.

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!