Question: Write a C++ code that: 1. Read the sequences in the provided fasta file (unzip the attached file) 2. Build a Kmer count table (use
Write a C++ code that: 1. Read the sequences in the provided fasta file (unzip the attached file) 2. Build a Kmer count table (use array) where k = 10; 3. Build a histogram table of size 200 in which we store the frequency of counts collected in step 2. if frequency is 200 or more, increment the last element in the histogram array. 4. Report the results of histogram table to screen as the following: Write a C++ code that: 1. Read the sequences in the provided fasta file (unzip the attached file) 2. Build a Kmer count table (use array) where k = 10; 3. Build a histogram table of size 200 in which we store the frequency of counts collected in step 2. if frequency is 200 or more, increment the last element in the histogram array. 4. Report the results of histogram table to screen as the following: Kmer-Count Frequency 1 100 2 80 3 40 4 20 200 300
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
