subject

DNA sequences (dnaSearch. c) A DNA sequence is a sequence of some combination of the characters A (adenine), C (cytosine), G (guanine), and T (thymine) which correspond to the four nucleobases that make up DNA. Given a long DNA sequence, it is often necessary to compute the number of instances of a certain subsequence. For this exercise, you will develop a program that processes a DNA sequence from a file and, given a subsequence , searches the DNA sequence and counts the number of times s appears. As an example, consider the following sequence: If we were to search for the subsequence GTA, the output will be: Sample Output: GTA appears 2 times You will write a program (place your source in a file named dnaSearch. c) that takes, as command line inputs, an input file name and a valid DNA (sub)sequence. That is, the file name and the DNA subsequence should be callable from the command line as follows: ./dnaSearch dna01.txt GTA Note: You are not allowed to use the string library "strstr" function, which will result into a 0 score. You have to submit the following file containing the solution of this program via handin: dnaSearch. c

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
You know the right answer?
DNA sequences (dnaSearch. c) A DNA sequence is a sequence of some combination of the characters A (a...
Questions
question
Mathematics, 28.04.2021 14:00
question
Mathematics, 28.04.2021 14:00