![Page 1: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/1.jpg)
www.bioalgorithms.infoAn Introduction to Bioinformatics Algorithms
Graph AlgorithmsGraph AlgorithmsGraph AlgorithmsGraph Algorithmsin Bioinformaticsin Bioinformaticsin Bioinformaticsin Bioinformatics
![Page 2: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/2.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
The Bridge Problem
Bridges of Königsberg
Find a tour crossing every bridge just onceLeonhard Euler, 1735
![Page 3: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/3.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Eulerian Cycle Problem• Find a cycle that
visits every edge exactly once
• Linear time
More complicated Königsberg
![Page 4: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/4.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Hamiltonian Cycle Problem• Find a cycle that
visits every vertexexactly once
• NP – complete
Game invented by Sir William Hamilton in 1857
![Page 5: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/5.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Mapping Problems to Graphs• Arthur Cayley studied
chemical structures of hydrocarbons in the mid-1800s
• He used trees(acyclic connected graphs) to enumerate structural isomers
![Page 6: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/6.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Beginning of Graph Theory in BiologyBenzer’s work
• Developed deletion mapping
• “Proved” linearity of the gene
• Demonstrated internal structure of the gene
Seymour Benzer, 1950s
![Page 7: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/7.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Viruses Attack Bacteria
• Normally bacteriophage T4 kills bacteria
• However if T4 is mutated (e.g., an important gene is deleted) it gets disable and looses an ability to kill bacteria
• Suppose the bacteria is infected with two different mutants each of which is disabled – would the bacteria still survive?
• Amazingly, a pair of disable viruses can kill a bacteria even if each of them is disabled.
• How can it be explained?
![Page 8: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/8.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Benzer’s Experiment
• Idea: infect bacteria with pairs of mutant T4 bacteriophage (virus)
• Each T4 mutant has an unknown interval deleted from its genome
• If the two intervals overlap: T4 pair is missing part of its genome and is disabled – bacteria survive
• If the two intervals do not overlap: T4 pair has its entire genome and is enabled –bacteria die
![Page 9: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/9.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Complementation between pairs of mutant T4 bacteriophages
![Page 10: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/10.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Benzer’s Experiment and Graphs
• Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant pairs where bacteria survived (i.e., the deleted intervals in the pair of mutants overlap)
• Interval graph structure reveals whether DNA is linear or branched DNA
![Page 11: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/11.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Interval Graph: Linear Genes
![Page 12: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/12.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Interval Graph: Branched Genes
![Page 13: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/13.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Interval Graph: Comparison
Linear genome Branched genome
![Page 14: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/14.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
DNA Sequencing: HistorySanger method (1977):
labeled ddNTPsterminate DNA copying at random points.
Both methods generate
labeled fragments of
varying lengths that are
further electrophoresed.
Gilbert method (1977):
chemical method to cleave DNA at specific points (G, G+A, T+C, C).
![Page 15: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/15.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Sanger Method: Generating Read
1. Start at primer
(restriction site)
2. Grow DNA chain
3. Include ddNTPs
4. Stops reaction at all
possible points
5. Separate products
by length, using gel
electrophoresis
![Page 16: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/16.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
DNA Sequencing• Shear DNA into
millions of small
fragments
• Read 500 – 700
nucleotides at a time
from the small
fragments (Sanger
method)
![Page 17: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/17.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Fragment Assembly• Computational Challenge: assemble
individual short fragments (reads) into a single genomic sequence (“superstring”)
• Until late 1990s the shotgun fragment assembly of human genome was viewed as intractable problem
![Page 18: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/18.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Shortest Superstring Problem• Problem: Given a set of strings, find a
shortest string that contains all of them• Input: Strings s1, s2,…., sn
• Output: A string s that contains all strings s1, s2,…., sn as substrings, such that the length of s is minimized
• Complexity: NP – complete • Note: this formulation does not take into
account sequencing errors
![Page 19: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/19.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Shortest Superstring Problem: Example
![Page 20: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/20.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Reducing SSP to TSP• Define overlap ( si, sj ) as the length of the longest prefix of
sj that matches a suffix of si.
aaaggcatcaaatctaaaggcatcaaa
aaaggcatcaaatctaaaggcatcaaa
What is overlap ( si, sj ) for these strings?
![Page 21: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/21.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Reducing SSP to TSP• Define overlap ( si, sj ) as the length of the longest prefix of
sj that matches a suffix of si.
aaaggcatcaaatctaaaggcatcaaa
aaaggcatcaaatctaaaggcatcaaa
aaaggcatcaaatctaaaggcatcaaa
overlap=12
![Page 22: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/22.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Reducing SSP to TSP• Define overlap ( si, sj ) as the length of the longest prefix of
sj that matches a suffix of si.
aaaggcatcaaatctaaaggcatcaaa
aaaggcatcaaatctaaaggcatcaaa
aaaggcatcaaatctaaaggcatcaaa
• Construct a graph with n vertices representing the n strings s1, s2,…., sn.
• Insert edges of length overlap ( si, sj ) between vertices si
and sj.
• Find the shortest path which visits every vertex exactly once. This is the Traveling Salesman Problem (TSP), which is also NP – complete.
![Page 23: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/23.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Reducing SSP to TSP (cont’d)
![Page 24: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/24.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SSP to TSP: An ExampleS = { ATC, CCA, CAG, TCC, AGT }
SSP
AGT
CCA
ATC
ATCCAGT
TCC
CAG
ATCCAGT
TSP ATC
CCA
TCC
AGT
CAG
2
2 22
1
1
10
11
![Page 25: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/25.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Sequencing by Hybridization (SBH): History
• 1988: SBH suggested as an an alternative sequencing method. Nobody believed it will ever work
• 1991: Light directed polymer synthesis developed by Steve Fodor and colleagues.
• 1994: Affymetrix develops first 64-kb DNA microarray
First microarray
prototype (1989)
First commercial
DNA microarray
prototype w/16,000
features (1994)
500,000 features
per chip (2002)
![Page 26: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/26.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
How SBH Works• Attach all possible DNA probes of length l to a
flat surface, each probe at a distinct and known
location. This set of probes is called the DNA
array.
• Apply a solution containing fluorescently labeled
DNA fragment to the array.
• The DNA fragment hybridizes with those probes
that are complementary to substrings of length l
of the fragment.
![Page 27: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/27.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
How SBH Works (cont’d)
• Using a spectroscopic detector, determine
which probes hybridize to the DNA fragment
to obtain the l–mer composition of the target
DNA fragment.
• Apply the combinatorial algorithm (below) to
reconstruct the sequence of the target DNA
fragment from the l – mer composition.
![Page 28: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/28.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Hybridization on DNA Array
![Page 29: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/29.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
l-mer composition• Spectrum ( s, l ) - unordered multiset of all
possible (n – l + 1) l-mers in a string s of length n
• The order of individual elements in Spectrum ( s, l )
does not matter
• For s = TATGGTGC all of the following are equivalent representations of Spectrum ( s, 3 ):
{TAT, ATG, TGG, GGT, GTG, TGC}
{ATG, GGT, GTG, TAT, TGC, TGG}
{TGG, TGC, TAT, GTG, GGT, ATG}
![Page 30: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/30.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
l-mer composition• Spectrum ( s, l ) - unordered multiset of all
possible (n – l + 1) l-mers in a string s of length n
• The order of individual elements in Spectrum ( s, l )does not matter
• For s = TATGGTGC all of the following are equivalent representations of Spectrum ( s, 3 ):
{TAT, ATG, TGG, GGT, GTG, TGC}
{ATG, GGT, GTG, TAT, TGC, TGG}
{TGG, TGC, TAT, GTG, GGT, ATG}
• We usually choose the lexicographically maximal representation as the canonical one.
![Page 31: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/31.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Different sequences – the same spectrum
• Different sequences may have the same spectrum:
Spectrum(GTATCT,2)=
Spectrum(GTCTAT,2)=
{AT, CT, GT, TA, TC}
![Page 32: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/32.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
The SBH Problem• Goal: Reconstruct a string from its l-mer
composition
• Input: A set S, representing all l-mers from an (unknown) string s
• Output: String s such that Spectrum ( s,l ) = S
![Page 33: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/33.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SBH: Hamiltonian Path ApproachS = { ATG AGG TGC TCC GTC GGT GCA CAG }
Path visited every VERTEX once
ATG AGG TGC TCCH GTC GGT GCA CAG
ATGCAGG TCC
![Page 34: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/34.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SBH: Hamiltonian Path ApproachA more complicated graph:
S = { ATG TGG TGC GTG GGC GCA GCG CGT }
HH
![Page 35: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/35.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SBH: Hamiltonian Path ApproachS = { ATG TGG TGC GTG GGC GCA GCG CGT }
Path 1:
HH
ATGCGTGGCA
HH
ATGGCGTGCA
Path 2:
![Page 36: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/36.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SBH: Eulerian Path ApproachS = { ATG, TGC, GTG, GGC, GCA, GCG, CGT }
Vertices correspond to ( l – 1 ) – mers : { AT, TG, GC, GG, GT, CA, CG }
Edges correspond to l – mers from S
AT
GT CG
CAGCTG
GGPath visited every EDGE once
![Page 37: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/37.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
SBH: Eulerian Path ApproachS = { AT, TG, GC, GG, GT, CA, CG } corresponds to two different
paths:
ATGGCGTGCA ATGCGTGGCA
AT TG GCCA
GG
GT CG
AT
GT CG
CAGCTG
GG
![Page 38: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/38.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Euler Theorem• A graph is balanced if for every vertex the
number of incoming edges equals to the
number of outgoing edges:
in(v)=out(v)
• Theorem: A connected graph is Eulerian if
and only if each of its vertices is balanced.
![Page 39: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/39.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Euler Theorem: Proof• Eulerian → balanced
for every edge entering v (incoming edge)
there exists an edge leaving v (outgoing
edge). Therefore
in(v)=out(v)
• Balanced → Eulerian
![Page 40: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/40.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Algorithm for Constructing an Eulerian Cycle
a. Start with an arbitrary
vertex v and form an
arbitrary cycle with unused
edges until a dead end is
reached. Since the graph is
Eulerian this dead end is
necessarily the starting
point, i.e., vertex v.
![Page 41: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/41.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Algorithm for Constructing an Eulerian Cycle (cont’d)
b. If cycle from (a) above is
not an Eulerian cycle, it
must contain a vertex w,
which has untraversed
edges. Perform step (a)
again, using vertex w as
the starting point. Once
again, we will end up in
the starting vertex w.
![Page 42: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/42.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Algorithm for Constructing an Eulerian Cycle (cont’d)
c. Combine the cycles
from (a) and (b) into
a single cycle and
iterate step (b).
![Page 43: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/43.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Euler Theorem: Extension• Theorem: A connected graph has an
Eulerian path if and only if it contains at most
two semi-balanced vertices and all other
vertices are balanced.
![Page 44: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/44.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Some Difficulties with SBH• Fidelity of Hybridization: difficult to detect
differences between probes hybridized with perfect matches and 1 or 2 mismatches
• Array Size: Effect of low fidelity can be decreased with longer l-mers, but array size increases exponentially in l. Array size is limited with current technology.
• Practicality: SBH is still impractical. As DNA microarray technology improves, SBH may become practical in the future
• Practicality again: Although SBH is still impractical, it spearheaded expression analysis and SNP analysis techniques
![Page 45: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/45.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Traditional DNA Sequencing
+ =
DNA
DNA fragments
VectorCircular genome(bacterium, plasmid)
Knownlocation(restrictionsite)
![Page 46: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/46.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Different Types of Vectors
> 300,000
Not used much recently
YAC (Yeast Artificial Chromosome)
70,000 - 300,000BAC (Bacterial Artificial
Chromosome)
40,000Cosmid
2,000 - 10,000 Plasmid
Size of insert (bp)VECTOR
![Page 47: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/47.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Shotgun Sequencing
cut many times at random (Shotgun)
genomic segment
Get one or two reads from each
segment~500 bp ~500 bp
![Page 48: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/48.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Fragment Assembly
Cover region with ~7-fold redundancyOverlap reads and extend to reconstruct the
original genomic region
reads
![Page 49: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/49.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Read Coverage
Length of genomic segment: L
Number of reads: n Coverage C = n l / LLength of each read: l
How much coverage is enough?
Lander-Waterman model:
Assuming uniform distribution of reads, C=10 results in 1 gapped region per 1,000,000 nucleotides
CCCC
![Page 50: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/50.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Challenges in Fragment Assembly• Repeats: A major problem for fragment assembly
• > 50% of human genome are repeats:
- over 1 million Alu repeats (about 300 bp)
- about 200,000 LINE repeats (1000 bp and longer)
Repeat Repeat Repeat
Green and blue fragments are interchangeable when assembling repetitive DNA
![Page 51: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/51.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Triazzle: A Fun ExampleThe puzzle looks simple
BUT there are repeats!!!
The repeats make it very difficult.
Try it – only $7.99 atwww.triazzle.com
![Page 52: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/52.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Repeat Types• Low-Complexity DNA (e.g. ATATATATACATA…)
• Microsatellite repeats (a1…ak)N where k ~ 3-6
(e.g. CAGCAGTAGCAGCACCAG)• Transposons/retrotransposons
• SINE Short Interspersed Nuclear Elements(e.g., Alu: ~300 bp long, 106 copies)
• LINE Long Interspersed Nuclear Elements~500 - 5,000 bp long, 200,000 copies
• LTR retroposons Long Terminal Repeats (~700 bp) at each end
• Gene Families genes duplicate & then diverge
• Segmental duplications ~very long, very similar copies
![Page 53: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/53.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlap-Layout-Consensus Assemblers: ARACHNE, PHRAP, CAP, TIGR, CELERA
Overlap: find potentially overlapping reads
Layout: merge reads into contigs and contigs into supercontigs
Consensus: derive the DNA sequence and correct read errors ..ACGATTACAATAGGTT..
![Page 54: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/54.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlap• Find the best match between the suffix of one
read and the prefix of another
• Due to sequencing errors, need to use dynamic programming to find the optimal overlap alignment
• Apply a filtration method to filter out pairs of fragments that do not share a significantly long common substring
![Page 55: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/55.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlapping Reads
TAGATTACACAGATTAC
TAGATTACACAGATTAC
|||||||||||||||||
• Sort all k-mers in reads (k ~ 24)
• Find pairs of reads sharing a k-mer• Extend to full alignment – throw away if not
>95% similarT GA
TAGA
| ||
TACA
TAGT
||
![Page 56: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/56.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlapping Reads and Repeats• A k-mer that appears N times, initiates N2
comparisons
• For an Alu that appears 106 times � 1012
comparisons – too much
• Solution:
Discard all k-mers that appear more than
t × Coverage, (t ~ 10)
![Page 57: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/57.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Finding Overlapping Reads
Create local multiple alignments from the overlapping reads
TAGATTACACAGATTACTGATAGATTACACAGATTACTGATAG TTACACAGATTATTGATAGATTACACAGATTACTGATAGATTACACAGATTACTGATAGATTACACAGATTACTGATAG TTACACAGATTATTGATAGATTACACAGATTACTGA
![Page 58: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/58.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Finding Overlapping Reads (cont’d)• Correct errors using multiple alignment
TAGATTACACAGATTACTGATAGATTACACAGATTACTGATAG TTACACAGATTATTGATAGATTACACAGATTACTGATAGATTACACAGATTACTGA
C: 20C: 35T: 30C: 35C: 40
C: 20C: 35C: 0C: 35C: 40
• Score alignments
• Accept alignments with good scores
A: 15A: 25
A: 40A: 25
-
A: 15A: 25
A: 40A: 25
A: 0
![Page 59: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/59.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Layout• Repeats are a major challenge
• Do two aligned fragments really overlap, or are they from two copies of a repeat?
• Solution: repeat masking – hide the repeats!!!
• Masking results in high rate of misassembly (up to 20%)
• Misassembly means alot more work at the finishing step
![Page 60: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/60.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Merge Reads into Contigs
Merge reads up to potential repeat boundaries
repeat region
![Page 61: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/61.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Repeats, Errors, and Contig Lengths
• Repeats shorter than read length are OK
• Repeats with more base pair differencessthan sequencing error rate are OK
• To make a smaller portion of the genome appear repetitive, try to:
• Increase read length
• Decrease sequencing error rate
![Page 62: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/62.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Error CorrectionRole of error correction:
Discards ~90% of single-letter sequencing errors
decreases error rate
⇒ decreases effective repeat content
⇒ increases contig length
![Page 63: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/63.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Merge Reads into Contigs (cont’d)
• Ignore non-maximal reads
• Merge only maximal reads into contigs
repeat region
![Page 64: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/64.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Merge Reads into Contigs (cont’d)
• Ignore “hanging” reads, when detecting repeat boundaries
sequencing errorrepeat boundary???
ba
![Page 65: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/65.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Merge Reads into Contigs (cont’d)
?????
Unambiguous
• Insert non-maximal reads whenever unambiguous
![Page 66: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/66.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Link Contigs into Supercontigs
Too dense: Overcollapsed?
Inconsistent links: Overcollapsed?
Normal density
![Page 67: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/67.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Link Contigs into Supercontigs(cont’d)
Find all links between unique contigs
Connect contigs incrementally, if ≥ 2 links
![Page 68: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/68.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Link Contigs into Supercontigs(cont’d)
Fill gaps in supercontigs with paths of overcollapsed contigs
![Page 69: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/69.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Link Contigs into Supercontigs(cont’d)
Define G = ( V, E )V := contigsE := ( A, B ) such that d( A, B ) < C
Reason to do soReason to do soReason to do soReason to do so: Efficiency; full shortest paths cannot be computed
d ( A, B )Contig A
Contig B
![Page 70: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/70.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Link Contigs into Supercontigs(cont’d)
Contig A Contig B
Define T: contigs linked to either A or BFill gap between A and B if there is a path in G passing only from contigs in T
![Page 71: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/71.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Consensus• A consensus sequence is derived from a
profile of the assembled fragments
• A sufficient number of reads is required to ensure a statistically significant consensus
• Reading errors are corrected
![Page 72: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/72.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Derive Consensus Sequence
Derive multiple alignment from pairwise read alignments
TAGATTACACAGATTACTGA TTGATGGCGTAA CTATAGATTACACAGATTACTGACTTGATGGCGTAAACTATAG TTACACAGATTATTGACTTCATGGCGTAA CTATAGATTACACAGATTACTGACTTGATGGCGTAA CTATAGATTACACAGATTACTGACTTGATGGGGTAA CTA
TAGATTACACAGATTACTGACTTGATGGCGTAA CTA
Derive each consensus base by weighted voting
![Page 73: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/73.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
EULER - A New Approach to Fragment Assembly
• Traditional “overlap-layout-consensus” technique has a high rate of mis-assembly
• EULER uses the Eulerian Path approach borrowed from the SBH problem
• Fragment assembly without repeat masking can be done in linear time with greater accuracy
![Page 74: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/74.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlap Graph: Hamiltonian Approach
Repeat Repeat Repeat
Find a path visiting every VERTEX exactly once: Hamiltonian path problem
Each vertex represents a read from the original sequence.Vertices from repeats are connected to many others.
![Page 75: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/75.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Overlap Graph: Eulerian ApproachRepeat Repeat Repeat
Find a path visiting every EDGE exactly once:Eulerian path problem
Placing each repeat edge together gives a clear progression of the path through the entire sequence.
![Page 76: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/76.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Multiple RepeatsRepeat1 Repeat1Repeat2 Repeat2
Can be easily constructed with any number of repeats
![Page 77: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/77.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Construction of Repeat Graph• Construction of repeat graph from k – mers:
emulates an SBH experiment with a huge
(virtual) DNA chip.
• Breaking reads into k – mers: Transform
sequencing data into virtual DNA chip data.
![Page 78: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/78.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Construction of Repeat Graph (cont’d)
• Error correction in reads: “consensus first”
approach to fragment assembly. Makes
reads (almost) error-free BEFORE the
assembly even starts.
• Using reads and mate-pairs to simplify the
repeat graph (Eulerian Superpath Problem).
![Page 79: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/79.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Approaches to Fragment AssemblyFind a path visiting every VERTEX exactly once in the OVERLAP graph:
Hamiltonian path problem
NP-complete: algorithms unknown
![Page 80: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/80.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Approaches to Fragment Assembly (cont’d)
Find a path visiting every EDGE exactly once in the REPEAT graph:
Eulerian path problem
Linear time algorithms are known
![Page 81: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/81.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Making Repeat Graph Without DNA• Problem: Construct the repeat graph from a
collection of reads.
• Solution: Break the reads into smaller pieces.
?
![Page 82: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/82.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Repeat Sequences: Emulating a DNA Chip• Virtual DNA chip allows the biological
problem to be solved within the technological constraints.
![Page 83: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/83.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Repeat Sequences: Emulating a DNA Chip (cont’d)• Reads are constructed from an original
sequence in lengths that allow biologists a high level of certainty.
• They are then broken again to allow the technology to sequence each within a reasonable array.
![Page 84: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/84.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Minimizing Errors• If an error exists in one of the 20-mer reads,
the error will be perpetuated among all of the smaller pieces broken from that read.
![Page 85: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/85.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Minimizing Errors (cont’d)
• However, that error will not be present in the other instances of the 20-mer read.
• So it is possible to eliminate most point mutation errors before reconstructing the original sequence.
![Page 86: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/86.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
Conclusions• Graph theory is a vital tool for solving
biological problems
• Wide range of applications, including sequencing, motif finding, protein networks, and many more
![Page 87: Graph Algorithms in Bioinformaticswkloster/4461/part8.pdf · Benzer’s Experiment and Graphs • Construct an interval graph: each T4 mutant is a vertex, place an edge between mutant](https://reader030.vdocuments.net/reader030/viewer/2022040912/5e87331cf521b64441463223/html5/thumbnails/87.jpg)
An Introduction to Bioinformatics Algorithms www.bioalgorithms.info
References
• Simons, Robert W. Advanced Molecular Genetics Course, UCLA (2002). http://www.mimg.ucla.edu/bobs/C159/Presentations/Benzer.pdf
• Batzoglou, S. Computational Genomics Course, Stanford University (2004). http://www.stanford.edu/class/cs262/handouts.html