Download presentation
Presentation is loading. Please wait.
Published byGriffin Rice Modified over 9 years ago
1
Multiple sequence alignment Tuesday, Feb 8 2011 Suggested installation for the following tools on your own computer: ClustalX, Mega4, GeneDoc; treeview
2
Multiple sequence alignment to define what a multiple sequence alignment is and how it is generated; to describe profile HMMs to introduce databases of multiple sequence alignments to introduce ways you can make your own multiple sequence alignments to show how a multiple sequence alignment provides the basis for phylogenetic trees Page 319
3
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA
4
Multiple sequence alignment: definition a collection of three or more protein (or nucleic acid) sequences that are partially or completely aligned homologous residues are aligned in columns across the length of the sequences residues are homologous in an evolutionary sense residues are homologous in a structural sense Page 320
5
ClustalW Note how the region of a conserved histidine (▼) varies depending on which algorithm is used
6
Praline
7
MUSCLE
8
Probcons
9
TCoffee
10
Multiple sequence alignment: properties not necessarily one “correct” alignment of a protein family protein sequences evolve......the corresponding three-dimensional structures of proteins also evolve may be impossible to identify amino acid residues that align properly (structurally) throughout a multiple sequence alignment for two proteins sharing 30% amino acid identity, about 50% of the individual amino acids are superposable in the two structures Page 320
11
Multiple sequence alignment: features some aligned residues, such as cysteines that form disulfide bridges, may be highly conserved there may be conserved motifs such as a transmembrane domain there may be conserved secondary structure features there may be regions with consistent patterns of insertions or deletions (indels) Page 320
12
Multiple sequence alignment: uses MSA is more sensitive than pairwise alignment to detect homologs BLAST output can take the form of a MSA, and can reveal conserved residues or motifs Population data can be analyzed in a MSA (PopSet) A single query can be searched against a database of MSAs (e.g. PFAM) Regulatory regions of genes may have consensus sequences identifiable by MSA Page 321
13
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
14
Multiple sequence alignment: methods Exact methods: dynamic programming Instead of the 2-D dynamic programming matrix in the Needleman-Wunsch technique, think about a 3-D, 4-D or higher order matrix. Exact methods give optimal alignments but are not feasible in time or space for more than ~10 sequences. Still an extremely active field.
15
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
16
Multiple sequence alignment: methods Progressive methods: use a guide tree (a little like a phylogenetic tree but NOT a phylogenetic tree) to determine how to combine pairwise alignments one by one to create a multiple alignment. Making multiple alignments using trees was a very popular subject in the ‘80s. Fitch and Yasunobu (1974) may have first proposed the idea, but Hogeweg and Hesper (1984) and many others worked on the topic before Feng and Doolittle (1987)—they made one important contribution that got their names attached to this alignment method. Examples: CLUSTALW, MUSCLE
17
Multiple sequence alignment: methods Example of MSA using ClustalW: two data sets Five distantly related lipocalins (human to E. coli) Five closely related RBPs When you do this, obtain the sequences of interest in the FASTA format! (You can save them in a Word document) Page 321
18
The input for ClustalW: a group of sequences (DNA or protein) in the FASTA format
19
Get sequences from Entrez Protein (or HomoloGene)
20
You can display sequences from Entrez Protein in the fasta format
21
When you get a DNA sequence from Entrez Nucleotide, you can click CDS to select only the coding sequence. This is very useful for phylogeny studies.
22
HomoloGene: an NCBI resource to obtain multiple related sequences [1] Enter a query at NCBI such as globin [2] Click on HomoloGene (left side) [3] Choose a HomoloGene family, and view in the fasta format
23
Use ClustalW to do a progressive MSA http://www2.ebi. ac.uk/clustalw/ Fig. 10.1 Page 321
24
Feng-Doolittle MSA occurs in 3 stages [1] Do a set of global pairwise alignments (Needleman and Wunsch’s dynamic programming algorithm) [2] Create a guide tree [3] Progressively align the sequences Page 321
25
Progressive MSA stage 1 of 3: generate global pairwise alignments Fig. 10.2 Page 323 five distantly related lipocalins best score
26
Progressive MSA stage 1 of 3: generate global pairwise alignments Start of Pairwise alignments Aligning... Sequences (1:2) Aligned. Score: 84 Sequences (1:3) Aligned. Score: 84 Sequences (1:4) Aligned. Score: 91 Sequences (1:5) Aligned. Score: 92 Sequences (2:3) Aligned. Score: 99 Sequences (2:4) Aligned. Score: 86 Sequences (2:5) Aligned. Score: 85 Sequences (3:4) Aligned. Score: 85 Sequences (3:5) Aligned. Score: 84 Sequences (4:5) Aligned. Score: 96 Fig. 10.4 Page 325 five closely related lipocalins best score
27
Number of pairwise alignments needed For n sequences, (n-1)(n) / 2 For 5 sequences, (4)(5) / 2 = 10 Page 322
28
Feng-Doolittle stage 2: guide tree Convert similarity scores to distance scores A tree shows the distance between objects Use UPGMA (defined in the phylogeny lecture) (Unweighted Pair Group Method with Arithmetic Mean) ClustalW provides a syntax to describe the tree A guide tree is not a phylogenetic tree Page 323
29
Progressive MSA stage 2 of 3: generate a guide tree calculated from the distance matrix Fig. 10.2 Page 323
30
Progressive MSA stage 2 of 3: generate guide tree ( gi|5803139|ref|NP_006735.1|:0.04284, ( gi|6174963|sp|Q00724|RETB_MOUS:0.00075, gi|132407|sp|P04916|RETB_RAT:0.00423) :0.10542) :0.01900, gi|89271|pir||A39486:0.01924, gi|132403|sp|P18902|RETB_BOVIN:0.01902); Fig. 10.4 Page 325 five closely related lipocalins
31
Feng-Doolittle stage 3: progressive alignment Make a MSA based on the order in the guide tree Start with the two most closely related sequences Then add the next closest sequence Continue until all sequences are added to the MSA Rule: “once a gap, always a gap.” Page 324
32
Progressive MSA stage 3 of 3: progressively align the sequences following the branch order of the tree Fig. 10.3 Page 324
33
Progressive MSA stage 3 of 3: CLUSTALX output Note that you can download CLUSTALX locally, rather than using a web-based program!
34
Clustal W alignment of 5 closely related lipocalins CLUSTAL W (1.82) multiple sequence alignment gi|89271|pir||A39486 MEWVWALVLLAALGSAQAERDCRVSSFRVKENFDKARFSGTWYAMAKKDP 50 gi|132403|sp|P18902|RETB_BOVIN ------------------ERDCRVSSFRVKENFDKARFAGTWYAMAKKDP 32 gi|5803139|ref|NP_006735.1| MKWVWALLLLAAW--AAAERDCRVSSFRVKENFDKARFSGTWYAMAKKDP 48 gi|6174963|sp|Q00724|RETB_MOUS MEWVWALVLLAALGGGSAERDCRVSSFRVKENFDKARFSGLWYAIAKKDP 50 gi|132407|sp|P04916|RETB_RAT MEWVWALVLLAALGGGSAERDCRVSSFRVKENFDKARFSGLWYAIAKKDP 50 ********************:* ***:***** gi|89271|pir||A39486 EGLFLQDNIVAEFSVDENGHMSATAKGRVRLLNNWDVCADMVGTFTDTED 100 gi|132403|sp|P18902|RETB_BOVIN EGLFLQDNIVAEFSVDENGHMSATAKGRVRLLNNWDVCADMVGTFTDTED 82 gi|5803139|ref|NP_006735.1| EGLFLQDNIVAEFSVDETGQMSATAKGRVRLLNNWDVCADMVGTFTDTED 98 gi|6174963|sp|Q00724|RETB_MOUS EGLFLQDNIIAEFSVDEKGHMSATAKGRVRLLSNWEVCADMVGTFTDTED 100 gi|132407|sp|P04916|RETB_RAT EGLFLQDNIIAEFSVDEKGHMSATAKGRVRLLSNWEVCADMVGTFTDTED 100 *********:*******.*:************.**:************** gi|89271|pir||A39486 PAKFKMKYWGVASFLQKGNDDHWIIDTDYDTYAAQYSCRLQNLDGTCADS 150 gi|132403|sp|P18902|RETB_BOVIN PAKFKMKYWGVASFLQKGNDDHWIIDTDYETFAVQYSCRLLNLDGTCADS 132 gi|5803139|ref|NP_006735.1| PAKFKMKYWGVASFLQKGNDDHWIVDTDYDTYAVQYSCRLLNLDGTCADS 148 gi|6174963|sp|Q00724|RETB_MOUS PAKFKMKYWGVASFLQRGNDDHWIIDTDYDTFALQYSCRLQNLDGTCADS 150 gi|132407|sp|P04916|RETB_RAT PAKFKMKYWGVASFLQRGNDDHWIIDTDYDTFALQYSCRLQNLDGTCADS 150 ****************:*******:****:*:* ****** ********* Fig. 10.5 Page 326 * asterisks indicate identity in a column
35
Progressive MSA stage 3 of 3: progressively align the sequences following the branch order of the tree: Order matters THE LAST FAT CAT THE FAST CAT THE VERY FAST CAT THE FAT CAT THE LAST FAT CAT THE FAST CAT --- THE LAST FA-T CAT THE FAST CA-T --- THE VERY FAST CAT THE LAST FA-T CAT THE FAST CA-T --- THE VERY FAST CAT THE ---- FA-T CAT Adapted from C. Notredame, Pharmacogenomics 2002
36
Progressive MSA stage 3 of 3: progressively align the sequences following the branch order of the tree: Order matters THE FAT CAT THE FAST CAT THE VERY FAST CAT THE LAST FAT CAT THE FA-T CAT THE FAST CAT THE ---- FA-T CAT THE ---- FAST CAT THE VERY FAST CAT THE ---- FA-T CAT THE ---- FAST CAT THE VERY FAST CAT THE LAST FA-T CAT Adapted from C. Notredame, Pharmacogenomics 2002
37
Why “once a gap, always a gap”? There are many possible ways to make a MSA Where gaps are added is a critical question Gaps are often added to the first two (closest) sequences To change the initial gap choices later on would be to give more weight to distantly related sequences To maintain the initial gap choices is to trust that those gaps are most believable Page 324
38
Additional features of ClustalW improve its ability to generate accurate MSAs Individual weights are assigned to sequences; very closely related sequences are given less weight, while distantly related sequences are given more weight Scoring matrices are varied dependent on the presence of conserved or divergent sequences, e.g.: PAM2080-100% id PAM6060-80% id PAM12040-60% id PAM3500-40% id Residue-specific gap penalties are applied
39
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
40
Multiple sequence alignment: methods Iterative methods: compute a sub-optimal solution and keep modifying that intelligently using dynamic programming or other methods until the solution converges. Examples: IterAlign, Praline, MAFFT
41
MUSCLE: next-generation progressive MSA [1] Build a draft progressive alignment Determine pairwise similarity through k-mer counting (not by alignment) Compute distance (triangular distance) matrix Construct tree using UPGMA Construct draft progressive alignment following tree
42
MUSCLE: next-generation progressive MSA [2] Improve the progressive alignment Compute pairwise identity through current MSA Construct new tree with Kimura distance measures Compare new and old trees: if improved, repeat this step, if not improved, then we’re done
43
MUSCLE: next-generation progressive MSA [3] Refinement of the MSA Split tree in half by deleting one edge Make profiles of each half of the tree Re-align the profiles Accept/reject the new alignment
45
http://www.ebi.ac.uk/muscle/
46
MUSCLE output (formatted with SeaView) SeaView is a graphical multiple sequence alignment editor available at http://pbil.univ-lyon1.fr/software/seaview.html
47
Praline output for the same alignment: pure iterative approach Boxes highlight a region that is difficult to align
48
Iterative approaches: MAFFT Uses Fast Fourier Transform to speed up profile alignment Uses fast two-stage method for building alignments using k-mer frequencies Offers many different scoring and aligning techniques One of the more accurate programs available Available as standalone or web interface Many output formats, including interactive phylogenetic trees
49
Iterative approaches: MAFFT Has about 1000 advanced settings!
50
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
51
Multiple sequence alignment: methods Consistency-based algorithms: generally use a database of both local high-scoring alignments and long-range global alignments to create a final alignment These are very powerful, very fast, and very accurate methods Examples: T-COFFEE, Prrp, DiAlign, ProbCons
52
ProbCons—consistency-based approach Combines iterative and progressive approaches with a unique probabilistic model. Uses Hidden Markov Models (more in a minute) to calculate probability matrices for matching residues, uses this to construct a guide tree Progressive alignment hierarchically along guide tree Post-processing and iterative refinement (a little like MUSCLE)
53
2e Fig. 5.12
54
ProbCons—consistency-based approach Sequence xx i Sequence yy j Sequence zz k If x i aligns with z k and z k aligns with y j then x i should align with y j ProbCons incorporates evidence from multiple sequences to guide the creation of a pairwise alignment.
55
ProbCons—consistency-based approach http://probcons.stanford.edu/
56
ProbCons output for the same alignment: consistency iteration helps
57
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
58
http://tcoffee.org Make an MSA MSA w. structural data Compare MSA methods Make an RNA MSA Combine MSA methods Consistency-based Structure-based Back translate protein MSA
59
APDB ClustalW output
60
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
61
Multiple sequence alignment: methods How do we know which program to use? There are benchmarking multiple alignment datasets that have been aligned painstakingly by hand, by structural similarity, or by extremely time- and memory-intensive automated exact algorithms. Some programs have interfaces that are more user- friendly than others. And most programs are excellent so it depends on your preference. If your proteins have 3D structures, use these to help you judge your alignments. For example, try Expresso at http://www.tcoffee.org.
62
[1] Create or obtain a database of protein sequences for which the 3D structure is known. Thus we can define “true” homologs using structural criteria. [2] Try making multiple sequence alignments with many different sets of proteins (very related, very distant, few gaps, many gaps, insertions, outliers). [3] Compare the answers. Strategy for assessment of alternative multiple sequence alignment algorithms Page 346
63
Multiple sequence alignment: methods Benchmarking tests suggest that ProbCons, a consistency-based/progressive algorithm, performs the best on the BAliBASE set, although MUSCLE, a progressive alignment package, is an extremely fast and accurate program. ClustalW is the most popular program. It has a nice interface (especially with ClustalX) and is easy to use.
64
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
65
Multiple sequence alignment to profile HMMs ► Hidden Markov models (HMMs) are “states” that describe the probability of having a particular amino acid residue at arranged in a column of a multiple sequence alignment ► HMMs are probabilistic models ► HMMs may give more sensitive alignments than traditional techniques such as progressive alignment Page 325
66
Simple Hidden Markov Model Observation: YNNNYYNNNYN (Y=goes out, N=doesn’t go out) What is underlying reality (the hidden state chain)? R S 0.15 0.85 0.2 0.8 P(dog goes out in rain) = 0.15 P(dog goes out in sun) = 0.85
67
GTWYA (hs RBP) GLWYA (mus RBP) GRWYE (apoD) GTWYE (E Coli) GEWFS (MUP4) An HMM is constructed from a MSA Example: five lipocalins Fig. 10.6 Page 327
68
GTWYA GLWYA GRWYE GTWYE GEWFS Position Prob.12345 p(G)1.0 p(T)0.4 p(L)0.2 p(R)0.2 p(E)0.20.4 p(W)1.0 p(Y)0.8 p(F)0.2 p(A)0.4 p(S)0.2 Fig. 10.6 Page 327
69
GTWYA GLWYA GRWYE GTWYE GEWFS Prob.12345 p(G)1.0 p(T)0.4 p(L)0.2 p(R)0.2 p(E)0.20.4 p(W)1.0 p(Y)0.8 p(F)0.2 p(A)0.4 p(S)0.2 P(GEWYE) = (1.0)(0.2)(1.0)(0.8)(0.4) = 0.064 log odds score = ln(1.0) + ln(0.2) + ln(1.0) + ln(0.8) + ln(0.4) = -2.75 Fig. 10.6 Page 327
70
GTWYA GLWYA GRWYE GTWYE GEWFS P(GEWYE) = (1.0)(0.2)(1.0)(0.8)(0.5) = 0.08 log odds score = ln(1.0) + ln(0.2) + ln(1.0) + ln(0.8) + ln(0.5) = -2.53 G:1.0 W:1.0 T:0.4 L:0.2 R:0.2 E:0.2 Y:0.8 F:0.2 A:0.5 E:0.5 S:1.0
71
Structure of a hidden Markov model (HMM) M IyIy IxIx p1p1 p7p7 p6p6 p5p5 p3p3 p2p2 p4p4
72
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
73
Two kinds of multiple sequence alignment resources Text-based or query-based searches: CDD, Pfam (profile HMMs), PROSITE [2] Multiple sequence alignment by manual input Muscle, ClustalW, ClustalX [1] Databases of multiple sequence alignments Page 329
74
BLOCKS CDD Pfam SMART DOMO (Gapped MSA) INTERPRO iProClass MetaFAM PRINTS PRODOM (PSI-BLAST) PROSITE Databases of multiple sequence alignments These Use HMMs
75
PFAM (protein family) database: http://pfam.sanger.ac.uk/ Fig. 10.11 Page 331
76
PFAM (protein family) text search result Fig. 10.12 Page 334
77
PFAM HMM for lipocalins 20 amino acids position
78
PFAM HMM for lipocalins: GXW motif GW 20 amino acids
79
PFAM GCG MSF format Fig. 10.13 Page 335
80
Pfam (protein family) database
81
PFAM JalView viewer Fig. 10.14 Page 336
82
PFAM JalView viewer Fig. 10.15 Page 336
83
PFAM JalView viewer: principal components analysis (PCA) Fig. 10.16 Page 337
84
Fig. 10.17 Page 337
85
SMART: Simple Modular Architecture Research Tool (emphasis on cell signaling) Page 338
86
SMART: lipocalin result Fig. 10.18 Page 338
87
BLOCKS CDD Pfam SMART DOMO (Gapped MSA) INTERPRO iProClass MetaFAM PRINTS PRODOM (PSI-BLAST) PROSITE Databases of multiple sequence alignments Conserved Domain Database (CDD) at NCBI = PFAM + SMART
88
[1] Go to NCBI Structure [2] Click CDD [3] Enter a text query, or a protein sequence CDD: Conserved domain database
90
CDD = PFAM + SMART Fig. 10.20 Page 339
91
Purpose: to find conserved domains in the query sequence Query = your favorite protein Database = set of many position-specific scoring matrices (PSSMs), i.e. a set of MSAs CDD is related to PSI-BLAST, but distinct CDD searches against profiles generated from pre-selected alignments CDD uses RPS-BLAST: reverse position-specific Page 333
92
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
93
MEGA version 4: Molecular Evolutionary Genetics Analysis Download from www.megasoftware.net
94
MEGA version 4: Molecular Evolutionary Genetics Analysis
95
MEGA version 4: Molecular Evolutionary Genetics Analysis Two ways to create a multiple sequence alignment 1. Open the Alignment Explorer, paste in a FASTA MSA 2. Select a DNA query, do a BLAST search Once your sequences are in MEGA, you can run ClustalW then make trees and do phylogenetic analyses 1 2
96
[1] Open the Alignment Explorer [2] Select “Create a new alignment” [3] Click yes (for DNA) or no (for protein)
97
[4] Find, select, and copy a multiple sequence alignment (e.g. from Pfam; choose FASTA with dashes for gaps) [5] Paste it into MEGA [6] If needed, run ClustalW to align the sequences [7] Save (Ctrl+S) as.mas then exit and save as.meg
98
Multiple sequence alignment: outline [1] Introduction to MSA Exact methods Progressive (ClustalW) Iterative (MUSCLE) Consistency (ProbCons) Structure-based (Expresso) Conclusions: benchmarking studies [3] Hidden Markov models (HMMs), Pfam and CDD [4] MEGA to make a multiple sequence alignment [5] Multiple alignment of genomic DNA [6] Introduction to molecular evolution and phylogeny
99
Multiple sequence alignment of genomic DNA There are typically few sequences (up to several dozen, each having up to millions of base pairs. Adding more species improves accuracy. Alignment of divergent sequences often reveals islands of conservation (providing “anchors” for alignment). Chromosomes are subject to inversions, duplications, deletions, and translocations (often involving millions of base pairs). E.g. human chromosome 2 is derived from the fusion of two acrocentric chromosomes. There are no benchmark datasets available.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.