Dynamic Programming in Computational Biology: RNA Structure & Alignment, Study notes of Algorithms and Programming

The dynamic programming solutions for computing the secondary structure of rna and the sequence alignment problem. It covers the definition of rna secondary structure, the computational problem, and the dynamic programming solution. The document also explains the concept of edit distance and similarity metric in the context of sequence alignment. It is part of the cs473ug course taught by viswanathan.

Typology: Study notes

Pre 2010

Uploaded on 03/16/2009

koofers-user-p7c
koofers-user-p7c 🇺🇸

9 documents

1 / 96

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 473ug: Algorithms
Mahesh Viswanathan
3232 Siebel Center
University of Illinois, Urbana-Champaign
Spring 2008
Viswanathan CS473ug
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60

Partial preview of the text

Download Dynamic Programming in Computational Biology: RNA Structure & Alignment and more Study notes Algorithms and Programming in PDF only on Docsity!

CS 473ug: Algorithms

Mahesh Viswanathan

[email protected]

3232 Siebel Center

University of Illinois, Urbana-Champaign

Spring 2008

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Part I

Dynamic Programming in Computational Biology

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

RNA

Ribonucleic Acid (RNA): Key components in cellular processes

Single-stranded RNA can be viewed as a string of bases: A

(adenine),C (cytosine) ,G (guanine),U (uracil)

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

RNA

Ribonucleic Acid (RNA): Key components in cellular processes

Single-stranded RNA can be viewed as a string of bases: A

(adenine),C (cytosine) ,G (guanine),U (uracil)

Secondary Structure: The single strand loops back to form

bonds between base pairs.

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Secondary Structure

Definition

Secondary structure on an RNA (string) B is a set of pairs

S = {(i, j) | 1 ≤ i, j ≤ n} satisfying

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Secondary Structure

Definition

Secondary structure on an RNA (string) B is a set of pairs

S = {(i, j) | 1 ≤ i, j ≤ n} satisfying

1 [Watson-Crick] No base appears in more than one pair, and

each pair is either {A, U} or {C , G }

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Secondary Structure

Definition

Secondary structure on an RNA (string) B is a set of pairs

S = {(i, j) | 1 ≤ i, j ≤ n} satisfying

1 [Watson-Crick] No base appears in more than one pair, and

each pair is either {A, U} or {C , G }

2 [No sharp turns] Ends of each pair are separated by distance

at least 4, i.e., i < j − 4

3 [Non-crossing] If (i, j) and (k, `) are pairs then we cannot

have i < k < j < `

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Examples of Secondary Structure

A

U

G

G

G

G

C

A

U

A U G G G G C A U

Figure: Has sharp turn

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Examples of Secondary Structure

A

U

G

G

G

G

C

A

U

A U G G G G C A U

Figure: Has sharp turn

A

G

U

U

G G

C

C

A

U

A G U U G G C C A U

Figure: Has crossing

A

U

G

U

G G

C

C

A

U

A U G U G G C C A U

Figure: Correct pairing

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Free Energy

Example

Consider the RNA molecule AGGAUCGCCU

A

G

G

A

C U

G

C

C

U

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Free Energy

Example

Consider the RNA molecule AGGAUCGCCU

A

G

G

A

C U

G

C

C

U A

G

G

A

C U

G

C

C

U

Which structure is exhibited?

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Free Energy

Example

Consider the RNA molecule AGGAUCGCCU

A

G

G

A

C U

G

C

C

U A

G

G

A

C U

G

C

C

U

Which structure is exhibited?

Observation

RNA assumes the secondary structure of minimum free energy.

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

The Problem

Free Energy Model

The larger the number of base pairs, the lower the energy.

Computational Problem

Input An RNA molecule b 1 b 2... bn

Goal Find a set a base pairs of maximum size that follows

the Watson-Crick rules, does not have sharp turns,

and in the base pairs don’t cross each other.

RNA Secondary Structure Sequence Alignment Space Efficient Sequence Alignment

Secondary Structure Computational Problem Dynamic Programming Solution

Defining Subproblems

For b 1... bn, let Opt(j) be the maximum number of base pairs in

b 1... bj

Case bn is not paired in secondary structure.

Case bn is paired with bi in optimal pairing.