BIOL119 Lecture #3 (10/5/26)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/64

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:36 AM on 10/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

65 Terms

1
New cards
2
New cards
3
New cards
4
New cards
5
New cards

What is the goal of sequence alignment?

maximize number of identical and similar residues in columns of alignment

6
New cards

What are the two steps in the alignment process after starting with unaligned sequences

1. identify alignment start

2. Insert gaps if necessary


7
New cards

Do the sequences themselves change during alignment?

No; the sequences do not change. Gaps are inserted to align matching residues

8
New cards

What four events mainly drive the evolution of biological sequences?

gene duplication

point mutations

insertions

deletions

9
New cards

What are the two main drivers for comparing sequences?

Functional analyses

Evolutionary analyses (divergence patterns = phylogenetics)

10
New cards

Why are conserved sequence regions important?

They are functionally important (similar sequences serve similar functions)

11
New cards

What is sequence similarity searching based on?

Alignment methods (alignment algorithms)

12
New cards

What are the 3 other utilities of sequence alignments (in addition to the 2 main drivers of comparing sequences)

Mutation/SNP analyses

Comparative genomics

Sequence similarity searching

13
New cards

What are the two main categories of sequence alignment?

pairwise sequence alignments (two sequences)

multiple sequence alignments (align many sequences together) (uses gaps?)

14
New cards

What are the three types of pairwise sequence alignment?

Dot plots (visualization only)

Global alignment (uses gaps?)

Local alignment (uses gaps?)

15
New cards

Why do we need gaps in alignments? (extra for understanding)

when sequences are biologically made, they have gene duplications, gene deletions, insertions, deletions

16
New cards

Point mutations include:

substitutions

insertions

deletions

17
New cards

Which point mutation does not require gaps and is the reason why we cannot say point mutations require gaps?

substitutions

(one residue just replaces another, so the sequence length doesn’t change)

18
New cards
<p>How does a dot plot work?</p>

How does a dot plot work?

Write 2 sequences into an x-y coordinate system. Identical residues (in tye sequence) get a dot. Dots form diagonals where similarities are. No diagonals = not similar

19
New cards

What are dot plots useful for identifying

insertions (a shift in the diagonal)

deletions (a shift in the diagonal)

and repetitive regions (multiple diagonals)

20
New cards

True or False: “Dot plots are an alignment method”

False. They’re a visualization - no alignment is formed

21
New cards

True or False: “Dots form when residues are different”

False; dots form when residues are identical

22
New cards

What is string matching, and how does it differ from alignment?

no gaps; (only finds exact matching regions)

23
New cards

What is the key difference between global and local pairwise alignment?

Global aligns the full length of both sequences using gaps


Local aligns only the most similar regions of both seq using gaps

24
New cards

How does multiple alignment differ from pairwise alignment? (secondary)

Multiple alignment involves more than 2 sequences. Pairwise involves exactly two.

25
New cards

What are the four important steps in the pairwise alignemnt process?

  1. Type of alignment (global or local)

  2. Scoring system

  3. Algorithm to find the best scoring alignment

  4. Statistics to evaluate significance


26
New cards

What is the first step in pairwise alignment process

Type of alignment

27
New cards

What is the first step in pairwise alignment process

scoring system

28
New cards

What is the third step in pairwise alignment process

algorithm to find best scoring alignment

29
New cards

What is the fourth step in pairwise alignment process

statistics to evaluate significance of alignment score

30
New cards

Which step is considered the core part of pairwise alignment?

Algorithm to find best scoring alignment

31
New cards

For divergent (dissimilar) sequences, which sequence type should you use for alignment

Protein sequences

32
New cards

For divergent sequences (dissimilar), why should you use protein sequences for alignment INSTEAD of DNA sequences?

Protein sequences have a 20-letter alphabet vs. DNA’s 4-letter alphabet, which gives higher information content (better scoring) and more reliable alignments


33
New cards

What are the three main reasons for why you should use proteins equences for alignment with divergent sequences (dissimilar)

  1. better scoring system (more info)

  2. reliable (less random matches)

  3. functional constraints


34
New cards

For similar sequences, which sequence type should you use

DNA sequences

35
New cards

What is an easy way to understand “substitution matrix” (scoring alignment)

Basically, when you have two sequences that are aligned, we focus on two residues in a column/ We use substitution matrix to see if this alignment is good or bad


36
New cards

What are the three scoring parameters for alignments?

Substitution matrix

Gap opening Penalty

Gap extension penalty

37
New cards

What is the difference between the gap opening penalty and the gap extension penalty?

Gap opening penalty = penalty for starting a gap

Gap extension penalty = penalty for extending a gap

38
New cards

What does the substitution matrix score?

Residue pairs in an alignment column (matches and mismatches)

39
New cards

What is the substitution matrix based on

Empirically determined rates at which one residue changes into another over time, expressed as log-odds scores


(LOOKING AT HOW OFTEN RESIDUES CHANGE INTO EACH OTHER TO SEE IF WE CAN FIND A BETTER ALIGNMENT)

40
New cards

Substitution matrix vs. substitution

Not the same thing;

substitution matrix is used to score an alignment

substitution is a mutation (involves no gaps)

41
New cards

In BLOSUM matrices, what does a low number (e.g., BLOSUM50) mean vs. a high number (e.g. BLOSUM80)? (substitutions matrices)

Low number = more divergent sequences

High number = more related sequences


(Think flowers are high in number of pollen = related to me)

42
New cards

IN PAM matrices, what does a high number mean vs. a low number? (substitution matrices)

High number = evolutionary distant sequences

Low number = more related sequences


(think: PAM being lower = more related to me (no rizz)

43
New cards

What is the difference between BLOSUM and PAM in terms of the model they’re based on? (substitution matrices)

(think: numbers = function, pam = evil = evol)

BLOSUM is based on a functional model; PAM is based on an evolutionary model

44
New cards

For DNA and RNA alignment matrices, how are matches, mismatches, and gaps scored? (mix of substitution matrices + gap penalties)

matches = positive score

mismatches = negative score

gaps = negative gap penalty

45
New cards

What are the three types of gap penalties?

constant gap penalty

linear gap penalty

affine gap open and extension

46
New cards

Which gap penalty is most commonly used, and what two components does it have

affine gap open and extension penalties;


gap open penalty (discourages starting new gaps)

extension penalties

47
New cards

What is the benefit of using affine gap open and extension penalties (type of gap penalty)

gap insertions are discouraged; longer gaps are favored over many smaller short gaps


(yes discouraging of having small gaps)

48
New cards

What is the disadvantage of linear gap penalty? (type of gap penalty)

the overall penalty for one large gap is the same as for many small gaps that adds up to the same length

(no discouraging of having many small gaps)

49
New cards

What is a constant gap penalty (type of gap penalty)

every gap receives the same penalty independent of its size

50
New cards

What is the name of the global alignment algorithm, and who developed it?

Needleman-Wunsch algorithm. Developed by Needleman and Wunsch (1970), with an improved version Gotoh (1982).

51
New cards

Why can’t we compute all possible alignments between 2 sequences?

number of alignments grows exponentially — it becomes impossible to compute, even for moderately long sequences

52
New cards

What is the solution to the impossible number of possible alignments

dynamic programming

53
New cards

What is dynamic programming?

an algorithm that finds the optimal alignment much more economically

54
New cards

What kind of scoring system does dynamic programming use?

additive scoring system

55
New cards

*What are the 4 steps to aligning sequences? (more in depth)

  1. type of alignment (global or local)

  2. scoring system (substitution matrix + gap penalties)

  3. algorithm to find best scoring alignment (dynamic programming alignment algorithm)

  4. statistics to evaluate significance of alignment score


56
New cards

Additive scoring system (extra) does __ in order to __

just builds upon the column scores that we get from substitution matrix and gap penalties (sums the column scores together)

help us find the best scoring alignment

57
New cards

What are the three main steps of the dynamic programming alignment algorithm

  1. Recurrence rules (popularte the matrix)

  2. Boundary conditions (gaps, termination, extension).

  3. Traceback (reconstruct the optimal alignment)


58
New cards

What is the full order to go from choosing alignment type → traceback to find optimal alignment (Global alignment)

  1. Choose global alignment

  2. Choose scoring methods (gap penalties + substitution matrix)

  3. Set boundaries - first row and column = gap penalties

  4. Fill each cell with the highest value of three options:

    1. Align two residues (substititon matrix) (corresponds to diagonal)

    2. Gap in sequence 1 (up)

    3. Gap in sequence 2 (left)

  5. Additive scoring - each cell builds on the previous

  6. We finish filling the matrix

  7. Traceback from bottom-right: up/left = gap, diagonal = align residues

  8. Final optimal alignment comes from traceback

  9. Final score = bottom right cell value


59
New cards

What are the rules for the boundary conditions that we need in the dynamic programming alignment algorithm being used for the dynamic programming matrix (extra)


  1. First row → all gap penalties (nothing from seq 1 to align)

  2. First column → all gap penalties (nothing from seq 2)

  3. Top left corner → 0


60
New cards

What are the three possible solutions at each cell in the dynamic programming matrix?

Align 2 residues and get substitution matrix score (diagonal), insert a gap in one sequence (up, gap penalty), or insert a gap in the other sequence (left, gap penalty.

Always pick whichever highest value

61
New cards

What does the movement in diagonal direction (up-left) signify and what score did we use?

Align 2 residues; substitution matrix

62
New cards

What does the movement in up direction signify and what score did we use?

gap in seq 2, gap penalty

63
New cards

What does the movement in left direction signify and what score did we use?

gap in sequence 1, gap penalty

64
New cards

Where does the traceback start, and how do you read the moves

bottom right cell. Diagonal movement = align residues. Up or left movement = insert a gap

65
New cards

Where is the final alignment score found?

bottom right cell of the matrix