The total number of sequence alignments between two sequences of length m and n respectively, can...
Let S and T be two sequences of length n and m, respectively. When calculating the dynamic programming table to find the optimal global alignments between the two sequences S and T, we can keep pointers to find the optimal alignments by following these pointers from cell (n, m) to cell (0, 0). Each of the paths represents a different optimal alignment for the two sequences. a) Give an algorithm in O(nm) which calculates the number of different alignments between...
Which of the following can form a covalent bond between the two sequences under non-reducing conditions? Sequences C and D Sequences A and H Sequences B and E Sequences A and C Sequences F and G Which of the following sequences can form an alpha-helix with hydrophobic residues only along one face of the helix, and hydrophilic residues only along the other face of the helix? Sequence F Sequence G Sequence H Sequence E Sequence B Which of the following...
3. Given two sequences (rn)5 and (h[n)you are asked to compute their linear convo 514 lution y[n-r[n]*h[n]. You decide to use the DFT to speed up the computation (a) What is the length of the sequence yn)? (b) Find the smallest number of zeros that should be padded to each sequence so that the earconvolution can be computed using the (c) To further speed computation, you decide to use a radix-2 FFT to compute the DFT How should the sequences...
5.34 Let xIn],0sns N-1, be a length-N sequence with an N-point DFT XIk],0sksN-1. (a) sa symmetric sequence satisfying the condition x n] = 지(N 1 n)N] show that X [N/2] 0 for N even. (b) Ifx[n] is a antisymmetric sequence satisfying the condition x[n] = rKN-1-n)N], show that X[0] = 0 (c) If x[n] is a sequence satisfying the condition x[n] =-x[(n + M〉N] with N = 2M, show that X[21] = 0 for I=0, 1, ,M-1 5.34 Let xIn],0sns...
5. Professor Clueless has just identified a novel sequence X that s VERY similar to sequence Y as shown by the alignment in Figure 16.2. On the other hand, when he uses blast to find homologs of X against genbank (Figure 16.3), he obtains VERY different results from a blastn with query sequence Y (Figure 16.4). With such similarity between X and Y, he was expecting the two queries to get very similar results. What advice will you give the...
Problem 2: Sequence similarity measure. Let 3 and y be two given DNA sequences, represented as strings with characters in the set {A, G, C,T}. The similarity measure of r and y is defined as the maximum score of any alignment of r and y, where the score for an alignment is computed by adding substitution score and deletion and insertion scores, as explained below. (Some operations have negative scores.) The score for changing a character T, into a...
4. Consider a causal FIR filter of length M 6 with impulse response h[n] = {2.2, 2,2, 2,2) (a) Provide a closed-form expression for the 8-point DFT of hin], de- (b) Consider the sequence xIn of length L 8 below, equal to a sum noted by H8 , as a function of k. Simplify as much as possible. of several finite-length sinewaves: n] is formed by computing X,lk as an 8-point DFT of n), Hslk) as an 8-point DFT of...
9. Integers m, n with god(m, n) = 1 are called "relatively prime" or "co-prime". Assume now m and are indeed co-prime. (i) Show that ged(m + n,m-n) 2m and ged(m + n. m -n 2n (ii) Use part (i) to show that there are only two possible values that ged(m + n. m - n) can attain, namely 1 or 2
I need help integrating to find the PDF CDF in MATLAB. (a) 1. Generate six sequences of uniform random variables (length 10,000) in the range [-0.5,0.5]. Each element in the ith sequence can be considered to be one realization of the random variable X, for i- 1,2,..., 6. Note that these six uniform random variables are independent and identically distributed. Com- pute new random variables as follows: 6 i-1 This results in two new sequences, the elements of which can...
I Need Help with 4,6,8,10,15,18 Problems 123 If f(n) is a periodic sequence with period N, it is also periodic with period 2N. Tet 8(k) denote the DFS coefficients of X(n) considered as a periodic sequence with period N and X,(k) denote the DFS coefficients of x(n) considered as a periodic sequence with period 2N. X,(k) is, of course, periodic with period N and X2(k) is periodic with period 2N. Determine 8(k) in terms of X (k). 5. Consider two...