Rui Borges
banner
ruiborges23.bsky.social
Rui Borges
@ruiborges23.bsky.social
Lecturer in Statistics at the University of St Andrews. Interested in statistical/computational population genetics and phylogenetics. Math enthusiast. He/him. 🇵🇹🇱🇻🇬🇧 https://mrborges23.github.io/mypage/
The students absolutely nailed it, and I was genuinely surprised by how financially literate they were in interpreting the simulation results. People often forget how mathematics can be a tremendous help in making better, more informed decisions in everyday life!
July 8, 2025 at 4:17 PM
In our session today, we wrapped up the activity by simulating the Gambler’s Ruin in R, using a popular scratchcard game as the example. The game costs £5 per card and has a win probability of roughly 1 in 3.3. One of the photos shows one of these simulations.
July 8, 2025 at 4:17 PM
8/8 This study emphasizes the importance of considering recurrent mutations in highly diverse species for accurate population genetics inference.

(Abstract also available in European Portuguese).
January 27, 2025 at 4:30 PM
7/8 To illustrate how mutation models can influence the quantification of forces other than drift, we further present a case study showing that the BM model exaggerates the intensity of selective constraints acting on the three codon positions of the bacterium Pseudomonas fluorescens.
January 27, 2025 at 4:30 PM
6/8 We address these biases by proposing a Bayesian estimator for population size that accounts for recurrent mutations. You can find them here: github.com/mrborges23/m...
GitHub - mrborges23/mutation_models: This repository provides a tutorial along with R scripts for utilizing Bayesian estimators of the effective population size with a boundary mutation and recurrent ...
This repository provides a tutorial along with R scripts for utilizing Bayesian estimators of the effective population size with a boundary mutation and recurrent mutation model. - mrborges23/mutat...
github.com
January 27, 2025 at 4:30 PM
5/8 Our analyses further reveal that the BM model tends to overestimate the effective population size, particularly in bacteria, where estimated population sizes can be more than five times larger than those expected by the recurrent mutation model.
January 27, 2025 at 4:30 PM
4/8 By examining mutation rates and effective population sizes across the Tree of Life, we demonstrate that the BM model remains valid for most species but significantly deviates in bacteria.
January 27, 2025 at 4:30 PM
3/8 However, one can alternatively assume a recurrent mutation model (RM), which additionally considers mutations contributing to shifts in allele frequency.
In this study, we compare these two models.
January 27, 2025 at 4:30 PM
2/8 A common assumption is that mutations are infrequent, so when a new mutation arises, the previous one has either become fixed or lost. This assumption implies that mutations occur exclusively at fixed sites and is referred to as the boundary mutation model (BM).
January 27, 2025 at 4:30 PM
1/8 Mutations are fundamental for evolution, and their mathematical modelling in population genetics heavily relies on our perception of their frequency and the timescale over which they occur.
January 27, 2025 at 4:30 PM