eveilyeverafter / HMMancestry

R package using the Forward-Backward algorithm to infer genotypes, recombination hotspots, and gene conversion tracts from low-coverage next-generation sequence data.
1 stars 0 forks source link

Package HMMancestry

alt tag

The package HMMancestry was designed to infer recombination breakpoints, hotspots, and coldspots in high-throughput, next-generation sequence data, even when sequencing coverage is relatively low. Currently, HMMancestry handles three types of data:

1) Haploid yeast data where each of four spores of a tetrad are genotyped.

2) Haploid yeast data where each spore comes from a different tetrad.

In either case, two haploid parent strains -- each sequenced at high coverage to accurately call bi-allelic snps between them -- are mated forming F1 zygotes. These diploids are sporulated to induce meiosis and the resulting haploid spores are isolated, grown in colonies, and DNA is extracted and sequenced using which ever method the experimenter desires. Read counts for each individually barcoded and sequenced spore are estimated from the parental snps using a mapping program like bowtie2 or bwa. These read counts are used in HMMancestry to estimate recombination hotspots, average length of a gene conversion tracts, and more.

3) Diploid data with read counts for alternative snps. This is the newest part of HMMancestry and is the part that is under the most development currently.

To install the compiled version, open R and install devtools:

install.packages("devtools")

Then install and load HMMancestry:

library(devtools)
install_github("tylerhether/HMMancestry")
library(HMMancestry)

To build from source:

make roxygen
make build
make install
make doc