yaneli0717
15.07.2019 •
Biology
Bioinformatics: dna search project 1 summary: this project explores pattern matching techniques to find a pattern in a dna sequence containing letters in the dna alphabet {a, c, g, t}. for example, suppose we have a dna sequence as follows:the pattern “aatgg” can be found at the beginning of the third line. note that overlapping matches are counted individually. for example, if the sequence is ‘’ and the pattern is ‘aaa’, there are 4 occurrences of the pattern. part 1: a shell program dna-shell.c is provided that randomly initializes a text string (10240 characters) with the dna alphabet. a pattern of 3 to 7 characters is also randomly generated using the dna alphabet. you must insert code into the shell to implement the function 'match' which takes four input parameters, the pointer to the text string, the length of the text string, a pointer to the pattern, and the length of the pattern. the 'match' function must return the array of indices of occurrences of the pattern in the text string. for example, if the sequence is ‘aacaac’ and the pattern is ‘aac’, the return value is ‘0
Solved
Show answers
More tips
- H Health and Medicine Everything You Wanted to Know About Male Circumcision: Its Goals and Effects...
- L Leisure and Entertainment Couchsurfing: A New Way to Travel...
- G Goods and services Which TV is better - LCD or Plasma?...
- S Sport How to Learn to Pull Up on Monkey Bars?...
- L Leisure and Entertainment Scrapbooking: What is it and Why is it Becoming More Popular?...
- C Computers and Internet Where did torrents.ru move to?...
- B Business and Finance Understanding Cash Flow: What It Is and How It Works...
- C Computers and Internet What Are Peers and Seeds in Torrenting?...
- H Health and Medicine 10 Simple Techniques on How to Boost Your Mood...
- G Goods and services How to Choose the Right High Chair for Your Baby?...
Answers on questions: Biology
- M Mathematics Reach -6°f in the winter and 90f in the summer find the range in temperature?...
- H Health How do you solve 2x+y=5 and x-y=1 by substitution...
- H History Which leader negotiated a trade treaty between the us and great britain on behalf of george washington? a)john jay b)thomas jefferson c)alexander hamilton d)napoleon bonaparte...
Ответ:
thanks
Explanation: