Docsity

Lecture 4: Multiple Sequence Alignments in Computational Molecular Biology, Slides of Computational Molecular Biology

Toggle sidebar
bg1
1
COS551:IntroductiontoComputationalMolecularBiology
Lecture4:September26,2000
LecturerMonaSingh
Scribe:AneelDelawalla
MultipleSequenceAlignmentsI
Inpreviouslectures,weconsideredalignmentsbetweentwosequences.Here,weconsiderthe
casewherewewishtoalignthreeormoreentiresequences(i.e.,globalmultiplesequence
alignments).Usually,localmultiplesequencealignmentmethodsonlylookforungapped
alignments,ormotifs,andwewillreturntomotiffindinginafuturelecture.
Definition:Givenkstrings,S1,S2,…,Sk,amultiplesequencealignment(MSA)isobtainedby
insertinggapsinthestringstomakethemallthesamelength.
E.g., thefollowingisaMSAof4sequencesMQPILLLV,MLRLL,MKILLL,and
MPPVLILV.
M
Q P I L L L V
M
L R - L L - -
M
K - I L L L -
M
P P V L I L V
Nocolumnmaybeallgaps.
Multiplesequencealignmentsareusedformanyreasons,including:
(1)todetectregionsofvariabilityorconservationinafamilyofproteins,
(2)toprovidestrongerevidencethanpairwisesimilarityforstructuralandfunctionalinferences,
(3)toserveasthefirststepinphylogeneticreconstruction,inRNAsecondarystructure
prediction,andinbuildingprofiles(probabilisticmodels)forproteinfamiliesorDNA
signals.
Forpairwisealignments,wescoredeachcolumnbylookingatmatches,mismatches,andgapsin
thetwosequences(inpractice,proteinsequencesarescoredusingsubstitutionmatrices).
However,nowwehavemultiplecharactersineachcolumn,anditisnotobviouswhatthebest
waytoscoreacolumnis.Therearemanypossibilities.Thesum-of-pairs(SP)isacommon
scoringscheme.Here,eachcolumninanalignmentisscoredbysummingthescoresofallpairs
ofsymbolsinthatcolumn.Thescoreoftheentirealignmentisthensummedoverallcolumn
scores.Wewillassumethatamatch=1,amismatch=-1,andagap=-2.Forexample,the
sum-of-pairsscoreofthe4thcolumnoftheMSAgivenearlieris:
SP(I,-,I,V)
=score(I,-)+score(I,I)+score(I,V)+score(-,I)+score(-,V)+score(I,V)
=-2+1+-1+-2+-2+-1=-7
pf3
pf4
pf5

Partial preview of the text

Download Lecture 4: Multiple Sequence Alignments in Computational Molecular Biology and more Slides Computational Molecular Biology in PDF only on Docsity!

COS 551: Introduction to Computational Molecular Biology Lecture 4: September 26, 2000 Lecturer Mona Singh Scribe: Aneel Delawalla

Multiple Sequence Alignments I

In previous lectures, we considered alignments between two sequences. Here, we consider the case where we wish to align three or more entire sequences (i.e., global multiple sequence alignments). Usually, local multiple sequence alignment methods only look for ungapped alignments, or motifs, and we will return to motif finding in a future lecture.

Definition: Given k strings, S 1 , S 2 , …, Sk , a multiple sequence alignment (MSA) is obtained by inserting gaps in the strings to make them all the same length.

E.g., the following is a MSA of 4 sequences MQPILLLV, MLRLL, MKILLL, and MPPVLILV.

M Q P I L L L V M L R - L L - - M K - I L L L - M P P V L I L V

No column may be all gaps.

Multiple sequence alignments are used for many reasons, including: (1) to detect regions of variability or conservation in a family of proteins, (2) to provide stronger evidence than pairwise similarity for structural and functional inferences, (3) to serve as the first step in phylogenetic reconstruction, in RNA secondary structure prediction, and in building profiles (probabilistic models) for protein families or DNA signals.

For pairwise alignments, we scored each column by looking at matches, mismatches, and gaps in the two sequences (in practice, protein sequences are scored using substitution matrices). However, now we have multiple characters in each column, and it is not obvious what the best way to score a column is. There are many possibilities. The sum-of-pairs (SP) is a common scoring scheme. Here, each column in an alignment is scored by summing the scores of all pairs of symbols in that column. The score of the entire alignment is then summed over all column scores. We will assume that a match = 1, a mismatch = -1, and a gap = -2. For example, the sum-of-pairs score of the 4th^ column of the MSA given earlier is:

SP(I,-,I,V) = score(I,-) + score(I, I) +score(I,V) + score(-,I) + score (-,V) + score(I,V) = -2 + 1 + -1 + -2 + -2 + -1 = -

Although there is never an entire column of gaps, if we look at any 2 sequences in the alignment, there may be columns where both have gaps. The value of score(-,-) is set equal to 0; this eliminates double counting (or extra penalization) for the use of gaps.

Let MSA-SP denote the optimum (i.e., highest scoring) MSA under the SP scoring system.

Note that it is not at all clear that sum-of-pairs is the best scoring system to use. The SP scoring system tends to overweight contributions of differences from many very similar sequences.

E.g., column A,A,A,C

The sum-of-pairs score for this column is 3 - 3 = 0.

However, evolutionarily speaking, say the relationship between the sequences is:

Then a single C A mutation can explain the data, and thus SP tends to overcount mutations.

Note: An optimum MSA-SP may not give the optimal pairwise alignments. For example, if a match = 1, a mismatch = -1, and a gap = -2, then the optimum MSA-SP for the sequences AT, A, T, AT and AT is as follows, with the induced alignment between A & T also shown.

However, the optimum pairwise arrangement for the two sequences A and T is , which, if it were part of the MSA would yield:

that given all pairwise alignments, it is usually impossible to arrange an MSA consistent with all of them.

E.g., consider aligning the three sequences: acg, cga, gac. Their optimum pairwise alignments are as follows:

Merge using Merge using Merge using alignments alignments alignments with 1st^ sequence with 3rd^ sequence with 2nd^ sequence

  • a c g - - - a c g a c G - -
    • c g a - g a c - - c G a - g a c - - c g a - - - - G a c

Now the MSA is not consistent with the optimum pairwise alignments of the 2nd^ and 3rd sequences

Now the MSA is not consistent with the optimum pairwise alignments of the 1st^ and 2nd sequences

Now the MSA is not consistent with the optimum pairwise alignments of the 1st^ and 3rd sequences

Note, however, that given any k -1 alignments relating k sequences, there is always an MSA consistent with all k -1 pairwise alignments. That is, there is an MSA such that the induced pairwise alignments in the MSA include the given k -1 alignments.

With k = 5, this would mean that there are 4 alignments relating all the sequences. For example, we could have pairwise alignments for the edges in the following graph.

Note that we can never have a cycle if we have k -1 alignments relating all k sequences, and thus we can maintain consistency with the k -1 alignments.

We can use this fact to devise multiple sequence alignment heuristics. One such heuristic for MSA is to just add the sequences to an alignment, one by one, maintaining consistency and following the “once a gap, always a gap” rule.

Star Alignment Heuristic: The twist in the star alignment heuristic is that you must (1) find the sequence that is the most similar to all the rest using pairwise alignment (see below) and (2) use it as the “center of a star” when aligning all other sequences. I.e., you will only use pairwise alignments with the center sequence when building the multiple sequence alignment.

S 1 is the center

Formally speaking, (1) is simply saying to find S c such that i ≠ c

sim (S i , S c ) is maximized.

For example, say your sequences are: S 1 A T T G C C A T T S 2 A T G G C C A T T S 3 A T C C A A T T T T S 4 A T C T T C T T S 5 A C T G A C C

Then, we first compute all pairwise alignments and scores. The following matrix gives the alignment scores for all pairs, as well as the sum of these scores for each sequence.

S 1 S 2 S 3 S 4 S 5 S 1 - 7 -2 0 -3 2 S 2 7 - -2 0 -4 1 S 3 -2 -2 - 0 -7 - S 4 0 0 0 - -3 - S 5 -3 -4 -7 -3 - - 2 1 -11 -3 -

S 1 is the sequence most similar to the rest, and below are the best alignments between S 1 and the rest of the sequences.

S 1 A T T G C C A T T

S 2 A T G G C C A T T

S 1 A T T G C C A T T - -

S 3 A T C - C A A T T T T

S 1 A T T G C C A T T

S 4 A^ T^ C^ T^ T^ C^ -^ T^ T

S 1 A T T G C C A T T

S 5 A C T G A C C - -

Now, let’s build the alignment.