updog

Flexible Genotyping of Polyploids using Next Generation Sequencing Data

https://github.com/dcgerard/updog

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 16 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Flexible Genotyping of Polyploids using Next Generation Sequencing Data

Basic Info
Statistics
  • Stars: 29
  • Watchers: 3
  • Forks: 9
  • Open Issues: 12
  • Releases: 0
Created over 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# updog 

[![R-CMD-check](https://github.com/dcgerard/updog/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dcgerard/updog/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/dcgerard/updog/branch/master/graph/badge.svg?token=zjDBKZWjCs)](https://app.codecov.io/gh/dcgerard/updog)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/updog)](https://cran.r-project.org/package=updog)
[![](https://cranlogs.r-pkg.org/badges/grand-total/updog)](https://cran.r-project.org/package=updog)

Updog provides a suite of methods for genotyping polyploids from
next-generation sequencing (NGS) data. It does this while accounting
for many common features of NGS data: allele bias, overdispersion,
and sequencing error. It is named
updog for "Using Parental Data for Offspring Genotyping" because we
originally developed the method for full-sib populations, but it works
now for more general populations. The method is described in detail
Gerard et. al. (2018) <[doi:10.1534/genetics.118.301468](https://doi.org/10.1534/genetics.118.301468)>. Additional details concerning 
prior specification are described in Gerard and Ferrão (2020) <[doi:10.1093/bioinformatics/btz852](https://doi.org/10.1093/bioinformatics/btz852)>.

The main functions are `flexdog()` and `multidog()`, which provide many options for the
distribution of the genotypes in your sample. A novel genotype distribution
is included in the class of proportional normal distributions (`model = "norm"`). This is the default prior distribution because it is the most robust to varying 
genotype distributions, but feel free to use more specialized priors if
you have more information on the data.

Also provided are:

- `filter_snp()`: filter out SNPs based on the output of `multidog()`.
- `format_multidog()`: format the output of `multidog()` in terms of a multidimensional array.
- Plot methods. Both `flexdog()` and `multidog()` have plot methods. See the help files of `plot.flexdog()` and `plot.multidog()` for details.
- Functions to simulate genotypes (`rgeno()`) and read-counts (`rflexdog()`). These support all of the models available in `flexdog()`.
- Functions to evaluate oracle genotyping performance: `oracle_joint()`, `oracle_mis()`, `oracle_mis_vec()`, and `oracle_cor()`. We mean "oracle" in the sense that we assume that the entire data generation process is known (i.e. the genotype distribution, sequencing error rate, allele bias, and overdispersion are all known). These are good approximations when there are a lot of individuals (but not necessarily large read-depth).


The original `updog` package is now named `updogAlpha` and may be
found [here](https://github.com/dcgerard/updogAlpha).

See also [ebg](https://github.com/pblischak/polyploid-genotyping),
[fitPoly](https://cran.r-project.org/package=fitPoly),
and [polyRAD](https://cran.r-project.org/package=polyRAD). Our best
"competitor" is probably
[fitPoly](https://cran.r-project.org/package=fitPoly), though 
[polyRAD](https://cran.r-project.org/package=polyRAD) has some nice ideas
for utilizing population structure and linkage disequilibrium.

See [NEWS](https://github.com/dcgerard/updog/blob/master/NEWS.md) for the latest updates on the package.

## Vignettes

I've included many vignettes in `updog`, which you can access online
[here](https://dcgerard.github.io/updog/).

## Bug Reports

If you find a bug or want an enhancement, please submit an issue
[here](https://github.com/dcgerard/updog/issues).

## Installation

You can install updog from
[CRAN](https://cran.r-project.org/package=updog) in the usual way:

```{r cran-installation, eval = FALSE}
install.packages("updog")
```

You can install the current (unstable) version of updog from GitHub
with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("dcgerard/updog")
```

## How to Cite

Please cite

> Gerard, D., Ferrão, L. F. V., Garcia, A. A. F., & Stephens, M. (2018). Genotyping Polyploids from Messy Sequencing Data. *Genetics*, 210(3), 789-807. doi: [10.1534/genetics.118.301468](https://doi.org/10.1534/genetics.118.301468).

Or, using BibTex:
``` tex
@article {gerard2018genotyping,
	author = {Gerard, David and Ferr{\~a}o, Lu{\'i}s Felipe Ventorim and Garcia, Antonio Augusto Franco and Stephens, Matthew},
	title = {Genotyping Polyploids from Messy Sequencing Data},
	volume = {210},
	number = {3},
	pages = {789--807},
	year = {2018},
	doi = {10.1534/genetics.118.301468},
	publisher = {Genetics},
	issn = {0016-6731},
	URL = {https://doi.org/10.1534/genetics.118.301468},
	journal = {Genetics}
}
```

If you are using the proportional normal prior class (`model = "norm"`),
which is also the default prior, then please also cite:

> Gerard D, Ferrão L (2020). "Priors for Genotyping Polyploids."
_Bioinformatics_, 36(6), 1795-1800. ISSN 1367-4803, doi:
[10.1093/bioinformatics/btz852](https://doi.org/10.1093/bioinformatics/btz852).

Or, using BibTex:
``` tex
@article{gerard2020priors,
    title = {Priors for Genotyping Polyploids},
    year = {2020},
    journal = {Bioinformatics},
    publisher = {Oxford University Press},
    volume = {36},
    number = {6},
    pages = {1795--1800},
    issn = {1367-4803},
    doi = {10.1093/bioinformatics/btz852},
    author = {David Gerard and Lu{\'i}s Felipe Ventorim Ferr{\~a}o},
  }
```

## Code of Conduct

Please note that this project is released with a [Contributor Code of
Conduct](https://github.com/dcgerard/updog/blob/master/CONDUCT.md). 
By participating in this project you agree to abide by its terms.

Owner

  • Name: David Gerard
  • Login: dcgerard
  • Kind: user
  • Company: American University

Statistician interested in multivariate analysis, hierarchical/empirical Bayesian modeling, and biological applications.

GitHub Events

Total
  • Issues event: 1
  • Watch event: 5
  • Issue comment event: 3
  • Push event: 3
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 5
  • Issue comment event: 3
  • Push event: 3
  • Fork event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 282
  • Total Committers: 2
  • Avg Commits per committer: 141.0
  • Development Distribution Score (DDS): 0.028
Past Year
  • Commits: 6
  • Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Gerard g****7@g****m 274
d****d@L****n 8
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 27
  • Total pull requests: 6
  • Average time to close issues: 3 months
  • Average time to close pull requests: 20 minutes
  • Total issue authors: 14
  • Total pull request authors: 2
  • Average comments per issue: 1.78
  • Average comments per pull request: 0.17
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dcgerard (15)
  • huw143 (1)
  • YannDussert (1)
  • LizPopowski (1)
  • alethere (1)
  • stephenrkeller (1)
  • tpbilton (1)
  • PaulaEB (1)
  • kostasgalexiou (1)
  • knagasaka (1)
  • yudizhangzyd (1)
  • xuzhougeng (1)
  • gtbil (1)
  • jiangzuo007 (1)
Pull Request Authors
  • dcgerard (5)
  • alethere (1)
Top Labels
Issue Labels
enhancement (12) question (3) help wanted (1) wontfix (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 399 last-month
  • Total dependent packages: 4
  • Total dependent repositories: 5
  • Total versions: 12
  • Total maintainers: 1
cran.r-project.org: updog

Flexible Genotyping for Polyploids

  • Versions: 12
  • Dependent Packages: 4
  • Dependent Repositories: 5
  • Downloads: 399 Last month
Rankings
Forks count: 8.7%
Dependent packages count: 9.3%
Stargazers count: 11.8%
Average: 12.9%
Dependent repos count: 13.0%
Downloads: 21.6%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • Rcpp >= 0.12.16 imports
  • RcppArmadillo * imports
  • assertthat * imports
  • doFuture * imports
  • doRNG * imports
  • foreach * imports
  • future * imports
  • ggplot2 * imports
  • ggthemes * imports
  • iterators * imports
  • methods * imports
  • reshape2 * imports
  • GenomicRanges * suggests
  • IRanges * suggests
  • S4Vectors * suggests
  • SuppDists * suggests
  • VariantAnnotation * suggests
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite