Graph Theory and Its Applications
Graph Theory and Its Applications
Its Applications
GRAPHS IN BIO-INFORMATICS
What is a Graph?
a b
i d
e
h
f
g
Vertices
GRAPHS IN BIO-INFORMATICS
What is a Graph?
a b
i d
e
h
f
g
Edges
GRAPHS IN BIO-INFORMATICS
What is a Graph?
a b
i d
e
h Vertices
f
g
Edges
GRAPHS IN BIO-INFORMATICS
A Real-life Puzzle
GRAPHS IN BIO-INFORMATICS
GRAPHS IN BIO-INFORMATICS
GRAPHS IN BIO-INFORMATICS
The problem
reduces to
finding an
Eulerian
Circuit in a
graph
GRAPHS IN BIO-INFORMATICS
Treasure Island
Tale of an Ancient King
Treasure Island
Tale of an Ancient King
Treasure Island
Tale of an Ancient King
Treasure Island
Tale of an Ancient King
Treasure Island
Tale of an Ancient King
u1
u2
# r1 = 6
G # r2 = 5
Tale of an Ancient King
u1
u2
# r1 = 6
G # r2 = 5
Applications: Grid Computing
Canal
Water Network
Pump
Plots in a region to be irrigated
47
Applications
• Connected canals
Region to be irrigated
Modeling 49
Applications
B
A
E F
G C
Interconnection graph
VLSI Floorplanning
B
B
A A
E F F
E
G C
G C
D
D
B
B
A A
E F F
E
G C
G C
D
D
B
B
A A
E F F
E
G C
G C
D
D
B
B
A A
E F F
E
G C
G C
D
D
B
A
E F
G C
D
Dual-like graph
VLSI Floorplanning
B
B
A A
E F F
E
G C
G C
D
D
B B
A A
F E F
E
G G C
C
D D
B
B
A A
E F F
E
G C Rectangular
G C
D drawing
D
B B
A A
F E F
E
G G C
C
D D
Graphs in Bioinformatics
An Early Application
In the 1950s, Seymour Benzer applied graph theory to
show that genes are linear.
GRAPHS IN BIO-INFORMATICS
Graphs in Bioinformatics
An Early Application
Benzer’s problem was equivalent to deciding whether the graph
obtained from his bacteriophage experiment represented an
interval graph.
1 1 2
2
3 3
6
4
5
6 5 4
Graphs in Bioinformatics
Graphs in Bioinformatics
Solve
Problems Solution to
Graph using
in Genomics
Model Graph
Genomics Problems
Algorithms
GRAPHS IN BIO-INFORMATICS
Graphs in Bioinformatics
Problem: DNA Sequencing by Hybridization (SBH)
Given an array of subsequences,
Graphs in Bioinformatics
Modeling SBH as a Hamiltonian Path Problem
S = { ATG TGG TGC GTG GGC GCA GCG CGT}
Graphs in Bioinformatics
Modeling SBH as a Hamiltonian Path Problem
S = { ATG TGG TGC GTG GGC GCA GCG CGT}
Graph
Solution 1:
ATGCGTGGCA
Solution 2:
ATGGCGTGCA
GRAPHS IN BIO-INFORMATICS
Graphs in Bioinformatics
Modeling SBH as a Hamiltonian Path Problem
Graphs in Bioinformatics
Modeling SBH as an Eulerian Path Problem
S = { ATG TGG TGC GTG GGC GCA GCG CGT}
GT CG
TG GC
AT CA
GG
Graphs in Bioinformatics
Modeling SBH as an Eulerian Path Problem
S = { ATG TGG TGC GTG GGC GCA GCG CGT}
GT CG
TG GC
AT CA
GT CG
GT CG
GG
TG GC
TG GC
AT CA
AT CA
GG
GG
Solution 1: Solution 2:
ATGGCGTGCA ATGCGTGGCA
Pairwise Compatibility Graphs
Pairwise Compatible Graphs: Easy to Construct
h
0.5 0.5
f i
1 1 1 1 3 dmin= 4
k j
e b a
4 3
dmax= 7
d c
5 ∈ [4,7]
h
0.5 0.5
f i
1 1 dmin= 4 5 a/
1 1 3
k j
e b a
4 3 e/ b/
dmax= 7
d c d/ c/
T
G
3 ∉ [4,7]
h
0.5 0.5
f i
1 1 dmin= 4 5 a/
1 1 3
k j 3
e b a
4 3 e /
b/
dmax= 7
d c d/ c/
T
G
7 ∈ [4,7]
h
0.5 0.5
f i
1 1 dmin= 4 5 a/
1 1 3
k j
e b a 7
4 3 e/ b/
dmax= 7
d c d/ c/
T
G
h
0.5 0.5
f i
1 dmin= 4 a/
1 1 How
1 3 hard is the
k j
e
4 3
Reverse
b a Problem? e/ b/
dmax= 7
d c d/
c/
T
G
h
f 0.5 0.5
i
1 1 dmin= 4 a/
1 1 3
k j
e b ,d a
2 (T,3 dmin max) ?
e/ b/
dmax= 7
d c d/
c/
T G
dmin = 2
dmax = 3.5
Output
Input
dmin = 1.5
dmax = 2
Given a graph G, is there an edge weighted tree T and two non-negative integers
dmin, dmax, such that G is
Another (T, dmin, dOutput
a PCG of possible max)?
Pairwise Compatibility Tree Construction
1
1 1
1 1
G
Pairwise-Compatibility Tree
Complete Graphs of G for dmin=2, dmax=2
1 1
1 1
1
1 1
G
Complete Bipartite Graphs Pairwise-Compatibility Tree
of G for dmin=3, dmax=3
79
Historical Background
[Kearney, Munro, Phillips 2003]
PCGs are used to model evolutionary relationships among a set of organisms.
20
10
20
20
10
m=13
n=8
2n-3=13
G is rigid panel-hinge graph⇒ (G, q) is rigid for almost all hinge configurations
Srinakharinwirot University, Bangkok
Rigidity analysis for probing protein function:
… some examples Monitor effect of mutations on rigidity
Cytochrom c
Nodes: Users
Edges: Friendships
Interesting!
Active users are from the
same community
Critical
Person