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

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

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!