随笔分类 - 09 生信项目实战
摘要:Problem To allow for the presence of its varying forms, a protein motif is represented by a shorthand as follows: [XY] means "either X or Y" and {X} m
阅读全文
摘要:Problem Figure 2. The probability of each outcome for the sum of the values on two rolled dice (black and white), broken down depending on the number
阅读全文
摘要:Problem A common substring of a collection of strings is a substring of every member of the collection. We say that a common substring is a longest co
阅读全文
摘要:Problem For a random variable XX taking integer values between 1 and nn, the expected value of XX is E(X)=∑nk=1k×Pr(X=k)E(X)=∑k=1nk×Pr(X=k). The expec
阅读全文
摘要:Problem A graph whose nodes have all been labeled can be represented by an adjacency list, in which each row of the list contains the two node labels
阅读全文
摘要:Problem Figure 4. A figure illustrating the propagation of Fibonacci's rabbits if they die after three months. Figure 4. A figure illustrating the pro
阅读全文
摘要:Problem A matrix is a rectangular table of values divided into rows and columns. An m×nm×n matrix has mm rows and nn columns. Given a matrix AA, we wr
阅读全文
摘要:Problem Given two strings ss and tt, tt is a substring of ss if tt is contained as a contiguous collection of symbols in ss (as a result, tt must be n
阅读全文
摘要:Problem The 20 commonly occurring amino acids are abbreviated by using 20 letters from the English alphabet (all letters except for B, J, O, U, X, and
阅读全文
摘要:Problem Figure 2. The probability of any outcome (leaf) in a probability tree diagram is given by the product of probabilities from the start of the t
阅读全文
摘要:Problem Figure 2. The Hamming distance between these two strings is 7. Mismatched symbols are colored red. Figure 2. The Hamming distance between thes
阅读全文
摘要:Problem The GC-content of a DNA string is given by the percentage of symbols in the string that are 'C' or 'G'. For example, the GC-content of "AGCTAT
阅读全文
摘要:Problem A sequence is an ordered collection of objects (usually numbers), which are allowed to repeat. Sequences can be finite or infinite. Two exampl
阅读全文
摘要:Problem In DNA strings, symbols 'A' and 'T' are complements of each other, as are 'C' and 'G'. The reverse complement of a DNA string ss is the string
阅读全文
摘要:Problem An RNA string is a string formed from the alphabet containing 'A', 'C', 'G', and 'U'. Given a DNA string tt corresponding to a coding strand,
阅读全文
摘要:Problem A string is simply an ordered collection of symbols selected from some alphabet and formed into a word; the length of a string is the number o
阅读全文