title: HMM sampling and applications to gene finding and alternative splicing.
abstract: The standard method of applying hidden Markov models to biological problems is to find a Viterbi (maximal weight) path through the HMM graph. The Viterbi algorithm reduces the problem of finding the most likely hidden state sequence that explains given observations, to a dynamic programming problem for corresponding directed acyclic graphs. For example, in the gene finding application, the HMM is used to find the most likely underlying gene structure given a DNA sequence. In this note we discuss the applications of sampling methods for HMMs. The standard sampling algorithm for HMMs is a variant of the common forward-backward and backtrack algorithms, and has already been applied in the context of Gibbs sampling methods. Nevetheless, the practice of sampling state paths from HMMs does not seem to have been widely adopted, and important applications have been overlooked. We show how sampling can be used for finding alternative splicings for genes, including alternative splicings that are conserved between genes from related organisms. We also show how sampling from the posterior distribution is a natural way to compute probabilities for predicted exons and gene structures being correct under the assumed model. Finally, we describe a new memory efficient sampling algorithm for certain classes of HMMs which provides a practical sampling alternative to the Hirschberg algorithm for optimal alignment. The ideas presented have applications not only to gene finding and HMMs but more generally to stochastic context free grammars and RNA structure prediction.
authors.affiliation: Affymetrix, Emeryville, CA 94608, USA.
authors.forename: Simon L
authors.initials: SL
authors.lastname: Cawley
authors.forename: Lior
authors.initials: L
authors.lastname: Pachter
mesh_terms: D000465:Algorithms; D017398:Alternative Splicing / Q000235:genetics*; D001185:Artificial Intelligence; D001483:Base Sequence; D017124:Conserved Sequence; D008390:Markov Chains; D008969:Molecular Sequence Data; D010363:Pattern Recognition, Automated / Q000379:methods*; D022821:RNA Splice Sites / Q000235:genetics*; D016415:Sequence Alignment / Q000379:methods*; D017422:Sequence Analysis, DNA / Q000379:methods*; D012689:Sequence Homology, Nucleic Acid
chemical_list: D022821:RNA Splice Sites