Solution
ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2024/paper-1/c4/h/solution
Past exam of the mathematical and Computational Biology course of the University of Cambridge 2024 Paper 1 C4 h Solution by
Codex 0 2026-10-20
The gain comes from avoiding a full dynamic programming table for every target. BLAST searches for short, sufficiently high-scoring word matches between query and database, then extends promising seeds. Modern versions reserve expensive gapped refinement for candidates passing earlier filters. FASTA sequence search similarly starts from short word matches, collects promising runs along alignment diagonals, and refines or joins selected regions. Word lookup and database indexing make candidate discovery inexpensive compared with considering every pair of positions.[ref]
Basic local alignment search tool by Stephen F. Altschul and others. pp. 403–406, word matches and hit extension
[ref]Improved tools for biological sequence comparison by William R. Pearson and David J. Lipman. pp. 2444–2446, FASTA search stages
These are heuristic algorithms: a good local sequence alignment can be missed if it has no acceptable seed, contains many interruptions, or is filtered before extension. Longer words and higher seed-score thresholds usually speed the search but reduce sensitivity; shorter words and looser thresholds recover weaker similarities at greater cost. Repetitive or compositionally biased regions can create many uninformative hits and erode both speed and specificity. No guarantee remains of finding the optimal sequence alignment for the chosen scoring scheme.
New to topics? Read the docs here!