Download Multiple Sequence Alignment in BCB 444/544 Fall 07 - Lecture 11 - Prof. Drena Leigh Dobbs and more Lab Reports Bioinformatics in PDF only on Docsity!
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 1
BCB 444/
Lecture 11
First BLAST vs FASTA
Plus some Gene Jargon Multiple Sequence Alignment (MSA)
#11_Sept
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 2 √Mon Sept 10 - for Lecture 9/ BLAST variations; BLAST vs FASTA, SW
- Chp 4 - pp 51- √Wed Sept 12 - for Lecture 11 & Lab 4 Multiple Sequence Alignment (MSA)
- Chp 5 - pp 63- Fri Sept 14 - for Lecture 12 Position Specific Scoring Matrices & Profiles
- Chp 6 - pp 75-78 (but not HMMs)
- Good Additional Resource re: Sequence Alignment?
- Wikipedia: http://en.wikipedia.org/wiki/Sequence_alignment
Required Reading
( before lecture) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 3
Assignments & Announcements -
Revised Grading Policy has been sent via email Please review! √Mon Sept 10 - Lab 3 Exercise due 5 PM: to: [email protected] ?Thu Sept 13 - Graded Labs 2 & 3 will be returned at beginning of Lab 4 Fri Sept 14 - HW#2 due by 5 PM (106 MBB) Study Guide for Exam 1 will be posted by 5 PM BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 4
Review: Gene Jargon #1 (for HW2, 1c)
Exons = "protein-encoding" (or "kept" parts) of eukaryotic genes vs Introns = "intervening sequences" = segments of eukaryotic genes that "interrupt" exons
- Introns are transcribed into pre-RNA
- but are later removed by RNA processing
- & do not appear in mature mRNA
- so are not translated into protein BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 5
Assignments & Announcements -
Mon Sept 17 - Answers to HW# will be posted by 5 PM Thu Sept 20 - Lab = Optional Review Session for Exam Fri Sept 21 - Exam 1 - Will cover:
- Lectures 2-12 (thru Mon Sept 17)
- Labs 1-
- HW
- All assigned reading: Chps 2-6 (but not HMMs) Eddy: What is Dynamic Programming (^) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 6
Chp 4- Database Similarity Searching
SECTION II SEQUENCE ALIGNMENT
Xiong: Chp 4
Database Similarity Searching
- √Unique Requirements of Database Searching
- √Heuristic Database Searching
- √Basic Local Alignment Search Tool (BLAST)
- FASTA
- Comparison of FASTA and BLAST
- Database Searching with Smith-Waterman Method
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 7
Why search a database?
- Given a newly discovered gene,
- Does it occur in other species?
- Is its function known in another species?
- Given a newly sequenced genome, which regions align with genomes of other organisms? - Identification of potential genes - Identification of other functional parts of chromosomes
- Find members of a multigene family BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 8
FASTA and BLAST
• FASTA
- user defines value for k = word length
- Slower, but more sensitive than BLAST at lower values of k, (preferred for searches involving a very short query sequence)
- BLAST family
- Family of different algorithms optimized for particular types of queries, such as searching for distantly related sequence matches
- BLAST was developed to provide a faster alternative to FASTA without sacrificing much accuracy
- Both FASTA, BLAST are based on heuristics
- Tradeoff: Sensitivity vs Speed
- DP is slower, but more sensitive BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 9
BLAST algorithms can generate both
"global" and "local" alignments
Global alignment Local alignment BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 10
BLAST - a Family of Programs:
Different BLAST "flavors"
- BLASTP - protein sequence query against protein DB
- BLASTN - DNA/RNA seq query against DNA DB (GenBank)
- BLASTX - 6-frame translated DNA seq query against protein DB
- TBLASTN - protein query against 6-frame DNA translation
- TBLASTX - 6-frame DNA query to 6-frame DNA translation
- PSI-BLAST - protein "profile" query against protein DB
- PHI-BLAST - protein pattern against protein DB
- Newest: MEGA-BLAST - optimized for highly similar sequences http://www.ncbi.nlm.nih.gov/blast/producttable.shtml Which tool should you use? BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 11
Detailed Steps in BLAST algorithm
- Remove low-complexity regions (LCRs)
- Make a list (dictionary): all words of length 3aa or 11 nt
- Augment list to include similar words
- Store list in a search tree ( data structure)
- Scan database for occurrences of words in search tree
- Connect nearby occurrences
- Extend matches (words) in both directions
- Prune list of matches using a score threshold
- Evaluate significance of each remaining match
- Perform Smith-Waterman to get alignment BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment^ 9/14/07^12
1: Filter low-complexity regions
(LCRs)
i i
N n
L
L
K
log
Window length (usually
Alphabet size (4 or 20) Frequency of ith letter in the window
- Low complexity regions, transmembrane regions and coiled-coil regions often display significant similarity without homology.
- Low complexity sequences can yield false positives.
- Screen them out of your query sequences! When appropriate! K = computational complexity ; varies from 0 (very low complexity) to 1 (high complexity) e.g., for GGGG: L! = 4!=4x3x2x1= 24 nG=4 nT=nA=nC= P ni! = 4!x0!x0!x0! = 24 K=1/4 log 4 (24/24) = 0 For CGTA: K=1/4 log 4 (24/1) = 0. This slide has been changed!
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 19
4: Store words in search tree
Search tree Augmented list of query words “Does this query contain GGF?” “Yes, at position 2.” BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 20
Search tree
G G F L M W Y
GGF
GGL
GGM
GGW
GGY
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 21
Example
Put this word list into a search tree DAM QAM EAM KAM ECM EGM ESM ETM EVM EAI EAL EAV D Q E K A A A C G S T V A M M M M M M M M L (^) M I (^) V BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 22
5: Scan the database sequences
Database sequence
Query sequence •
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 23
Example
Scan this "database" for occurrences of your words E^ MKFLILLFNILCLDAMLAADNHGVGPQGASGVDPITFDINSNQTGPAFLTAVEAIGVKYLQVQHGSNVNIHRLVEGNVKAMENA A M P Q L S V D
A M •
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 24
6: Connect nearby occurences
(diagonal matches in Gapped BLAST)
Database sequence
Query sequence •
Two dots are connected IFF if they are less than A letters apart & are on diagonal
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 25
7: Extend matches in both directions
DB Scan BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 26
7: Extend matches,
calculating score at each step
- Each match is extended to left & right until a negative BLOSUM62 score is encountered
- Extension step typically accounts for > 90% of execution time L P P Q G L L Query sequence M P P E G L L Database sequence 7 2 6 BLOSUM62 scores word score = 15 <--- ---> 2 7 7 2 6 4 4 HSP SCORE = 32 (High Scoring Pair) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 27
8: Prune matches
- Discard all matches that score below defined threshold BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 28
9: Evaluate significance
- BLAST uses an analytical statistical significance calculation **RECALL:
- E-value: E = m x n x P** m = total number of residues in database n = number of residues in query sequence P = probability that an HSP is result of random chance lower E-value, less likely to result from random chance, thus **higher significance
- Bit Score: S' =** normalized score, to account for differences in size of database ( m) & sequence length( n) ; Note (below) that bit score is linearly related to raw alignment score, so: higher S' means alignment has higher significance This slide has been changed! S'= ( λ X S - ln K)/ln2 where: λ = Gumble distribution constant S = raw alignment score K = constant associated with scoring matrix For more details - see text & BLAST tutorial BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 29
10: Use Smith-Waterman algorithm
(DP) to generate alignment
- ONLY significant matches are re-analyzed using Smith-Waterman DP algorithm.
- Alignments reported by BLAST are produced by dynamic programming BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 30
BLAST: What is a "Hit"?
- A hit is a w-length word in database that aligns with a word from query sequence with score > T
- BLAST looks for hits instead of exact matches
- Allows word size to be kept larger for speed, without sacrificing sensitivity
- Typically, w = 3-5 for amino acids, w = 11-12 for DNA
- T is the most critical parameter:
- ↑ T ⇒ ↓ “background” hits (faster)
- ↓ T ⇒ ↑ ability to detect more distant relationships (at cost of increased noise)
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 37
Chp 5- Multiple Sequence Alignment
SECTION II SEQUENCE ALIGNMENT
Xiong: Chp 5
Multiple Sequence Alignment
- Scoring Function
- Exhaustive Algorithms
- Heuristic Algorithms
- Practical Issues BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 38
Multiple Sequence Alignments
Credits for slides: Fernandez-Baca, Caragea & Brown, 2007; Heber &Hunter BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 39
Overview
- What is a multiple sequence alignment (MSA)?
- Where/why do we need MSA?
- What is a good MSA?
- Algorithms to compute a MSA BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 40
Multiple Sequence Alignment
- Generalize pairwise alignment of sequences to include > 2 homologous sequences
- Analyzing more than 2 sequences gives us much more information: - Which amino acids are required? Correlated? - Evolutionary/phylogenetic relationships
- Similar to PSI-BLAST idea (not yet covered in lecture): use a set of homologous sequences to provide more "sensitivity" BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 41
What is a MSA?
ATTTG-
ATTTGC
AT-TGC
ATTTG
ATTTGC
ATT-GC
ATTT-G-
ATTT-GC
AT-T-GC
Not a MSA MSA Not a MSA
Why?
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 42
Definition: MSA
Given a set of sequences, a multiple sequence alignment is an assignment of gap characters, such that
- resulting sequences have same length
- no column contains only gaps ATTTG-
ATTTGC
AT-TGC
ATTTG
ATTTGC
ATT-GC
ATTT-G-
ATTT-GC
AT-T-GC
NO YES NO
BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 43
Displaying MSAs: using CLUSTAL W
- entirely conserved column : all residues have ~ same size AND hydropathy
. all residues have ~ same size OR hydropathy RED : AVFPMILW (small) BLUE : DE (acidic, negative chg) MAGENTA : RHK (basic, positive chg) GREEN : STYHCNGQ (hydroxyl + amine + basic) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 44 A single sequence that represents most common residue of each column in a MSA Example:
What is a Consensus Sequence?
FGGHL-GF
F-GHLPGF
FGGHP-FG
FGGHL-GF
Steiner consensus seqence: Given sequences s 1 ,…, sk, find a sequence s* that maximizes Σi S(s*,si) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 45
Applications of MSA
- Building phylogenetic trees
- Finding conserved patterns, e.g.:
- Regulatory motifs (TF binding sites)
- Splice sites
- Protein domains
- Identifying and characterizing protein families
- Find out which protein domains have same function
- Finding SNPs (single nucleotide polymorphisms) & mRNA isoforms (alternatively spliced forms)
- DNA fragment assembly (in genomic sequencing) BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 46 Application: Recover Phylogenetic Tree NYLS NYLS (^) NFLS What was series of events that led to current species? BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 47 Application: Discover Conserved Patterns Rationale: if they are homologous (derived from a common ancestor), they may be structurally equivalent TATA box = transcriptional promoter element Is there a conserved cis-acting regulatory sequence? BCB 444/544 F07 ISU Dobbs #11 - Multiple Sequence Alignment 9/14/07 48 Goal: Characterize Protein Families Which parts of globin sequences are most highly conserved?