Question
Dynamic programming algorithm related to the DNA sequence matching. Attached is the image of the input data, read each record from the file and find
Dynamic programming algorithm related to the DNA sequence matching. Attached is the image of the input data, read each record from the file and find the line and column no's with the given DNA sequence key pattern. Please display locations(line and column) found in the input file as shown in the below sample output.
DNA sequence key pattern is "GGTAACGGCCCACCAAGGCGACGACGGGTAGCTGGTCTGAGAGGATGGCCAGCCACATTGGGACTG"
Output:
Key Pattern looking for:"GGTAACGGCCCACCAAGGCGACGACGGGTAGCTGGTCTGAGAGGATGGCCAGCCACATTGGGACTG"
key was found (Line, column):3422,123# read countand Nth column where pattern started
key was found (Line, column):12832 ,004
Total Number of read:records# Total number of read # Code and pattern are treated as one record.
Total execution time:hh/mm/sec
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started