Back to search

University of Guelph

Python Based Genetic Evaluation System for the Improvement of Multi-Breed and Crossbred Beef Cattle

Abstract

dc:description.abstract

The beef cattle industry faces the challenge of balancing sustainability and profitability. Technological advancements offer potential solutions, However AgSights commercial genetic evaluation system (GES) is currently implemented in lower-level programming languages (C and Fortran), which limits its adaptability to accommodate these new technologies. In contrast, Python is a high-level programming language designed for developer productivity, and its adoption could facilitate rapid integration of new functionalities and easier maintenance over time. This thesis investigated the feasibility of updating AgSights' GES using Python. The Python GES was developed in-house and encompasses functionalities for data cleaning, renumbering, and formatting. It can calculate relationship coefficients and related matrices, including inbreeding coefficients and the inverse of the pedigree or hybrid (pedigree + genomic) relationship matrix. The software uses a preconditioned conjugate gradient algorithm with iteration on data to predict breeding values. In addition to re-implementing AgSights’ current pedigree-based GES, the software can also incorporate genomic information through single-step genomic best linear unbiased prediction (ssGBLUP) to modernize the system. Genetic evaluations were applied to multiple trait models using simulated datasets mimicking a beef cattle breeding program for growth traits. The solver predicted over 2.9 million random effects in 12 minutes and 50 seconds using a traditional BLUP genetic evaluation. When genomic selection was incorporated, including 10,000 genotyped animals in the evaluation increased computing time to 39 minutes and 28 seconds. A traditional pedigree BLUP genetic evaluation was also assessed using producer-collected data encompassing a crossbred and multi-breed population. The evaluation of a single-trait model, with 171,606 animals took approximately 2 minutes. For a multiple-trait maternal model with over 3.2 million animals, the runtime was just over 11 hours. In all scenarios, the entire genetic evaluation process was completed within a day, consistently maintaining accurate EBV predictions. Overall, the results suggest that Python provides a suitable framework for developing flexible GES in modern multi-breed and crossbred beef cattle breeding programs and, more generally, livestock breeding programs. The shift towards Python provides an opportunity for more innovative and efficient genetic evaluation practices, ultimately promoting a more sustainable and profitable livestock industry.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Department thesis:degree_department
Department of Animal Biosciences
Grantor dc:publisher
University of Guelph

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lee, Kristin
Advisors dc:contributor.advisor
  • Cánovas, Angela
  • Schenkel, Flavio

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • Attribution-NonCommercial-NoDerivatives 4.0 International
Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10214/28564

Chain of custody

source
Harvested from
University of Guelph
Base URL
atrium.lib.uoguelph.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Lee, Kristin. Python Based Genetic Evaluation System for the Improvement of Multi-Breed and Crossbred Beef Cattle. University of Guelph, https://hdl.handle.net/10214/28564