CIS786, Lecture 7 Usman Roshan Some of the slides are based upon material by Dennis Livesay and David.

Slides:



Advertisements
Similar presentations
Fa07CSE 182 CSE182-L4: Database filtering. Fa07CSE 182 Summary (through lecture 3) A2 is online We considered the basics of sequence alignment –Opt score.
Advertisements

Multiple Sequence Alignment
Molecular Evolution Revised 29/12/06
BNFO 602 Multiple sequence alignment Usman Roshan.
Protein Functional Site Prediction The identification of protein regions responsible for stability and function is an especially important post-genomic.
Lecture 1 BNFO 601 Usman Roshan. Course overview Perl progamming language (and some Unix basics) –Unix basics –Intro Perl exercises –Dynamic programming.
1 “INTRODUCTION TO BIOINFORMATICS” “SPRING 2005” “Dr. N AYDIN” Lecture 4 Multiple Sequence Alignment Doç. Dr. Nizamettin AYDIN
Heuristic alignment algorithms and cost matrices
BNFO 602 Phylogenetics Usman Roshan.
1 Protein Multiple Alignment by Konstantin Davydov.
Multiple Sequence Alignment Algorithms in Computational Biology Spring 2006 Most of the slides were created by Dan Geiger and Ydo Wexler and edited by.
Bioinformatics and Phylogenetic Analysis
Expected accuracy sequence alignment
Lecture 1 BNFO 240 Usman Roshan. Course overview Perl progamming language (and some Unix basics) Sequence alignment problem –Algorithm for exact pairwise.
CS262 Lecture 9, Win07, Batzoglou Multiple Sequence Alignments.
BNFO 602, Lecture 2 Usman Roshan Some of the slides are based upon material by David Wishart of University.
BNFO 602 Lecture 2 Usman Roshan. Sequence Alignment Widely used in bioinformatics Proteins and genes are of different lengths due to error in sequencing.
BNFO 240 Usman Roshan. Last time Traceback for alignment How to select the gap penalties? Benchmark alignments –Structural superimposition –BAliBASE.
BNFO 602, Lecture 3 Usman Roshan Some of the slides are based upon material by David Wishart of University.
Lecture 1 BNFO 601 Usman Roshan. Course overview Perl progamming language (and some Unix basics) –Unix basics –Intro Perl exercises –Sequence alignment.
Multiple sequence alignments and motif discovery Tutorial 5.
Evaluating alignments using motif detection Let’s evaluate alignments by searching for motifs If alignment X reveals more functional motifs than Y using.
Similar Sequence Similar Function Charles Yan Spring 2006.
Sequence Alignment III CIS 667 February 10, 2004.
BNFO 602 Lecture 2 Usman Roshan. Bioinformatics problems Sequence alignment: oldest and still actively studied Genome-wide association studies: new problem,
BNFO 602 Multiple sequence alignment Usman Roshan.
BNFO 235 Lecture 5 Usman Roshan. What we have done to date Basic Perl –Data types: numbers, strings, arrays, and hashes –Control structures: If-else,
Phylogeny reconstruction BNFO 602 Roshan. Simulation studies.
BNFO 602 Phylogenetics Usman Roshan. Summary of last time Models of evolution Distance based tree reconstruction –Neighbor joining –UPGMA.
Protein Multiple Sequence Alignment Sarah Aerni CS374 December 7, 2006.
Bioinformatics Unit 1: Data Bases and Alignments Lecture 3: “Homology” Searches and Sequence Alignments (cont.) The Mechanics of Alignments.
CIS786, Lecture 6 Usman Roshan Some of the slides are based upon material by David Wishart of University.
Multiple Sequence Alignments
CIS786, Lecture 8 Usman Roshan Some of the slides are based upon material by Dennis Livesay and David.
Chapter 5 Multiple Sequence Alignment.
Alignment Statistics and Substitution Matrices BMI/CS 576 Colin Dewey Fall 2010.
Multiple Sequence Alignment CSC391/691 Bioinformatics Spring 2004 Fetrow/Burg/Miller (Slides by J. Burg)
Multiple sequence alignment
Multiple Sequence Alignment
Phylogeny Estimation: Traditional and Bayesian Approaches Molecular Evolution, 2003
Practical multiple sequence algorithms Sushmita Roy BMI/CS 576 Sushmita Roy Sep 24th, 2013.
Eric C. Rouchka, University of Louisville SATCHMO: sequence alignment and tree construction using hidden Markov models Edgar, R.C. and Sjolander, K. Bioinformatics.
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Construction of Substitution Matrices
Calculating branch lengths from distances. ABC A B C----- a b c.
Bioinformatics Multiple Alignment. Overview Introduction Multiple Alignments Global multiple alignment –Introduction –Scoring –Algorithms.
Sequence Alignment Only things that are homologous should be compared in a phylogenetic analysis Homologous – sharing a common ancestor This is true for.
BLAST: Basic Local Alignment Search Tool Altschul et al. J. Mol Bio CS 466 Saurabh Sinha.
Expected accuracy sequence alignment Usman Roshan.
Techniques for Protein Sequence Alignment and Database Searching (part2) G P S Raghava Scientist & Head Bioinformatics Centre, Institute of Microbial Technology,
Doug Raiford Lesson 5.  Dynamic programming methods  Needleman-Wunsch (global alignment)  Smith-Waterman (local alignment)  BLAST Fixed: best Linear:
Sequence Alignment.
Burkhard Morgenstern Institut für Mikrobiologie und Genetik Molekulare Evolution und Rekonstruktion von phylogenetischen Bäumen WS 2006/2007.
Construction of Substitution matrices
Sequence Alignment Abhishek Niroula Department of Experimental Medical Science Lund University
Step 3: Tools Database Searching
The statistics of pairwise alignment BMI/CS 576 Colin Dewey Fall 2015.
Expected accuracy sequence alignment Usman Roshan.
V diagonal lines give equivalent residues ILS TRIVHVNSILPSTN V I L S T R I V I L P E F S T Sequence A Sequence B Dot Plots, Path Matrices, Score Matrices.
Lecture 1 BNFO 601 Usman Roshan. Course overview Perl progamming language (and some Unix basics) –Unix basics –Intro Perl exercises –Dynamic programming.
More on HMMs and Multiple Sequence Alignment BMI/CS 776 Mark Craven March 2002.
Techniques for Protein Sequence Alignment and Database Searching G P S Raghava Scientist & Head Bioinformatics Centre, Institute of Microbial Technology,
Substitution Matrices and Alignment Statistics BMI/CS 776 Mark Craven February 2002.
Database Scanning/Searching FASTA/BLAST/PSIBLAST G P S Raghava.
Distance based phylogenetics
Multiple sequence alignment (msa)
BNFO 602 Lecture 2 Usman Roshan.
BNFO 602 Phylogenetics Usman Roshan.
BNFO 602 Phylogenetics – maximum parsimony
BNFO 602 Lecture 2 Usman Roshan.
Presentation transcript:

CIS786, Lecture 7 Usman Roshan Some of the slides are based upon material by Dennis Livesay and David La of California State University at Pomona

Previously…

Sequence alignments They tell us about Function or activity of a new gene/protein Structure or shape of a new protein Location or preferred location of a protein Stability of a gene or protein Origin of a gene or protein Origin or phylogeny of an organelle Origin or phylogeny of an organism And more…

Dynamic programming for pairwise alignment Time and space complexity is O(mn) Define V(i,j) to be the optimal pairwise alignment score between S 1..i and T 1..j (|S|=m, |T|=n)

Local alignment Finding optimally aligned local regions

BLAST Key idea: search for k-mers (short matchig substrings) quickly by preprocessing the database.

BLAST This key idea can also be used for speeding up pairwise alignments when doing multiple sequence alignments

Biologically realistic scoring matrices PAM and BLOSUM are most popular PAM was developed by Margaret Dayhoff and co-workers in 1978 by examining 1572 mutations between 71 families of closely related proteins BLOSUM is more recent and computed from blocks of sequences with sufficient similarity

Multiple sequence alignment “Two sequences whisper, multiple sequences shout out loud”---Arthur Lesk Computationally very hard---NP-hard

Multiple sequence alignment Unaligned sequences GGCTT TAGGCCTT TAGCCCTTA ACACTTC ACTT Aligned sequences _G_ _ GCTT_ TAGGCCTT_ TAGCCCTTA A_ _CACTTC A_ _C_ CTT_ Conserved regions help us to identify functionality

Sum of pairs score

Tree Alignment TAGGCCTT_ (Human) TAGCCCTTA (Monkey) A__C_CTT_ (Cat) A__CACTTC (Lion) _G__GCTT_ (Mouse) TAGGCCTT_A__CACTT_ TGGGGCTT_ AGGGACTT_ Tree alignment score = 14

Profile alignment

Iterative alignment (heuristic for sum-of-pairs) Pick a random sequence from input set S Do (n-1) pairwise alignments and align to closest one t in S Remove t from S and compute profile of alignment While sequences remaining in S –Do |S| pairwise alignments and align to closest one t –Remove t from S

Progressive alignment Idea: perform profile alignments in the order dictated by a tree Given a guide-tree do a post-order search and align sequences in that order Widely used heuristic Can be used for solving tree alignment

Simultaneous alignment and phylogeny reconstruction Given unaligned sequences produce both alignment and phylogeny Known as the generalized tree alignment problem---MAX-SNP hard Iterative improvement heuristic: –Take starting tree –Modify it using say NNI, SPR, or TBR –Compute tree alignment score –If better then select tree otherwise continue until reached a local minimum

Median alignment Idea: iterate over the phylogeny and align every triplet of sequences---takes o(m 3 ) (in general for n sequences it takes O(2 n m n ) time Same profiles can be used as in progressive alignment Produces better tree alignment scores (as observed in experiments) Iteration continues for a specified limit

Popular alignment programs ClustalW: most popular, progressive alignment MUSCLE: fast and accurate, progressive and iterative combination T-COFFEE: slow but accurate, consistency based alignment (align sequences in multiple alignment to be close to the optimal pairwise alignment) PROBCONS: slow but highly accurate, probabilistic consistency progressive based scheme DIALIGN: very good for local alignments

Evaluation of multiple sequence alignments Compare to benchmark “true” alignments Use simulation Measure conservation of an alignment Measure accuracy of phylogenetic trees How well does it align motifs?

BAliBASE Most popular benchmark of alignments Alignments are based upon structure BAliBASE currently consists of 142 reference alignments, containing over 1000 sequences. Of the 200,000 residues in the database, 58% are defined within the core blocks. The remaining 42% are in ambiguous regions that cannot be reliably aligned. The alignments are divided into four hierarchical reference sets, reference 1 providing the basis for construction of the following sets. Each of the main sets may be further sub-divided into smaller groups, according to sequence length and percent similarity.

Comparison of alignments on BAliBASE

This time Parsimonious aligner Comparison of alignments under simulation Phylogenetic motifs Comparison of alignments for phylogenetic motif detection

Parsimonious aligner (PAl) 1.Construct progressive alignment A 2.Construct MP tree T on A 3.Construct progressive alignment A’ on guide-tree T 4.Set A=A’ and go to 3 5.Output alignment and tree with best MP score

PAl Faster than iterative improvement Speed and accuracy both depend upon progressive alignment and MP heuristic In practice MUSCLE and TNT are used for constructing alignments and MP trees How does PAl compare against traditional methods? PAl not designed for aligning structural regions but focuses on evolutionary conserved regions Let’s look at performance under simulation

Evaluating alignments under simulation We first need a way to evolve sequences with insertions and deletions NOTE: evolutionary models we have encountered so far do not account for insertions and deletions Not known exactly how to model insertions and deletions

ROSE Evolve sequences under an i.i.d. Markov Model Root sequence: probabilities given by a probability vector (for proteins default is Dayhoff et. al. values) Substitutions –Edge length are integers –Probability matrix M is given as input (default is PAM1*) –For edge of length b probabilty of x  y is given by M b xy Insertion and deletions: –Insertions and deletions follow the same probabilistic model –For each edge probability to insert is i ins. –Length of insertion is given by discrete probability distribution (normally exponential) –For edge of length b this is repeated b times. Model tree can be specified as input

Evaluation of alignments Let’s simulate alignments and phylogenies and compare them under simulation!!

Parameters for simulation study Model trees: uniform random distribution and uniformly selected random edge lengths Model of evolution: PAM with insertions and deletions probabilities selected from a gamma distribution (see ROSE software package) Replicate settings: Settings of 50, 100, and 400 taxa, mean sequence lengths of 200 and 500 and avg branch lengths of 10, 25, and 50 were selected. For each setting 10 datasets were produced

Phylogeny accuracy

Alignment accuracy

Running time

Conclusions DIALIGN seems to perform best followed by PAl, MUSCLE, and PROBCONS DIALIGN, however, is slower than PAl Does this mean DIALIGN is the best alignment program?

Conclusions DIALIGN seems to perform best followed by PAl, MUSCLE, and PROBCONS DIALIGN, however, is slower than PAl Does this mean DIALIGN is the best alignment program? Not necessarily: experiments were performed under uniform random trees with uniform random edge lengths. Not clear if this emulates the real deal.

Conclusions

Sum-of-pairs vs MP score

Conclusions Optimizing MP scores under this simulation model leads to better phylogenies and alignments

Conclusions Optimizing MP scores under this simulation model leads to better phylogenies and alignments What other models can we try?

Conclusions Optimizing MP scores under this simulation model leads to better phylogenies and alignments What other models can we try? Real data phylogenies as model trees Birth-death model trees Other distributions for model trees… Branch lengths: similar issues… Evolutionary model parameters estimated from real data

Evaluating alignments using motif detection Let’s evaluate alignments by searching for motifs If alignment X reveals more functional motifs than Y using technique Z then X is better than Y w.r.t. Z Motifs could be functional sites in proteins or functional regions in non-coding DNA

Protein Functional Site Prediction The identification of protein regions responsible for stability and function is an especially important post-genomic problem With the explosion of genomic data from recent sequencing efforts, protein functional site prediction from only sequence is an increasingly important bioinformatic endeavor.

What is a “Functional Site”? Defining what constitutes a “functional site” is not trivial Residues that include and cluster around known functionality are clear candidates for functional sites We define a functional site as catalytic residues, binding sites, and regions that clustering around them.

Protein

Protein + Ligand

Functional Sites (FS)

Regions that Cluster Around FS

Phylogenetic motifs PMs are short sequence fragments that conserve the overall familial phylogeny Are they functional? How do we detect them?

Phylogenetic motifs PMs are short sequence fragments that conserve the overall familial phylogeny Are they functional? How do we detect them? First we design a simple heuristic to find them Then we see if the detected sites are functional

Scan for Similar Trees Whole Tree

Scan for Similar Trees Whole Tree

Scan for Similar Trees Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 8 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 4 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 8 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 0 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 8 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 0 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Scan for Similar Trees Partition Metric Score: 6 Windowed Tree Whole Tree

Phylogenetic Motif Identification Compare all windowed trees with whole tree and keep track of the partition metric scores Compare all windowed trees with whole tree and keep track of the partition metric scores Normalize all partition metric scores by calculating z-scores Normalize all partition metric scores by calculating z-scores Call these normalized scores Phylogenetic Similarity Z-scores (PSZ) Call these normalized scores Phylogenetic Similarity Z-scores (PSZ) Set a PSZ threshold for identifying windows that represent phylogenetic motifs Set a PSZ threshold for identifying windows that represent phylogenetic motifs

Set PSZ Threshold

Regions of PMs

Map PMs to the Structure

Set PSZ Threshold

Map PMs to the Structure Map Set PSZ Threshold

Map PMs to the Structure Map Set PSZ Threshold

PMs in Various Structures

PMs and Traditional Motifs

TIM Phylogenetic Similarity False Positive Expectation

TIM Phylogenetic Similarity False Positive Expectation

TIM Phylogenetic Similarity False Positive Expectation

TIM Phylogenetic Similarity False Positive Expectation

Cytochrome P450 Phylogenetic Similarity False Positive Expectation

Cytochrome P450 Phylogenetic Similarity False Positive Expectation

Enolase Phylogenetic Similarity False Positive Expectation

Glycerol Kinase Phylogenetic Similarity False Positive Expectation

Glycerol Kinase Phylogenetic Similarity False Positive Expectation

Myoglobin Phylogenetic Similarity False Positive Expectation

Myoglobin Phylogenetic Similarity False Positive Expectation

Evaluating alignments For a given alignment compute the PMs Determine the number of functional PMs Those identifying more functional PMs will be classified as better alignments

Protein datasets

Running time

Functional PMs PAl=blue MUSCLE=red Both=green (a)=enolase, (b)ammonia channel, (c)=tri-isomerase, (d)=permease, (e)=cytochrome