polyfreqs

polyfreqs: an R package for Bayesian population genomics in autopolyploids

https://github.com/pblischak/polyfreqs

Science Score: 33.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.0%) to scientific vocabulary

Keywords

bayesian-population-genomics c-plus-plus cran genotype r rcpp
Last synced: 6 months ago · JSON representation

Repository

polyfreqs: an R package for Bayesian population genomics in autopolyploids

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
bayesian-population-genomics c-plus-plus cran genotype r rcpp
Created almost 11 years ago · Last pushed about 9 years ago
Metadata Files
Readme

README.md

Build Status CRAN downloads

polyfreqs

An R package for Bayesian population genomics in autopolyploids

polyfreqs is an R package for the estimation of biallelic SNP frequencies, genotypes and heterozygosity in autopolyploid taxa using high throughput sequencing data. It should work for diploids as well, but does not accomodate data sets of mixed ploidy.

polyfreqs does accept missing data: code them as 0 in the total read count matrix.

NEW: polyfreqs now has a Google Groups page. Please feel free to join the group and post any questions that you may have about the software. [Google Groups link]

Dependencies

polyfreqs uses C++ code to implement its Gibbs sampling algorithm which will usually require the installation of additional software (depending on the operating system [OS] being used). Windows users will need to install Rtools. MacOSX users will need to install the Xcode Command Line Tools. Linux users will need an up-to-date version of the GNU Compiler Collection (gcc) and the r-base-dev package. polyfreqs relies on the R package Rcpp which is a good place to start too for figuring what you will need. Note that Rcpp also requires the compilation of C++ code so make sure that the necessary compilers are installed appropriately for your OS. You can install Rcpp directly from CRAN in the usual way using the install.packages() command:

r install.packages("Rcpp")

Installation

polyfreqs v1.0.0 is now on CRAN: link.

You can now install it like you would any other R package:

r install.packages("polyfreqs")

Installing the latest developmental release of polyfreqs can be done using the devtools package and the install_github() command. Install devtools using install.packages("devtools"). polyfreqs can then be installed as follows:

r devtools::install_github("pblischak/polyfreqs")

Documentation

Example code and tutorials for running polyfreqs can be found in the vignette. For more details on the model underlying polyfreqs please see the associated paper in Molecular Ecology Resources: Blischak et al. The Supplemental Material also has a walk through for analyzing a data set collected for autotetraploid potato (Solanum tuberosum).


Release notes

  • v1.0.2 -- Small patch that updated code for sampling genotypes during the MCMC that was giving underflow errors when total read counts are high (~1000x coverage).

  • v1.0.1 -- Removed dependency on the RcppArmadillo sample() function by coding our own version (nonunif_int() in the sample_g.cpp source file). The Gibbs sampler should run a bit faster now.

  • v1.0.0 -- First release. Now available on CRAN.

Owner

  • Name: Paul Blischak
  • Login: pblischak
  • Kind: user
  • Location: Gainesville, FL
  • Company: Bayer Crop Science

Genomics Data Scientist

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 60
  • Total Committers: 2
  • Avg Commits per committer: 30.0
  • Development Distribution Score (DDS): 0.1
Top Committers
Name Email Commits
pblischak b****4@o****u 54
Paul Blischak p****k@g****m 6
Committer Domains (Top 20 + Academic)
osu.edu: 1

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total 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
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
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 144 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: polyfreqs

Bayesian Population Genomics in Autopolyploids

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 144 Last month
Rankings
Forks count: 21.9%
Dependent packages count: 29.8%
Stargazers count: 31.7%
Dependent repos count: 35.5%
Average: 39.8%
Downloads: 80.4%
Maintainers (1)
Last synced: 9 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.0 depends
  • Rcpp * imports
  • coda * suggests
  • knitr * suggests