# lectures/l09.yaml (coursebank 2.1) lectures: l09: title: Pairwise alignment unit: u1 description: >- How alike are two sequences? This lecture scores one alignment column by column, shows that there are far too many alignments to score one at a time ({val-alignment-count-100} for two 100-letter sequences), and builds the table that finds the best one anyway. It ends on when to align end to end and when to look for a shared region. teaches: - lo-alignment-scoring - lo-alignment-recurrence materials: - { kind: slides, url: 'https://example.edu/slides/l09' } - { kind: brief, title: 'Lecture brief', url: 'https://example.edu/briefs/l09' } - { kind: notebook, title: 'Fill a matrix in Python', url: 'https://example.edu/notebooks/l09.ipynb' } readings: - ref: durbin1998biological locator: 'ch. 2' minutes: 40 targets: [t-align-matrix-terms, t-align-score-columns, t-align-fill-matrix, t-align-local-vs-global-diagnose] summary: >- Introduces the alignment matrix and {eq-global-recurrence}, then contrasts the global and local fills. focus: >- Fill one small matrix by hand and follow the traceback ({t-align-fill-matrix}). Watch what changes at the matrix boundaries and where the traceback starts; that is the whole global-versus-local distinction. skip: >- Gloss the affine-gap extension. It comes in a later lecture.