610 likes | 732 Views
Multiple Global Sequence Alignment and Phylogenetic trees. Inge Jonassen and Ingvar Eidhammer. Definition. A global alignment of a set of sequences is obtained by inserting into each sequence gap characters ‘ ’ so that the resulting sequences are of the same length and so that
E N D
Multiple Global Sequence Alignment andPhylogenetic trees Inge Jonassen and Ingvar Eidhammer Eidhammer et al. Protein Bioinformatics Chapter 4
Definition • A global alignment of a set of sequences is obtained by • inserting into each sequence gap characters ‘ ’ • so that • the resulting sequences are of the same length • and so that • no “column” has only gap characters Eidhammer et al. Protein Bioinformatics Chapter 4
Example: Chromo domains aligned Eidhammer et al. Protein Bioinformatics Chapter 4
Use of alignments • High sequence similarity usually means significant structural and/or functional similarity. The reverse does not need to be true • Homolog proteins (common ancestor) can vary significantly in large parts of the sequences, but still retain common 2D-patterns, 3D-patterns or common active site or binding site. • Comparison of several sequences in a family can reveal what is common for the family (From Lesk: Two homologous sequences whisper,.. A full multiple alignment shouts out load). Something common for several sequences can be significant when regarding all of the sequences, but need not if regarding only two. • Multiple alignment can be used to derive evolutionary history. Eidhammer et al. Protein Bioinformatics Chapter 4
Use of alignments • Predict features of aligned objects • conserved positions • structurally/functionally important Eidhammer et al. Protein Bioinformatics Chapter 4
Conserved positions Eidhammer et al. Protein Bioinformatics Chapter 4
Use of alignments • Predict features of aligned objects • conserved positions • structurally/functionally important • patterns of hydrophobicity/hydrophilicity • secondary structure elements Eidhammer et al. Protein Bioinformatics Chapter 4
Helix pattern Eidhammer et al. Protein Bioinformatics Chapter 4
Use of alignments • Predict features of aligned objects • conserved positions • structurally/functionally important • patterns of hydrophobicity/hydrophilicity • secondary structure elements • “gappy” regions • loops/variable regions Eidhammer et al. Protein Bioinformatics Chapter 4
Loop? Loop? Loop? Eidhammer et al. Protein Bioinformatics Chapter 4
Use of alignments • Predict features of aligned objects • conserved positions • structurally/functionally important • patterns of hydrophobicity/hydrophilicity • secondary structure elements • “gappy” regions • loops/variable regions • covariation • structural proximity Eidhammer et al. Protein Bioinformatics Chapter 4
Alignment and 3D structure Eidhammer et al. Protein Bioinformatics Chapter 4
Use of Alignments- make patterns/profiles • Can make a profile or a pattern that can be used to match against a sequence database and identify new family members • Profiles/patterns can be used to predict family membership of new sequences • Databases of profiles/patterns • PROSITE • PFAM • PRINTS • ... Eidhammer et al. Protein Bioinformatics Chapter 4
Protein sequence Prosite pattern 1 Prosite pattern 2 Prosite pattern n Family 1 Family 2 Family n Prosite: Motifs for classification Regular expression Pattern Profile Eidhammer et al. Protein Bioinformatics Chapter 4
Pattern from alignment [FYL]-x-[LIVMC]-[KR]-W-x-[GDNR]-[FYWLE]-x(5,6)-[ST]-W-[ES]-[PSTDN]-x(3)-[LIVMC] Eidhammer et al. Protein Bioinformatics Chapter 4
Alignment problem Given a set of sequences, produce a multiple alignment which corresponds as well as possible to the biological relationships between the corresponding bio-molecules Eidhammer et al. Protein Bioinformatics Chapter 4
For homologous proteins • Two residues should be aligned (on top of each other) • if they are homologous (evolved from the same residue in a common ancestor protein) • if they are structurally equivalent Eidhammer et al. Protein Bioinformatics Chapter 4
Automatic approach • Need a way of scoring alignments • fitness function which for an alignment quantifies its “goodness” • Need an algorithm for finding alignments with good scores • Not all methods provide a scoring function for the final alignment! Eidhammer et al. Protein Bioinformatics Chapter 4
Analysis of fitness function • One can test whether the alignments optimal under a given fitness function correspond well to the biological relationships between the sequences • For example, if the structure of (some of) the proteins are known. Eidhammer et al. Protein Bioinformatics Chapter 4
Align by use of dynamic programming • Dynamic programming finds best alignment of k sequences with given scoring scheme • For two sequences there are three different column types • For three sequences there are seven different column types x means an amino acid, - a blank Sequence1 x - x x - - x Sequence2 x x - x - x - Sequence3 x x x - x - x • Time complexity of O(nk) (sequence lengths = n) Eidhammer et al. Protein Bioinformatics Chapter 4
Use of dynamic programming • Dynamic programming finds best alignment of k sequences given scoring scheme Eidhammer et al. Protein Bioinformatics Chapter 4
Algorithm for dynamic programming Eidhammer et al. Protein Bioinformatics Chapter 4
Connection alignment and evolutionary tree Consider a set of sequences ARL, ARTL, ARSI, ARSL, AWTL, AWT Alignment AR-L ARTL ARSI ARSL AWTL AWT- Possible tree Use the tree to calculate alignment AWTL ARTL ARSL AWTL ARTL AWTL AWT- AR-L ARSI AWT- AR-L AWT- ARSL ARTL ARSI AR-L ARSL ARSI Eidhammer et al. Protein Bioinformatics Chapter 4
Phylogenetic studies • The purpose of phylogenetic studies of related objects are • to reconstruct the correct genealogical ties between them (the topology); and • to estimate the time of divergence between them since they last shared a common ancestor (length of edges in the tree). • In phylogenetic studies, the objects are often referred to as operational taxonomic units (OTUs). In our case the objects are protein or nucleic acid sequences. We will denote the set of sequences we have at the start for the original sequences. Eidhammer et al. Protein Bioinformatics Chapter 4
Phylogenetic studies Eidhammer et al. Protein Bioinformatics Chapter 4
Example Eidhammer et al. Protein Bioinformatics Chapter 4
Number of different tree topologies Eidhammer et al. Protein Bioinformatics Chapter 4
Additive tree Eidhammer et al. Protein Bioinformatics Chapter 4
Additive and ultrametric Lemma1 It is possible to construct an additive tree from the distances between the sequences (metric space) if and only if for any four of them we can label them i,j,k,l such that Di,j + Dk,l = Di,k + Dj,l >= Di,l + Dj,k Lemma2 It is possible to construct an ultrametric tree from the distances between the Sequences (metric space) if and only if for every i,j,k Di,j <= max(Di,k,Dk,j) Eidhammer et al. Protein Bioinformatics Chapter 4
Maximum parsimony Eidhammer et al. Protein Bioinformatics Chapter 4
Parvis gruppering Eidhammer et al. Protein Bioinformatics Chapter 4
An example Eidhammer et al. Protein Bioinformatics Chapter 4
Neighbour joining Eidhammer et al. Protein Bioinformatics Chapter 4
Bootstrapping Eidhammer et al. Protein Bioinformatics Chapter 4
General progressive alignment Algorithm 4.3. General progressive alignment. Progressive alignment of the sequences {s1, s2, . . . , sm} var C current set of alignments begin C := ∅ for i := 1 to m do C := C union {{si}} end one alignment of each sequence for i := 1 to m − 1 do choose two alignments Ap,Aq from C; C := C − {Ap,Aq} Ar:= align(Ap,Aq );C := C union {Ar} end C now contains the (single) final alignment end Eidhammer et al. Protein Bioinformatics Chapter 4
Clustering philosophy Join the two groups with highest pairwise score. • Average scoring method: find average score over all pasirs in the two groups • Maximum scoring method: find maximum score over all pairs in the two groups (needs only one high-scoring pair) • Minimum (complete) scoring method: find minimum scoring over all pairs (all pairs are taken into account) • Special scoring method Eidhammer et al. Protein Bioinformatics Chapter 4
The Clustal Algorithm • Three steps: • Compare all pairs of sequences to obtain a similarity matrix • Based on the similarity matrix, make a guide tree relating all the sequences • Perform progressive alignment where the order of the alignments is determined by the guide tree Eidhammer et al. Protein Bioinformatics Chapter 4
(A) 1 pairwise comparison 2 clustering/making tree (B) 3 Align according to tree Eidhammer et al. Protein Bioinformatics Chapter 4
1:peeksavtal 2:geekaavlal 3:egewglvlhv 4:aaektkirsa ClustalW - Score of aligning two alignment columns • sum the score matrix entry for all pairs of residues • weight each pair by the sequences’ weights Score: M(t,v)+M(t,i)+ M(l,v)+M(l,i) Eidhammer et al. Protein Bioinformatics Chapter 4
1:peeksavtal 2:geekaavlal 3:egewglvlhv 4:aaektkirsa ClustalW - Weighting sequences • each sequence is given a weight • groups of related sequences receive lower weight Weighted score: w1*w3*M(t,v)+ w1*s4*M(t,i)+ w2*w3*M(l,v)+ w2*w4*M(l,i) Eidhammer et al. Protein Bioinformatics Chapter 4
ClustalW - Similarity matrix • Distance between sequences - measure from the guide tree - determines which matrix to use • 80-100% seq-id -> use Blosum80 • 60-80% seq-id -> Blosum60 • 30-60% seq-id -> Blosum45 • 0-30% seq-id -> Blosum30 Eidhammer et al. Protein Bioinformatics Chapter 4
ClustalW - Gap penalties • Initial gap penalty • GOP • Gap extension penalty • GEP GTEAKLIVLMANE GA---------KL Penalty: GOP+8*GEP Eidhammer et al. Protein Bioinformatics Chapter 4