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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:30, amaliabarrera9
The can be used to paste text in any order
Answers: 1
image
Computers and Technology, 22.06.2019 10:40, pbarbee3034
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
image
Computers and Technology, 22.06.2019 14:30, camerondillonn
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
image
Computers and Technology, 24.06.2019 13:00, Savtheartist23
Ais a built in formula in spread spread a is any math process such as addition or subtraction. options are function and operation
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 in other subjects:

Konu
Biology, 20.05.2020 07:57
Konu
Mathematics, 20.05.2020 07:57
Konu
Mathematics, 20.05.2020 07:57
Konu
Mathematics, 20.05.2020 07:57