Skip to content
Breeding-InsightPublic

About

an R front face to run blupf90 modules and perform cross-validation analyses using k-folds

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

Development Status R-CMD-check R License GitHub issues GitHub pull requests GitHub Release

BIGf90_logo

BIGf90

(B)reeding (I)nsight (G)enomics f90 — an R front end to the BLUPf90 programs

BIGf90 is an R package developed by Breeding Insight that wraps the BLUPf90 family of programs for genetic evaluation. It provides R functions to write RENUMF90 parameter files, run the BLUPf90 modules, estimate variance components, compute (genomic) breeding values, and run full workflows that incorporate these functions, like a weighted single-step GWAS, K-fold cross-validation and post-Gibbs convergence diagnostics — for both pedigree and genomic (GBLUP/ssGBLUP) models.

It provides functions to:

  • Write RENUMF90 parameter (.par) files with write_par().
  • Build a BLUPf90 genotype (.geno) file from a PLINK .ped with write_geno().
  • Process parameter files with RENUMF90 (run_renum()).
  • Calculate EBVs through BLUP, GBLUP, and ssGBLUP with blupf90+ (run_blup(), clean_ebvs()).
  • Build/invert the genomic relationship matrix (preGSf90) and back-solve SNP effects for ssGWAS (postGSf90) with run_pregs() and run_postgs().
  • Predict direct genomic values (DGV) for new genotyped animals with predf90 (run_predf()).
  • Estimate heritability from the Gibbs variance components with calc_h2().
  • Calculate adjusted phenotypes with predictf90 (run_predict()).
  • Estimate variance components with gibbsf90+ / postgibbsf90 (run_gibbs(), run_postgibbs()).

It also provides workflow functions that incorporate these smaller functions to run a full analysis in one call:

  • Run a full weighted single-step GWAS (wssGBLUP) end-to-end (renumber → genomic QC → iterated evaluation + SNP effects) with run_gwas(), which chains run_renum(), run_pregs(), run_blup() and run_postgs(). Plot the results with manhattan_plot() and qq_plot().
  • Run K-fold cross-validation of predictions with run_cva(), which runs the run_blup() and run_predict() steps on the full data and blupf90+ on every fold, and reports predictive ability, bias and accuracy.
  • Check the convergence of a Gibbs run with mcmc_diagnostics(), which estimates the heritability posterior, runs the CODA diagnostics, writes a PDF and text report and suggests new run_gibbs() settings.

Installation

Install the development version from GitHub with remotes:

install.packages("remotes")
remotes::install_github("Breeding-Insight/BIGf90", dependencies = TRUE)
library(BIGf90)

You also need the BLUPf90 executables (renumf90, blupf90+, predictf90, gibbsf90+, postgibbsf90, and preGSf90, postGSf90 and predf90 for genomic analyses and GWAS) in a folder you point the functions to — download them from the BLUPF90 wiki.

Note: BIGf90 is currently in development. Please report any bugs or issues on the GitHub Issues page. On Windows, run RStudio as administrator to avoid BLUPf90 file-permission issues.

Getting started

See the tutorial vignette (vignettes/BIGf90.Rmd) for a full worked pipeline: parameter file → variance components → breeding values → cross-validation → single-step GWAS, with and without genotypes.

Funding

BIGf90 development is supported by Breeding Insight, a USDA-funded initiative based at the University of Florida - IFAS.

Citation

If you use BIGf90 in your research, please cite both the package and the BLUPf90 programs:

BIGf90: Chinchilla-Vargas J, Taniguti C, Sandercock A, Breeding Insight Team (2026). BIGf90: Interface and Workflows for Genomic Evaluation with 'BLUPF90'. R package version 1.0.0, https://github.com/Breeding-Insight/BIGf90

BLUPF90: Misztal, I., S. Tsuruta, D.A.L. Lourenco, I. Aguilar, A. Legarra, and Z. Vitezica. 2014. Manual for BLUPF90 family of programs. https://nce.ads.uga.edu/wiki/lib/exe/fetch.php?media=blupf90_all2.pdf

The BLUPF90 programs are free for research, but their use should be acknowledged in publications. For commercial use, please contact Ignacy Misztal (ignacy@uga.edu) or Daniela Lourenco (danilino@uga.edu). Provide your name, company, and purpose of use in the email.

About

an R front face to run blupf90 modules and perform cross-validation analyses using k-folds

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages