Docsity

Multiple Sequence Alignment: Methods and Applications, Study notes of Chemistry

Partial preview of the text

Download Multiple Sequence Alignment: Methods and Applications and more Study notes Chemistry in PDF only on Docsity!

Multiple Sequence Alignment

BME 110: CompBio Tools

Todd Lowe

April 28, 2009

Original Slides: Carol Rohl

Multiple Sequence Alignment

• Multiple sequence alignment (MSA) is one of the

most important bioinformatics tools

• Many applications require accurate MSAs

• PSI-BLAST

• Family and domain classification

• Pattern identification

• Structure prediction

• secondary structure

• fold recognition

• Phylogeny

• Full-genome alignments in browsers

Methods

• Dynamic Programming

• Gives the optimal solution, but prohibitively slow for >6-8 sequencs

• MSA program is an example

• Progressive Alignment

• ClustalW

• http://www.ebi.ac.uk/clustalw/index.html

(most commonly used)

• Tcoffee

• http://igs-server.cnrs-mrs.fr/Tcoffee/

(a little better, but slower)

• Iterative

• better than progressive methods, but slower

• Dialign

• HMMs

Progressive Alignment

1. Calculate global pair-wise alignments for all pairs

• Needleman and Wunsch

2. Use pairwise alignment scores to calculate a guide tree

describing the distance between all pairs of sequences

3. Align the sequences progressively

• Start with the two most closely related sequences

• Add in sequences in order of increasing distance

• ClustalW uses this method

Input Formats

• FASTA format

• Download from NCBI, ExPASy, EBI, Pfam …

• Sequence names should be

• Unique

• 15 characters or less

• Comprised of only A-Z,a-z,0-9 and _

(Do not use #$%@|*!:;. or spaces)

ClustalW Output

CLUSTAL W (1.82) Multiple Sequence Alignments

Sequence format is Pearson

Sequence 1: sp_P13795 206 aa

Sequence 2: gi_31242623 213 aa

Sequence 3: gi_3822409 195 aa

Sequence 4: gi_39593308 235 aa

Sequence 5: gi_32567202 207 aa

Start of Pairwise alignments

Aligning...

Sequences (1:2) Aligned. Score: 57

Sequences (1:3) Aligned. Score: 59

Sequences (1:4) Aligned. Score: 52

Sequences (1:5) Aligned. Score: 51

Sequences (2:3) Aligned. Score: 77

Sequences (2:4) Aligned. Score: 53

Sequences (2:5) Aligned. Score: 54

Sequences (3:4) Aligned. Score: 60

Sequences (3:5) Aligned. Score: 61

Sequences (4:5) Aligned. Score: 87

Guide tree file created: [/ebi/extserv/old-work/clustalw-20040206-01234219.dnd]

Start of Multiple Alignment

There are 4 groups

Aligning...

Group 1: Sequences: 2 Score:

Group 2: Sequences: 3 Score:

Group 3: Sequences: 2 Score:

Group 4: Sequences: 5 Score:

Alignment Score 7423

CLUSTAL-Alignment file created [/ebi/extserv/old-work/clustalw-20040206-01234219.aln]

Progressive Alignment

• Greedy algorithm

• Breaks problem up into smaller problems

• Finds best solution to each small problem

• Combine solutions to get answer to whole problem

• Not necessarily the global answer

• Doesn’t use all information in solving sub-problems

• Suboptimal answers for small problems may combine to

give a better overall answer

• Gaps: once created, they stay as part of alignment

for rest of alignment iterations

ClustalW Alignment

  • sp_P13795 ---MAEDAD------------------------MRNELEEMQRRADQLADESLESTRRML CLUSTAL W (1.82) multiple sequence alignment
  • gi_31242623 MPAAAPPAENG-------------------AAVPKTELQELQMKQQQVVDESLDSTRRML
  • gi_3822409 MPTTAEPAQE--------------------NGAPRSELQELQLKAGQVTDETLESTRRML
  • gi_39593308 MSARRGAPGGQRHPRPYAVEPTVDINGLVLPADMSDELKGLNVGIDEKTIESLESTRRML
  • gi_32567202 MSGDDDIPEG---------------------------LEAINLKMNATTDDSLESTRRML
  • sp_P13795 QLVEESKDAGIRTLVMLDEQGEQLERIEEGMDQINKDMKEAEKNLTDLGKFCGLCVCPCN : :: :::******
  • gi_31242623 ALCEESTEVGMRTIVMLDEQGEQLDRIEEGMDQINADMREAEKNLSGMEKCCGICVLPCN
  • gi_3822409 ALCEESKEAGIRTLVALDDQGEQLERIEENMDQINADMKEAEKNLTGMEKFCGLCVLPWN
  • gi_39593308 ALCEESKEAGIKTLVMLDDQGEQLERCEGALDTINQDMKEAEDHLKGMEKCCGLCVLPWN
  • gi_32567202 ALCEESKEAGIKTLVMLDDQGEQLERCEGALDTINQDMKEAEDHLKGMEKCCGLCVLPWN
  • sp_P13795 KLKSSDA---YKKAWGNNQDG-VVASQPARVVDEREQMAISGGFIRRVTNDARENEMDEN * .:.::: :*****: * : ** :.:..: * : * *
  • gi_31242623 KSASFKE---DDGTWKGNDDGKVVNNQPQRVMDDRNGLGPQAGYIGRITNDAREDEMEEN
  • gi_3822409 KSAPFKE---NEDAWKGNDDGKVVNNQPQRVMDDGSGLGPQGGYIGRITNDAREDEMEEN
  • gi_39593308 KTDDFEKNSEYAKAWKKDDDGGVISDQPRITVGDPT-MGPQGGYITKITNDAREDEMDEN
  • gi_32567202 KTDDFEK-TEFAKAWKKDDDGGVISDQPRITVGDSS-MGPQGGYITKITNDAREDEMDEN
  • sp_P13795 LEQVSGIIGNLRHMALDMGNEIDTQNRQIDRIMEKADSNKTRIDEANQRATKMLGSG * :* ::** : .* .:.: :. ..: ::******::
  • gi_31242623 MGQVNTMIGNLRNMALDMGSELENQNRQIDRINRKGDSNATRIAAANERAHDLLK--
  • gi_3822409 VGQVNTMIGNLRNMAIDMGSELENQNRQIDRIKNKAEM-------------------
  • gi_39593308 IQQVSTMVGNLRNMAIDMSTEVSNQNRQLDRIHDKAQSNEVRVESANKRAKNLITK-
  • gi_32567202 VQQVSTMVGNLRNMAIDMSTEVSNQNRQLDRIHDKAQSNEVRVESANKRAKNLITK-

Aligned FASTA (A2M) Format

>SN29_RAT/142-

PSSRLKEAINTSKDQESKYQASHPNLRRLHDAE---LDSVPASTV----NTEVY-----P

KNSSL---R-----A

>SN29_HUMAN/142-

PNNRLKEAISTSKEQEAKYQASHPNLR-------KLDDTDPVPRGA---GSAMSTDA-YP

KNPHL---R-----A

>SN25_TORMA/95-

PCNK----LKNFEAGGAYKKVWGNNQD------G-VVASQP-ARVMD-DREQMA-----M

SGGYI--RRI-TDDA

>O93578/11-

PCNK----MKS-----GASKAWGNNQD------G-VVASQP-ARVVD-EREQMA-----I

SGGFI--RRV-TDDA

>SN25_DROME/98-

PCNK----SQSFK---EDDGTWKGNDD------GKVVNNQP-QRVMD-DRNGM-----MA

QAGYI--GRI-TNDA

• Uppercase and ‘-’ characters are alignment columns. There must be the

same number of aligned characters in all sequences.

• Insertions that are not part of the alignment, are indicated with lower

case and ‘.’ characters. These are not read (i.e. they’re for humans

only)

• Benefits

  • Easily machine readable
  • Readable by most programs that read FASTA format

Graphical - Jalview

  • Postscript, PDF, HTML
  • Looks pretty and very visually informative
  • Completely useless for further computational analysis. DO NOT SAVE GRAPHICS AS YOUR ONLY OUTPUT
  • Jalview -- Java alignment editor (http://www.jalview.org)
    • Available as an online applet or as an application
    • Makes nice pictures and allow interactive editing

Tcoffee

• Makes a library of pair-wise global and several

local alignments

• Tries to find a multiple alignment that has best

consensus with all alignments in the library.

• Still a progressive algorithm

• Slower, but usually a bit better than ClustalW

Other Uses of MSA Servers

• ClustalW can refine an alignment

• If sequences are aligned when submitted, this info is

used.

• Tcoffee can

• Combine alignments

• Evaluate alignment quality

• Use structural information if available

Which Sequences?

• Don’t include too many

• Problems are VERY slow for many sequences

• Start with 10-15 or so.

• Closely related sequences are easy to align, but

less informative. The converse is true for more

distantly related sequences

• No identical sequences

• Each sequence 30-70% identical with at least half of the

other sequences.

Strategies

• Visually inspect alignment and try eliminating

sequences that seem problematic.

• Avoid sequences with long insertions and/or

terminal extensions

• “Orphan” sequences (highly divergent members of

a family) usually don’t disrupt alignment because

they’re the last to be aligned.