30
© Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

© Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Embed Size (px)

Citation preview

Page 1: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

© Wiley Publishing. 2007. All Rights Reserved.

Building Multiple- Sequence Alignments

Page 2: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Learning Objectives

Recognize situations where a multiple-sequence alignment may help

Build the right kind of multiple-sequence alignments

Become able to estimate the biological quality of your multiple alignment

Know about the strengths and weaknesses of the progressive algorithm

Page 3: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Outline

Why build a multiple sequence alignment? Choosing the right sequencesChoosing the right MSA methodComputing a progressive alignment Interpreting your alignmentComparing sequences that are difficult to align

Page 4: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

What Is a Multiple-Sequence Alignment ?

The alignment of more than two sequences MSAs = multiple-sequence alignments

The goal of an MSA is twofold: • Aligning corresponding regions of the sequences• Revealing positions that are conserved

The main steps to a useful MSA require• Choosing the right sequences• Choosing the right MSA method• Interpreting the alignment

Page 5: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Evolution in a Nutshell

Amino acids mutate randomly Mutations are then selected (accepted) or counter-selected (rejected) If a mutation is harmful, it is counter-selected

• It disappears from the genome• You never see it

Mutations of important positions (such as active sites) are almost always harmful

You can recognize important positions because they never mutate!

MSAs reveal these conserved positions

Page 6: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

An Example of Conserved Positions:

The Serine Proteases Active Site

Active Site

Page 7: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Why Build an MSA ?

The main reason to build an MSA is to use it for further applications

Most biological modeling methods require an MSA at some point

Next 2 slides list the 8 most common applications that require an MSA (there are many more)

Page 8: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

4 Ways of Using MSAs . . .

Page 9: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

4 More Ways of Using MSAs

Page 10: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Choosing the Right Sequences

When building an alignment, it is your job to select the sequences Two main factors when selecting sequences:

• Number of sequences• Nature of the sequences

A reasonable number of sequences: 20 to 50• Ideal for most methods• Small alignments are easy to display and analyze

Types of sequences• Well-selected sequences informative alignment

Page 11: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Some Guidelines for Choosing the Right Sequences

Page 12: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

DNA or Proteins?

DNA sequences are harder to align than proteins• DNA-comparison models are less sophisticated

Most methods work for both DNA and proteins • The results are less useful for DNA

If your DNA is coding, work on the translated proteins

If sequences are homologous . . .• Along their entire length use progressive alignment methods (next slide)• In terms of local similarity use motif-discovery methods (end of chapter)

Page 13: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Choosing Sequences That Are Different Enough

An alignment is useful if . . .• The sequences are correctly aligned • It can be used to produce trees, profiles, and structure predictions

To obtain this result, the sequences must be• Not too similar • Not too different

Sequences that are very similar . . .• Are easy to align correctly• Are not informative useless trees and profiles, bad predictions

Sequences that are very different . . . • Are difficult to align • Are very informative good trees and profiles, good predictions

Page 14: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Gathering Sequences with BLAST

The most convenient way to select your

sequences is to use a BLAST serverSome BLAST servers are integrated with

multiple-alignment methods:• www.expasy.ch• srs.ebi.ac.uk• npsa-pbil.ibcp.fr

Page 15: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Gathering Sequences with BLAST

Select some of the top sequences

Evenly select some sequences down to the bottom

The idea is to have many intermediate sequences

Page 16: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Aligning Your Sequences

Aligning sequences correctly is very difficult• Remember the Twilight Zone?• It’s hard to align protein sequences with less than 25%

identity (70% identity for DNA)All methods are approximateAlignment methods use the progressive algorithm

• Compares the sequences two by two• Builds a guide tree• Aligns the sequences in the order indicated by the tree

Page 17: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

The Progressive Algorithm

Sequences are grouped by similarity (guide tree)

Sequences are aligned 2 by 2

The intermediate alignments are then aligned 2 by 2

You align 2 sequences by using dynamic programming

Dynamic programming using a substitution matrix

Page 18: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

The Progressive Algorithm (cont’d.)

Its main strength is its speed Its main weakness is its greed

• Sequences aligned at the beginning are never realigned• Early mistakes cannot be corrected

Assemble datasets with lots of intermediate sequences Imagine each sequence is part of a stone bridge across a river:

• Doesn’t matter how wide the river is, if the stones

are close enough together• Doesn’t matter how diverse your sequences are, if

each sequence has a close relative

Page 19: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Selecting a Method

Many alternative methods exist for MSAs

Most of them use the progressive algorithm They all are approximate methods None is guaranteed to deliver the best alignments

All existing methods have pros and cons• ClustalW is the most popular (21,000 citations)• T-Coffee and ProbCons are more accurate but slower• MUSCLE is very fast, ideal for very large datasets

Page 20: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Selecting a Method (cont’d.)

It’s impossible to guess in advance which method will do best.Accuracy is merely an average estimation

• Methods are tested on reference datasets• Their accuracy is the average accuracy obtained on the reference

The most accurate method can always be outperformed by a

less accurate method on a given dataset.An alternative: Use consensus methods such as MCOFFEE

Page 21: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Running Many Methods at Once

MCOFFEE is a a meta-method• It runs all the individual MSA methods• It gathers all the produced MSAs• It combines the MSAs into a single MSA

MCOFFEE is more accurate than any individual method

Its color output lets you estimate the reliability of your MSA

MCOFFEE is available on www.tcoffee.org

Page 22: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

MCOFFEE Color Output

Red and orange residues are probably well alignedYellow should be treated with cautionGreen and blue are probably incorrectly aligned

Page 23: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Aligning Your Sequences Correctly

It can be difficult to align sequences correctly• They evolve too fast

For proteins, the best alternative is to use 3D structure• 3D Structures change slower than sequences

Unfortunately few sequences have a known structure

Expresso lets you find the structures that correspond to your sequences and use them to build an MSA

Page 24: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Using the EXPRESSO Web server

The EXPRESSO Web server aligns sequences using 3D information

The EXPRESSO tool . . . • Looks in PDB for the structure of your sequences• Aligns your sequences using structural information• Returns a multiple-sequence alignment based on structure

If your sequences have a known structure, EXPRESSO is the most accurate MSA method

Expresso is available on www.tcoffee.org

Page 25: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

When Building MSAs, Remember . . .

Building MSAs is not an exact science

Your sequences make up the most important ingredient • If your alignment looks bad, change the sequences

Assembling a good MSA is an iterative (try-again) process• Select a few sequences• Align them• Evaluate visual the MSA• Add or remove sequences• Re-align them

Page 26: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Interpreting Your MSA

Don’t put blind trust in the output of the servers• Specialists always edit their MSAs by hand

You must always estimate the biological accuracy of your MSA• Use the color code of Tcoffee • Use the conservation patterns of ClustalW:

• ‘*’ Completely conserved position• ‘:’ Highly conserved position • ‘.’ Conserved position

Use experimental knowledge of your proteins

Page 27: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Understanding Conserved Positions

Page 28: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

When Sequences Are Hard to Align

Most MSA programs assume your sequences are related

along their whole length

When this assumption is not true, the progressive approach

will not work

The only alternative is to compare multiple sequences locally

Page 29: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Local Multiple-Comparison Methods

Gibbs Sampler• Will make a local multiple alignment• Will ignore unrelated segments of your sequences• Ideal for finding DNA patterns such as promoters

Motif discovery methods• Will look for motifs conserved in your sequences• The sequences do not need to be aligned

The most popular motif-discovery methods:• TEIRESIAS, MEME, SMILE, PRATT

Page 30: © Wiley Publishing. 2007. All Rights Reserved. Building Multiple- Sequence Alignments

Going FartherAssembling MSAs is a bit of an art

Experience is a key factor

Most methods are now available online

Make sure you know which method to use:• ClustalW-like method to align homologous sequences• Motif method to look for conserved regions