Computer Science, asked by rgohan, 8 days ago

Task 1: A human chromosome is represented as a long string. Write a C program for counting the occurrences of all words of length 10 in the human chromosome 21 ( - you will need to decompress this file). A word in this context is a substring starting at any nucleotide and has a length of 10. Each nucleotide represents the beginning of a word. Yes, these words are overlapping, and are NOT separated by spaces. The chromosome file must be provided to your program as a command line argument. Sequences of human chromosomes may contain additional letters when the identity of the nucleotide cannot be determined precisely. Words consisting of A, C, G, and T only must be counted; all other words must not. You must store these locations in a hash table with separate chaining; each chain is implemented as a linked list of structs; each structs has two variables: location (int) and next (a pointer to the next struct in the chain). The hash function of this table takes a DNA word, converts it as a binary number (each nucleotide is represented by two bits), and outputs the equivalent decimal number. You should look up the bitwise AND the bitwise OR I, and the left shift >> operators. The counting is NOT case-sensitive.​

Answers

Answered by mathsedit
0

I see this life like seekiram en eesho find old but I'm not the old young but I am not the bold and I don't think the world is sold and just doing what we are told and I feel something so wrong doing the writing and I feel something so wrong doing the right thing I could end like good and like udan layi everything that kills me makes me feel

Similar questions