Curro Campuzano's Avatar

Curro Campuzano

@currocam.bsky.social

Bioinformatician. Interested in scientific computing, open source, stats and pop-gen. Doing a PhD in evolutionary ecology at UAntwerpen. Living in Brussels. He/Him https://currocam.github.io/

119 Followers  |  331 Following  |  2 Posts  |  Joined: 25.11.2024
Posts Following

Posts by Curro Campuzano (@currocam.bsky.social)

Post image

Newly expanded version of my guide to scientific writing -- known as the β€œ15 steps” -- published in PLOS Computational Biology. Special thanks to Γ‰ric Marty for creating a fantastic visualization.

Check it out: journals.plos.org/ploscompbiol...

#ScientificWriting #PLOSComputationalBiology

24.09.2025 17:54 β€” πŸ‘ 43    πŸ” 26    πŸ’¬ 1    πŸ“Œ 2
Preview
Ecological speciation in sympatric palms: 5. Evidence for pleiotropic speciation genes using gene knockout and high-throughput phenotyping Abstract. Theoretical models predict that sympatric, ecological speciation may be facilitated more readily when so-called β€˜magic traits’ are present, linki

Magic traits may assist sympatric #Ecological speciation, but few examples exist & evidence for their role is rare. Yet, this study found #pleiotropy affected soil preference & flowering time in #Hawea, consistent with speciation!

Check out the full paper 🌍πŸ§ͺπŸ‘‡

22.09.2025 12:30 β€” πŸ‘ 7    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1

Blog post: github.com/sophieehill/...

TL;DR: There are a LOT of errors/inconsistencies in the results reported in this paper (estimates outside CIs, sign errors, duplicates, asymmetric CIs). Even in the abstract itself!

This suggests manual editing of results tables.

Which is not good...

🧡

08.09.2025 01:51 β€” πŸ‘ 94    πŸ” 30    πŸ’¬ 2    πŸ“Œ 9
Preview
Infinite Mixture Models for Improved Modeling of Across-Site Evolutionary Variation Abstract. Scientific studies in many areas of biology routinely employ evolutionary analyses based on inference of phylogenetic trees from molecular sequen

Infinite Mixture Models for Improved Modeling of Across-Site Evolutionary Variation by Mandev Gill, @guybaele.bsky.social, @msuchard.bsky.social, and @lemeylab.bsky.social academic.oup.com/mbe/article/...

01.09.2025 16:45 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Snakemake

#Snakemake 9.10 has been released. The major change is that it now supports scheduling plugins. By that your scheduling algorithm research becomes immediately usable with thousands of workflows by thousands of users. snakemake.github.io

29.08.2025 12:54 β€” πŸ‘ 7    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0

We can (and should) do better by incorporating biological knowledge about species invasions and recent advances in population genetics in our models. If you want to see the poster (or try it out), contact me and check it out! (2/2)

currocam.github.io/eseb_barcelo...

23.08.2025 11:51 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Thank you everyone who came to my poster at #ESEB2025 to hear about inferring (very) recent Ne under invasion scenarios using LD data in a coalescent framework with a Bayesian flavor. (1/2)

23.08.2025 11:51 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

If you like adaptive radiation and the effect of gene-flow on diversification, come have a look at my poster 03.340 at #eseb2025

21.08.2025 07:24 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
tskit_arg_visualizer: interactive plotting of ancestral recombination graphs Summary: Ancestral recombination graphs (ARGs) are a complete representation of the genetic relationships between recombining lineages and are of central importance in population genetics. Recent brea...

Excited to share our new preprint for the tskit_arg_visualizer Python package! ARGs can sometimes feel like a black box, so
@yanwong.bsky.social and I have been developing a method to programmatically drawing these graphs.

πŸ”— arxiv.org/abs/2508.03958

1/6

19.08.2025 14:12 β€” πŸ‘ 63    πŸ” 35    πŸ’¬ 2    πŸ“Œ 2
Preview
Notes from Beethoven’s genome Wesseldijk et al. compare the genomic information collected from Ludwig van Beethoven with population-based datasets used to quantify musical achievement.

If someone you know buys into claims about "genetic optimization" of embryos using polygenic scores of cognition, just send them our 2024 paper on Beethoven & musicality. We wrote it to help communicate limits of individual-level genetic predictions & complexity of links between DNA & behaviour. πŸ§ͺπŸ‘‡

07.08.2025 11:09 β€” πŸ‘ 201    πŸ” 95    πŸ’¬ 7    πŸ“Œ 11
  ################################
  probdata[which(probdata == 0)] <- 0.001 # small but not 0
  if (length(which(is.na(probdata))) != 0) {
    stop("NAs in probdata matrix!!!")
  }
  L <- (-1) * sum(log(probdata), na.rm = T)

################################ probdata[which(probdata == 0)] <- 0.001 # small but not 0 if (length(which(is.na(probdata))) != 0) { stop("NAs in probdata matrix!!!") } L <- (-1) * sum(log(probdata), na.rm = T)

Rounding to zero is often a problem in machine learning, which is why we do computations on log scale and use various composition functions. This below (from materials in a paper I am reading) is not how to do it. If you are getting zeros in your prob vector, back up and do the calculations right >

14.08.2025 06:34 β€” πŸ‘ 50    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Preview
β€˜Sex reversal’ is surprisingly common in birds, new study suggests Survey of five Australian avians finds numerous discordant individuals, including a genetically male bird that had laid an egg

Sex-reversal in birds (genetically male/female but appear female/male) is surprisingly common. Best detail: A genetically male bird called a laughing kookaburra had recently laid an egg. (1/2)

By @phiejacobs.bsky.social on @science.org

13.08.2025 13:04 β€” πŸ‘ 1998    πŸ” 674    πŸ’¬ 53    πŸ“Œ 173

This is a good time to remember that Moas, Emus, and the other ratites diverged so long ago, they FLEW to different continents, and then lost the ability to fly and became giants independently. You can't just sprinkle a few variants to make one into the other.

www.science.org/doi/10.1126/...

09.07.2025 22:33 β€” πŸ‘ 442    πŸ” 166    πŸ’¬ 13    πŸ“Œ 12
Preview
Coalescence and Translation: A Language Model for Population Genetics Probabilistic models such as the sequentially Markovian coalescent (SMC) have long provided a powerful framework for population genetic inference, enabling reconstruction of demographic history and an...

Cool new paper on pop gen and machine learning:

www.biorxiv.org/content/10.1...

28.06.2025 15:38 β€” πŸ‘ 45    πŸ” 20    πŸ’¬ 0    πŸ“Œ 0
A circular phylogeny of Malawi cichlids with inversion frequencies indicated for different taxa as rings around the tree.

A circular phylogeny of Malawi cichlids with inversion frequencies indicated for different taxa as rings around the tree.

Check out our new paper about chromosomal inversions in Malawi cichlids! 🐟🧬

Available here without a paywall: hdl.handle.net/10067/214834... (click on the β€˜Full text (open access)’ link).

19.06.2025 12:23 β€” πŸ‘ 19    πŸ” 11    πŸ’¬ 2    πŸ“Œ 1
Explaining assembly by playing SHENZHEN I/O
YouTube video by Jon Gjengset Explaining assembly by playing SHENZHEN I/O

SHENZHEN I/O stream where I try to teach some assembly by playing an assembly-inspired game is now up! This is very much an experiment, so please let me know if this format was still entertaining + educational :)

youtu.be/zycRrVS3NLc

30.05.2025 19:57 β€” πŸ‘ 23    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Post image

Fitting a generalized mixed model with a gamma distribution log link and random slopes to reaction time data to arrive at precisely the same point estimate as the authors did by simply averaging and conducting a t-test:

28.05.2025 17:22 β€” πŸ‘ 290    πŸ” 32    πŸ’¬ 19    πŸ“Œ 6

I wrote a Dispatch for Current Biology on the neat new paper by @princessquatris.bsky.social et al., highlighting why occupancy modelling is an exciting tool for understanding sampling bias in palaeontology πŸ¦•
You can access it for free using this link:
authors.elsevier.com/a/1l7HM3QW8S...

21.05.2025 11:06 β€” πŸ‘ 39    πŸ” 17    πŸ’¬ 2    πŸ“Œ 3
A code block labeled "A Common Bug (in compiled extension modules)." The code shows an attempt to exit a  calculation of a large array of random numbers, and then indicates that a Ctrl+C interrupt takes 3.5 seconds to return, rather than returning immediately as is probably the desired and expected behavior.

A code block labeled "A Common Bug (in compiled extension modules)." The code shows an attempt to exit a calculation of a large array of random numbers, and then indicates that a Ctrl+C interrupt takes 3.5 seconds to return, rather than returning immediately as is probably the desired and expected behavior.

Have you ever started a Python process, realized that you made a mistake, immediately hit Ctrl+C to interrupt it and then waited a surprisingly long time to get the command line back?

This delay is caused by a bug in the compiled #Python extension.

:thread:

20.05.2025 15:46 β€” πŸ‘ 15    πŸ” 7    πŸ’¬ 2    πŸ“Œ 1
Preview
Combining cross-sectional and longitudinal genomic approaches to identify determinants of cognitive and physical decline - Nature Communications Large-scale genomic studies focusing on the genetic contribution to human aging have mostly relied on cross-sectional data. With the release of longitudinally curated aging phenotypes by the UK Bioban...

Happy to share our new study on genetic & environmental contributors to age-related decline in ~100K UK Biobank participants!

Here, we used simulation work + longitudinal GWAS and downstream analyses to explore risks involved in cognitive/physical decline
(1/)🧡🧡

shorturl.at/99gqL

19.05.2025 12:28 β€” πŸ‘ 29    πŸ” 13    πŸ’¬ 3    πŸ“Œ 3

Elegant new theory on polygenic adaptation by Will Milligan, Laura Heyward, and Guy Sella.

17.05.2025 23:55 β€” πŸ‘ 53    πŸ” 26    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - Pakillo/academic-website-template-Quarto Contribute to Pakillo/academic-website-template-Quarto development by creating an account on GitHub.

Here's a template to make an academic website using #Quarto_pub hosted for free on GitHub

Just modify the quarto files (basically plain markdown) and the website will update automatically

github.com/Pakillo/acad...

01.02.2025 13:23 β€” πŸ‘ 39    πŸ” 10    πŸ’¬ 2    πŸ“Œ 1
Preview
Hilbert space methods for reduced-rank Gaussian process regression - Statistics and Computing This paper proposes a novel scheme for reduced-rank Gaussian process regression. The method is based on an approximate series expansion of the covariance function in terms of an eigenfunction expansio...

A colleague today asked about Gaussian Processes on a sphere. Like spatial autocorrelation on the globe. I asked @avehtari.bsky.social. There are papers! This problem common enough to be worth having a case study I think?
(1) Theory doi.org/10.1007/s112...
(2) Application doi.org/10.48550/arX...

28.01.2025 15:01 β€” πŸ‘ 47    πŸ” 8    πŸ’¬ 6    πŸ“Œ 1
Preview
The joint evolution of separate sexes and sexual dimorphism Abstract. Dioecious plants are frequently sexually dimorphic. Such dimorphism, which reflects responses to selection acting in opposite directions for male

1/7 Very happy to share our latest paper on the joint evolution of separate sexes and sexual dimorphism in @jevbio.bsky.social, led by @thomaslesaffre.bsky.social and in collaboration with John Pannell at @dee-unil.bsky.social

πŸ”— doi.org/10.1093/jeb/voae136

22.01.2025 13:37 β€” πŸ‘ 46    πŸ” 26    πŸ’¬ 3    πŸ“Œ 1
Preview
GitHub - pachterlab/fastQpick Contribute to pachterlab/fastQpick development by creating an account on GitHub.

If you need to sample reads (with or without replacement) from FASTQ files you may find the fastQpick utility by Joseph Rich super useful: github.com/pachterlab/f...

27.01.2025 01:11 β€” πŸ‘ 82    πŸ” 25    πŸ’¬ 1    πŸ“Œ 0