660 likes | 677 Views
C. E. N. T. E. R. F. O. R. I. N. T. E. G. R. A. T. I. V. E. B. I. O. I. N. F. O. R. M. A. T. I. C. S. V. U. Introduction to Bioinformatics. Lecture 16 Intracellular Networks Graph theory. High-throughput Biological Data.
E N D
C E N T E R F O R I N T E G R A T I V E B I O I N F O R M A T I C S V U Introduction to Bioinformatics Lecture 16 Intracellular Networks Graph theory
High-throughput Biological Data • Enormous amounts of biological data are being generated by high-throughput capabilities; even more are coming • genomic sequences • gene expression data • mass spectrometry data • protein-protein interaction data • protein structures • ...... • Hidden in these data is information that reflects • existence, organization, activity, functionality …… of biological machineries at different levels in living organisms
Bio-Data Analysis andData Mining • Existing/emerging bio-data analysis and mining tools for • DNA sequence assembly • Genetic map construction • Sequence comparison and database search • Gene finding • …. • Gene expression data analysis • Phylogenetic tree analysis to infer horizontally-transferred genes • Mass spec. data analysis for protein complex characterization • …… • Current prevailing mode of work Developing ad hoc tools for each individual application
Bio-Data Analysis and Data Mining • As the amount and types of data and the needs to establish connections across multi-data sources increase rapidly, the number of analysis tools needed will go up “exponentially” • blast, blastp, blastx, blastn, … from BLAST family of tools • gene finding tools for human, mouse, fly, rice, cyanobacteria, ….. • tools for finding various signals in genomic sequences, protein-binding sites, splice junction sites, translation start sites, ….. Many of these data analysis problems are fundamentally the same problem(s) and can be solved using the same set of tools Developing ad hoc tools for each application problem (by each group of individual researchers) may soon become inadequate as bio-data production capabilities further ramp up
Data Clustering • Many biological data analysis problems can be formulated as clustering problems • microarray gene expression data analysis • arrayCGH data (chromosomal gains and losses) • identification of regulatory binding sites (similarly, splice junction sites, translation start sites, ......) • (yeast) two-hybrid data analysis (for inference of protein complexes) • phylogenetic tree clustering (for inference of horizontally transferred genes) • protein domain identification • identification of structural motifs • prediction reliability assessment of protein structures • NMR peak assignments • ......
Data Clustering: an example • Regulatory binding-sites are short conserved sequence fragments in promoter regions • Solving binding-site identification as a clustering problem • Project all fragments into Euclidean space so that similar fragments are projected to nearby positions and dissimilar fragments to far positions • Observation: conserved fragments form “clusters” in a noisy background ........acgtttataatggcg ...... ........ggctttatattcgtc ...... ........ccgaatataatcta .......
Data Clustering Problems • Clustering: partition a data set into clusters so that data points of the same cluster are “similar” and points of different clusters are “dissimilar” • Cluster identification-- identifying clusters with significantly different features than the background
Multivariate statistics – Cluster analysis C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Raw table Any set of numbers per column • Multi-dimensional problems • Objects can be viewed as a cloud of points in a multidimensional space • Need ways to group the data
Multivariate statistics – Cluster analysis C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Raw table Any set of numbers per column Similarity criterion Similarity matrix Scores 5×5 Cluster criterion Dendrogram
Cluster analysis – data normalisation/weighting C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Raw table Normalisation criterion C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Normalised table Column normalisation x/max Column range normalisation (x-min)/(max-min)
Cluster analysis – (dis)similarity matrix C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Raw table Similarity criterion Similarity matrix Scores 5×5 Di,j= (k | xik – xjk|r)1/r Minkowski metrics r = 2 Euclidean distance r = 1 City block distance
Cluster analysis – Clustering criteria Similarity matrix Scores 5×5 Cluster criterion Dendrogram (tree) Single linkage - Nearest neighbour Complete linkage – Furthest neighbour Group averaging – UPGMA (phylogeny) Ward Neighbour joining – global measure (phylogeny)
Cluster analysis – Clustering criteria • Start with N clusters of 1 object each • Apply clustering distance criterion iteratively until you have 1 cluster of N objects • Most interesting clustering somewhere in between distance Dendrogram (tree) 1 cluster N clusters
Single linkage clustering (nearest neighbour) Char 2 Char 1
Single linkage clustering (nearest neighbour) Char 2 Char 1
Single linkage clustering (nearest neighbour) Char 2 Char 1
Single linkage clustering (nearest neighbour) Char 2 Char 1
Single linkage clustering (nearest neighbour) Char 2 Char 1
Single linkage clustering (nearest neighbour) Char 2 Char 1 Distance from point to cluster is defined as the smallest distance between that point and any point in the cluster
Single linkage clustering (nearest neighbour) Let Ci andCj be two disjoint clusters: di,j = Min(dp,q), where p Ci and q Cj Single linkage dendrograms typically show chaining behaviour (i.e., all the time a single object is added to existing cluster)
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1
Complete linkage clustering (furthest neighbour) Char 2 Char 1 Distance from point to cluster is defined as the largest distance between that point and any point in the cluster
Complete linkage clustering (furthest neighbour) Let Ci andCj be two disjoint clusters: di,j = Max(dp,q), where p Ci and q Cj More ‘structured’ clusters than with single linkage clustering
Clustering algorithm • Initialise (dis)similarity matrix • Take two points with smallest distance as first cluster • Merge corresponding rows/columns in (dis)similarity matrix • Repeat steps 2. and 3. • using appropriate cluster • measure until last two clusters are merged
Average linkage clustering (Unweighted Pair Group Mean Averaging -UPGMA) Char 2 Char 1 Distance from cluster to cluster is defined as the average distance over all within-cluster distances
UPGMA Let Ci andCj be two disjoint clusters: 1 di,j = ————————pqdp,q, where p Ci and q Cj |Ci| × |Cj| Ci Cj In words: calculate the average over all pairwise inter-cluster distances
Multivariate statistics – Cluster analysis C1 C2 C3 C4 C5 C6 .. 1 2 3 4 5 Data table Similarity criterion Similarity matrix Scores 5×5 Cluster criterion Phylogenetic tree
Multivariate statistics – Cluster analysis C1 C2 C3 C4 C5 C6 1 2 3 4 5 Similarity criterion Scores 6×6 Cluster criterion Scores 5×5 Cluster criterion Make two-way ordered table using dendrograms
Multivariate statistics – Two-way cluster analysis C4 C3 C6 C1 C2 C5 1 4 2 5 3 Make two-way (rows, columns) ordered table using dendrograms; This shows ‘blocks’ of numbers that are similar
Graph theory The river Pregal in Königsberg – the Königsberg bridge problem and Euler’s graph Can you start at some land area (S1, S2, I1, I2) and walk each bridge exactly once returning to the starting land area?
Graphs - definition • Digraphs: Directed graphs • Complete graphs: have all possible edges • Planar graphs: can be presented in 2D and have no crossing edges (e.g. chip design)
Graphs - definition 0 1 1.5 2 5 6 7 9 1 0 2 1 6.5 6 8 8 1.5 2 0 1 4 4 6 5.5 . . . Graph Adjacency matrix An undirected graph has a symmetric adjacency matrix A digraph typically has a non-symmetric adjacency matrix
Example application – OBSTRUCT: creating non-redundant datasets of protein structures • Based on all-against-all global sequence alignment • Create all-against-all sequence similarity matrix • Filter matrix based on desired similarity range (convert to ‘0’ and ‘1’ values) • Form maximal clique (largest complete subgraph) by ordering rows and columns • This is an NP-complete problem (NP = non-polynomial) and thus problem scales exponentially with number of vertices (proteins)
Example application 1 – OBSTRUCT: creating non-redundant datasets of protein structures • Statistical research on protein structures typically requires a database of a maximum number of non-redundant (i.e. non-homologous) structures • Often, two structures that have a sequence identity of less than 25% are taken as non-redundant • Given an initial set of N structures (with corresponding sequences) and all-against-all pair-wise alignments: • Find the largest possible subset where each sequence has <25% sequence identity with any other sequence Heringa, J., Sommerfeldt, H., Higgins, D., and Argos, P. (1992). Obstruct: a program to obtain largest cliques from a protein sequence set according to structural resolution and sequence similarity. Comp. Appl. Biosci. (CABIOS) 8, 599-600.
Example application 1 – OBSTRUCT: creating non-redundant datasets of protein structures (Cnt.) • The problem now can be formalised as follows: • Make a graph containing all sequences as vertices (nodes) • Connect two nodes with an edge if their sequence identity < 25% • Make an adjacency matrix following the above rules Heringa, J., Sommerfeldt, H., Higgins, D., and Argos, P. (1992). Obstruct: a program to obtain largest cliques from a protein sequence set according to structural resolution and sequence similarity. Comp. Appl. Biosci. (CABIOS) 8, 599-600.
Example application 1 – OBSTRUCT: creating non-redundant datasets of protein structures (Cnt.) • The algorithm: • Now try and reorder the rows (and columns in the same way) such that we get a square only consisting of 1’s in the upper left corner • This corresponds to a complete graph (also called clique) containing a set of non-redundant proteins Heringa, J., Sommerfeldt, H., Higgins, D., and Argos, P. (1992). Obstruct: a program to obtain largest cliques from a protein sequence set according to structural resolution and sequence similarity. Comp. Appl. Biosci. (CABIOS) 8, 599-600.
Example application 1 – OBSTRUCT: creating non-redundant datasets of protein structures (Cnt.) • Order sum array and reorder rows and columns accordingly… • Estimate largest possible clique and take subset of adj. matrix containing only rows with enough 1s • For a clique of size N, a subset of M rows (and columns), where M N, with at least N 1s is selected. • Go to step 1. 5 4 6 4 .. 1 0 1 1 1 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 1 1 0 0 0 0 1 . . . . . . . Adjacency matrix Heringa, J., Sommerfeldt, H., Higgins, D., and Argos, P. (1992). Obstruct: a program to obtain largest cliques from a protein sequence set according to structural resolution and sequence similarity. Comp. Appl. Biosci. (CABIOS) 8, 599-600.
Some books call graphs containing multiple edges or loops a multigraph, and those without a graph. Other books allow multiple edges or loops in a graph, but then talk about a graphwithout multiple edges and loops as a simple graph.
Remarks A multigraph might have no multiple edgesor loops. Every (simple) graph is a multigraph, but notevery multigraph is a (simple) graph. Every graph is finite Sometimes even “multigraph” folks talk about a “simple graph” toemphasize that there are no multiple edges and loops.
Further definitions K3,3
Further definitions • bipartite • A graph is bipartite if its vertices can be partitioned into two disjoint subsets U and V such that each edge connects a vertex from U to one from V. A bipartite graph is a complete bipartite graph if every vertex in U is connected to every vertex in V. If U has n elements and V has m, then we denote the resulting complete bipartite graph by Kn,m. K3,3