Question: OVERVIEW This assignment will give you practice with arrays and producing an external output file. You are program that processes an input file of data
OVERVIEW This assignment will give you practice with arrays and producing an external output file. You are program that processes an input file of data for particular DNA sequencer test to write a This particular DNA sequencer test is designed to take a sample of bacterial and generate a sequence of values for t, and then retest it at a time interval later to see if the DNA has or has not effectively changed YOUR INSTUCTIONS Your assignment is to write a program that will give the user a brief introduction, then allow the user to type in the name of the file to be analyzed, the name of the data file to generate, and then process the data to match the output that is shown below Your goal is to match the output exactly as shown below, in both the data file structure and the program esecution BACKGROUND This DNA test measures the various parts of the sequence and assigns them a letter. While the letters could be anything from A to Z, the only letters that matter for this test are the letters (A,B.CD) all other letters can be gnored completely A sample will be tested, given a length of time and then tested again. Each time the scientist will generate a line of data. Here is one Example Example #1 AAAAB88BBCCCCCDDDDD AEBCBAFBBCDCECDADDEFEEFF At first glance the sample looks significantly different after the second test. But if you look at the data, you wi note that since we only care about A,B,C,D's that the second Ine does have the same number of A's?B's, C's and D's. This means that while it looks different we would say that the sample is non-mutated. Note however that what is important is not the exact number, but the percentages in the above case the percentages are 25% A's 25% 8%, 25% C's and 25% Drs. Mote that it 25% of the letters we care about, not the totout another sample started with 10 A's, 10 ?'s, 10 C's, and S D's, and ended with 20/20/20/10 That would also be conidered a non- mutation because while the numbers are different, the percentages are the same Contrast that with the data below. Example #2 AAATAABTBBBBCCCCTCDOTDDD AASAABBSBBCCSCCDSDDDEEEAEEFBFFFDDF If we look at example 82. The initiall percentages are (25, 25, 25, 25] but then in the second test they changed to [25, 25, 20, 301, which is a change and therefore counts as a mutation. SAMPLE INPUT FILE OVERVIEW This assignment will give you practice with arrays and producing an external output file. You are program that processes an input file of data for particular DNA sequencer test to write a This particular DNA sequencer test is designed to take a sample of bacterial and generate a sequence of values for t, and then retest it at a time interval later to see if the DNA has or has not effectively changed YOUR INSTUCTIONS Your assignment is to write a program that will give the user a brief introduction, then allow the user to type in the name of the file to be analyzed, the name of the data file to generate, and then process the data to match the output that is shown below Your goal is to match the output exactly as shown below, in both the data file structure and the program esecution BACKGROUND This DNA test measures the various parts of the sequence and assigns them a letter. While the letters could be anything from A to Z, the only letters that matter for this test are the letters (A,B.CD) all other letters can be gnored completely A sample will be tested, given a length of time and then tested again. Each time the scientist will generate a line of data. Here is one Example Example #1 AAAAB88BBCCCCCDDDDD AEBCBAFBBCDCECDADDEFEEFF At first glance the sample looks significantly different after the second test. But if you look at the data, you wi note that since we only care about A,B,C,D's that the second Ine does have the same number of A's?B's, C's and D's. This means that while it looks different we would say that the sample is non-mutated. Note however that what is important is not the exact number, but the percentages in the above case the percentages are 25% A's 25% 8%, 25% C's and 25% Drs. Mote that it 25% of the letters we care about, not the totout another sample started with 10 A's, 10 ?'s, 10 C's, and S D's, and ended with 20/20/20/10 That would also be conidered a non- mutation because while the numbers are different, the percentages are the same Contrast that with the data below. Example #2 AAATAABTBBBBCCCCTCDOTDDD AASAABBSBBCCSCCDSDDDEEEAEEFBFFFDDF If we look at example 82. The initiall percentages are (25, 25, 25, 25] but then in the second test they changed to [25, 25, 20, 301, which is a change and therefore counts as a mutation. SAMPLE INPUT FILE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
