1 / 8

353 - Bioinformatics Fall 2008

353 - Bioinformatics Fall 2008. PEDNA Notes Mon, Oct 27, 2008 Marc L. Smith. PEDNA Ch. 13 Understanding Randomness. Don’t be fooled by what appears to be random Random-looking sequences may not be Seeming nonrandom sequences might be Computers don’t do random Really pseudorandom

soniaphelps
Download Presentation

353 - Bioinformatics Fall 2008

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 353 - BioinformaticsFall 2008 PEDNA Notes Mon, Oct 27, 2008 Marc L. Smith

  2. PEDNA Ch. 13Understanding Randomness • Don’t be fooled by what appears to be random • Random-looking sequences may not be • Seeming nonrandom sequences might be • Computers don’t do random • Really pseudorandom • Random enough (most of the time) • Eventually random numbers will cycle

  3. rand() • Built-in perl function (convenient!) • Two forms • Without parameter • rand() returns fractional value: 0 <= val <= 1 • With parameter • rand(n) returns integer value: 0 <= val <= n

  4. Simulations • Use rand() to write simulations • programs that simulate nondeterministic systems • nondeterministic doesn’t imply random • still pseudorandom • but nondeterminism lays the foundation for running Computational Experiments! • different runs of program may produce different outputs

  5. Examples • Roll dice • Shuffle a sequence to randomize • Generate sequence of nucleotides • Mutate (evolve) a DNA sequence to simulate evolutionary process • Phylogeny reconstruction: heuristic search of tree space

  6. PEDNA Code • Let’s look at the code from Ch. 13 • Code walks • Run / experiment / repeat

  7. Hidden Markov Models (HMMs) • Alternative approach to aligning sequences • Essentially a Finite State Machine (FSM) • Set of states, including start state, end state, • State transitions occur probabilistically-- can use rand() to implement • Some transitions emit residues • Paths through FSM yield sequences • These sequences represent alignments

  8. Hidden Markov Models • How would we use rand() to implement probabilistic FSM transitions? • When Jodi returns, we will discuss more about BLAST and HMMs • Read Ch. 6 in UB (especially sec. 6.2)

More Related