Docsity

Sequence Alignment and Scoring Matrices in Computational Biology, Assignments of Chemistry

Partial preview of the text

Download Sequence Alignment and Scoring Matrices in Computational Biology and more Assignments Chemistry in PDF only on Docsity!

Two Sequence Alignment &

Scoring Matrices

BME 110: CompBio Tools Todd Lowe April 14, 2009

Admin

  • Reading:
    • Chapter 8
  • Homework #1 due Thursday 10am
  • Homework #2 assigned tomorrow
  • Review sessions
    • Please vote for your preference of second review session time in WebCT
    • Will decide on review session time this afternoon based on votes
  • Five-question fun quiz on Thursday covering reading and class notes so far

Full Genome Dot-Plot

Multiple Genome Alignment Dot Plots P.calidifontis P.arsenaticum P.islandicum P.aerophilum P.aerophilum P.aerophilum P.arsenaticum P.calidifontis P.arsenaticum P.islandicum^ P.islandicum P.calidifontis

Pair-wise Sequence Comparison

  • Basis for relating biological information from a well-studied gene to a new sequence
  • Many programs exist for pairwise comparison
  • Some specialize in fast database searching and get “good” alignments - One sequence v. many thousands: - BLAST or FASTA
  • Some are much slower, but guarantee the “optimal alignment” - Smith-Waterman is the de facto standard

Dot-plots: Dotlet

http://myhits.isb-sib.ch/cgi-bin/dotlet

  • Example: In Archaeal Genome browser, bring up Pyrobaculum aerophilum
  • Select CRISPR2 region (chr:45,423-46,754) to compare to CRISPR6-7 region (chr:1,898,656-1,899,678)
  • Get DNA, paste into Dotletone at a time, giving descriptive labels, Zoom 1:5,
  • Are there direct or inverted repeats in each CRISPR (against itself?)
  • Relative to each other, are these direct or inverted repeats?

Dynamic Programming

  • Fancy term for type of algorithm used to get the “optimal” or best possible alignment between two sequences
  • Needleman and Wunsch (1970) most basic method - Gives the “global” (end to end) best alignment
  • Smith-Waterman based closely on this algorithm, but allows for “local” alignments (best subsequence match only)

Basic Example

  • Find best global alignment of two

sequences:

G A T C

G T G C

Which is better?

Match +1, Mismatch –1, Gap -

G A T C +1-1-1+

| | OR (Score = 0)

G T G C

G A T - C +1-1+1-1+

| | | (Score = 1)

G - T G C

Moral: Scoring Model Matters!!

  • For DNA, model can be very simple:
  • +1 match, -1 mismatch
  • However, not all mutations have equal likelihood:
  • Transition: A<–>G or C <–> T
    • more likely
  • Transversion: A<–>C or G <–> T
    • less likely

Same Matrix (*10)

A C G T

A 6 1 2 1

C 1 6 1 2

G 2 1 6 1

T 1 2 1 6

Actual values not important, only values relative to each other

Protein Matrices, Same Idea

  • Original: Dayhoff matrix aka PAM
  • PAM = Percent accepted mutations
  • Based on small number of correctly aligned proteins
  • Simply count how often each amino acid is substituted for another
  • Frequency of substitutions based on properties of amino acids relative to each other
  • Closer two amino acids are, more similar

in properties

Versions of Matrices

  • Should use different substitution matrices

based on expected evolutionary distance

between two sequences

  • PAM1 original matrix
  • Can derive matrices of varying

evolutionary distances from original PAM 1

matrix

PAM1 < PAM120 < PAM