Docsity

Greedy Algorithms for Motif Finding and Genome Rearrangements - Prof. Saurabh Sinha, Study notes of Computer Science

Partial preview of the text

Download Greedy Algorithms for Motif Finding and Genome Rearrangements - Prof. Saurabh Sinha and more Study notes Computer Science in PDF only on Docsity!

Greedy Algorithms

CS 498 SS

Saurabh Sinha

A greedy approach to the

motif finding problem

  • Given t sequences of length n each, to find

a profile matrix of length l.

  • Enumerative approach O( l n t
  • Impractical
  • Instead consider a more practical algorithm

called “GREEDYMOTIFSEARCH”

Chapter 5.

Greedy Motif Search

pseudocode

  • GREEDYMOTIFSEARCH ( DNA , t, n, l)
  • bestMotif := (1,…,1)
  • s := (1,…,1)
  • for s 1 =1 to n-l+ for s 2 = 1 to n-l+ if ( Score (s,2,DNA) > Score(bestMotif, 2,DNA) bestMotif 1 := s 1 bestMotif 2 := s 2
  • s 1 := bestMotif 1 ; s 2 := bestMotif 2
  • for i = 3 to t for si = 1 to n-l+ if ( Score (s,i,DNA) > Score(bestMotif, i,DNA) bestMotif i := si si := bestMotif i
  • Return bestMotif

A digression

  • Score of a profile matrix looks only at

the “majority” base in each column, not

at the entire distribution

  • The issue of non-uniform “background”

frequencies of bases in the genome

  • A better “score” of a profile matrix?

Information Content

  • If W βk

is always equal to q

β

, i.e., if W is

similar to random sequence, information

content of W is 0.

  • If W is different from q, information

content is high.

Greedy Motif Search

  • Can be trivially modified to use “Information Content” as the score
  • Use statistical criteria to evaluate significance of Information Content
  • At each step, instead of choosing the top (1) partial motif, keep the top k partial motifs - “Beam search”
  • The program “CONSENSUS” from Stormo lab.
  • Further Reading: Hertz, Hartzell & Stormo, CABIOS (1990) http://bioinf.kvl.dk/~gorodkin/teach/bioinf2004/hertz90.pdf

Genome Rearrangements

  • Most mouse genes have human orthologs (i.e., share common evolutionary ancestor)
  • The sequence of genes in the mouse genome is not exactly the same as in human
  • However, there are subsets of genes with preserved order between human-mouse (“in synteny”)

Genome Rearrangements

  • The mouse genome can be cut into ~300 (not necessarily equal) pieces and joined pasted together in a different order (“rearranged”) to obtain the gene order of the human genome
  • Synteny blocks
  • Synteny blocks from different chromosomes in mouse are together on the same chromosome in human

A type of rearrangement:

Reversal

(^1 ) 4 10 5 6 8 9 7 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

(^1 ) 4 10 5 6 8 9 7 1, 2, 3, -8, -7, -6, -5, -4, 9, 10

A type of rearrangement:

Reversal

Types of Rearrangements

Reversal 1 2 3 4 5 6 1 2 -5 -4 -3 6 Translocation 1 2 3 44 5 6 1 2 6 4 5 3 1 2 3 4 5 6 1 2 3 4 5 6 Fusion Fission

Turnip vs Cabbage: Almost Identical mtDNA gene sequences

  • In 1980s Jeffrey Palmer studied evolution of plant organelles by comparing mitochondrial genomes of the cabbage and turnip
  • 99% similarity between genes
  • These surprisingly identical gene sequences differed in gene order
  • This study helped pave the way to analyzing genome rearrangements in molecular evolution

Genome Rearrangement

  • Consider reversals only.
    • These are most common
  • How to transform one genome (i.e.,

gene ordering) to another, using the

least number of reversals?

Reversals: Example

π = 1 2 3 4 5 6 7 8 ρ (3,5) 1 2 5 4 3 6 7 8