Analysis with Profile Hidden Markov Models

Designed for the development and application of hidden Markov models and profile HMMs for biological sequence analysis. Contains functions for multiple and pairwise sequence alignment, model construction and parameter optimization, file import/export, implementation of the forward, backward and Viterbi algorithms for conditional sequence probabilities, tree-based sequence weighting, and sequence simulation. Features a wide variety of potential applications including database searching, gene-finding and annotation, phylogenetic analysis and sequence classification. Based on the models and algorithms described in Durbin et al (1998, ISBN: 9780521629713).


Analysis with profile hidden Markov models


aphid is an R package for the development and application of hidden Markov models and profile HMMs for biological sequence analysis. Functions are included for multiple and pairwise sequence alignment, model construction and parameter optimization, calculation of conditional probabilities (using the forward, backward and Viterbi algorithms), tree-based sequence weighting, sequence simulation, and file import/export compatible with the HMMER software package. aphid also includes functions for developing and working with standard hidden Markov models.

This package was written based on the algorithms described in the book Biological Sequence Analysis by Richard Durbin, Sean Eddy, Anders Krogh and Graeme Mitchison. This book offers an in depth explanation of hidden Markov models and profile HMMs for users of all levels of familiarity. Many of the examples and datasets in the package are directly derived from the text, which serves as a useful primer for this package.

Installation

To download aphid from CRAN and load the package, run

install.packages("aphid")
library("aphid")

To download the development version from GitHub, first ensure a C/C++ compliler is available and the devtools R package is installed. Linux users will generally have a compiler installed by default; however Windows users may need to download Rtools and Mac OSX users will need Xcode (note that these are not R packages). Install and load the package by running

devtools::install_github("shaunpwilkinson/aphid", build_vignettes = TRUE) 
library("aphid")

Use and Examples

An overview of the package and its functions can be found by running

?aphid

To view the tutorial, run

vignette("aphid-vignette")

Issues

If you experience a problem using this package please feel free to raise it as an issue on GitHub.

Acknowledgements

This software was developed at Victoria University of Wellington with funding from a Rutherford Foundation Postdoctoral Research Fellowship award from the Royal Society of New Zealand.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("aphid")

1.3.3 by Shaun Wilkinson, 6 months ago


http://github.com/shaunpwilkinson/aphid


Report a bug at http://github.com/shaunpwilkinson/aphid/issues


Browse source code at https://github.com/cran/aphid


Authors: Shaun Wilkinson [aut, cre]


Documentation:   PDF Manual  


Task views: Phylogenetics, Especially Comparative Methods


GPL-3 license


Imports graphics, openssl, kmer, Rcpp, stats

Suggests ape, knitr, rmarkdown, testthat

Linking to Rcpp

System requirements: GNU make


Imported by coil, insect.


See at CRAN