James McInerney's Avatar

James McInerney

@jomcinerney

Writing a book about horizontal gene transfer and non treelike evolution. Bioinformatics, Evolutionary Biology. Pangenomes. Chair in Evolutionary Biology. ๐Ÿ‡ฎ๐Ÿ‡ช http://github.com/mol-evol/panGPT

3,990
Followers
6,499
Following
288
Posts
31.08.2023
Joined
Posts Following

Latest posts by James McInerney @jomcinerney

That looks really cool, Stu. Will be reading it properly later today.

05.03.2026 09:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

True story.

05.03.2026 09:20 ๐Ÿ‘ 20 ๐Ÿ” 3 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

@jomcinerney.bsky.social proposes that genomes do not encode fixed functions but rather โ€œprobability distributionsโ€ over functional and phenotypic outcomes, and introduces โ€œgenomic perplexityโ€ as a measure of gene-context incompatibility.

๐Ÿ”— doi.org/10.1093/molbev/msag041

#evobio #molbio

04.03.2026 16:03 ๐Ÿ‘ 16 ๐Ÿ” 5 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

@guigau.bsky.social Saw PanGBank earlier. Very nice ๐Ÿ‘

04.03.2026 10:59 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Home

This looks absolutely great. For those of us interested in pangenomes, I am sure this will be a super place to get data and the interface is very clean (plotly). Congrats to the authors (I don't know if they are on bsky): pangbank.genoscope.cns.fr

04.03.2026 10:50 ๐Ÿ‘ 8 ๐Ÿ” 4 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

But it is an eight year old version of endnote and word is a similar vintage. I think me and them are fused together at this stage. Late-stage calcification ๐Ÿ˜œ

04.03.2026 09:29 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Thanks for the tip. I have done what many people do - bought the book and only part-read it. However, I do need to thinbk more deeply about correcting for phylogeny, so this is a great tip. Many thanks.๐Ÿ‘

03.03.2026 19:58 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Itโ€™s the power ballads that were the hardest part. Nobody needs to listen to van Halen at 2pm on a Tuesday.

03.03.2026 17:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I'm in a coffee shop wrestling with Endnote, while 1980s power ballads blast out from a giant speaker. The sun is shining for the first time this year, but I got paper submission deadlines. I hope nobody sees me cry.

03.03.2026 14:47 ๐Ÿ‘ 8 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Preview
Genomic Perplexity and the Evolution of Context-Dependent Function Abstract. The fundamental principle that selection acts on a geneโ€™s function often assumes implicitly that this function is fixed and intrinsic. However, e

Thanks to The Leverhulme Trust (RF-2023-408) for supporting this work, and to the reviewers and associate editor whose feedback greatly improved the manuscript.
Paper: doi.org/10.1093/molbev/msag041

27.02.2026 10:45 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This connects to real tools. Transformer-based genome models (DNABERT, Evo) can calculate perplexity directly. AlphaFold confidence scores estimate structural perplexity. Flux Balance Analysis handles metabolic perplexity. The framework is testable now.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The practical shift: instead of asking "what does this gene do?" we should ask "what can this gene become?" Synthetic biology, antimicrobial development, and evolutionary prediction all become questions of context engineering rather than gene optimisation alone.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It also explains open vs closed pangenomes. Open pangenomes (like E. coli) arise when large population sizes can detect small fitness advantages and high environmental variability creates many contexts where accessory genes pay off - despite integration costs.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The framework predicts pangenome structure. Core genes = low perplexity across contexts. Rare accessory genes = high perplexity generally, but strong benefits in specific contexts. The U-shaped frequency distribution falls out naturally.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

This explains why HGT has a fitness cost โ€” not because transferred genes are broken, but because they arrive into a genome optimised for different statistical patterns. Over time, codon adaptation, regulatory rewiring, and compensatory mutations reduce perplexity. The gene becomes "expected."

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Perplexity operates across multiple dimensions: codon usage, protein structure, regulatory compatibility, metabolic integration, protein-protein interactions, chromosomal organisation, and gene co-occurrence patterns. Each contributes to the fitness cost of genomic novelty.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

This leads to the concept of "genomic perplexity" โ€” borrowed from information theory. Perplexity measures how "surprised" a model is by a sequence. A horizontally transferred gene landing in a new genome is a high-perplexity token โ€” statistically unexpected in that context.

27.02.2026 10:45 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I propose that evolution shapes genomes not to encode fixed functions, but to optimise probability distributions of functional outcomes across the contexts organisms actually encounter. Selection acts on these distributions, not on singular gene activities.

27.02.2026 10:45 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Modern language models (transformers) succeed because they learn probability distributions over outcomes given context. They use "attention"-each word's contribution depends on other words in the sequence. Epistasis is the biological equivalent. A gene's effect depends on what else is in the genome.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

This is exactly the problem NLP faced for decades. Trying to understand language through fixed word definitions failed. The breakthrough came when researchers stopped assigning fixed meanings and started treating words as things whose meaning emerges from context.

27.02.2026 10:45 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

We've long asked "what does this gene do?" But the same gene can be essential in one strain and dispensable in another. SP_0185 in Streptococcus pneumoniae is a magnesium transporter โ€” lethal to lose in some strains, irrelevant in others. Same gene. Different context. Different function.

27.02.2026 10:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Genomic Perplexity and the Evolution of Context-Dependent Function Abstract. The fundamental principle that selection acts on a geneโ€™s function often assumes implicitly that this function is fixed and intrinsic. However, e

New paper out in MBE! ๐Ÿงต
"Genomic Perplexity and the Evolution of Context-Dependent Function"
The big idea: genes don't have fixed functions. Function emerges from context - genomic, cellular, environmental. And we can quantify this. academic.oup.com/mbe/article/...

27.02.2026 10:45 ๐Ÿ‘ 61 ๐Ÿ” 17 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Post image

MENI is back! Join us in Dublin this August 2026 for our 3rd Meeting for Microbial Evolution in Ireland. We are delighted to have @rachelmwheatley.bsky.social @drrebeccajhall.bsky.social @jpjhall.bsky.social and @tweethinking.bsky.social join us as keynote speakers this year. miniurl.com/MENI

18.02.2026 12:16 ๐Ÿ‘ 40 ๐Ÿ” 28 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1

You can change the denomination to euro. Itโ€™s general for people with a finite amount of time and more than one option for what grant to write.

29.01.2026 13:35 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Bacteriophages mobilize bacterial defense systems via lateral transduction Bacteriophages and PICIs spread bacterial defenses via lateral transduction, shaping microbial immunity and pathogen evolution.

Very interesting paper. www.science.org/doi/10.1126/...

24.01.2026 13:24 ๐Ÿ‘ 12 ๐Ÿ” 5 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Grant Portfolio Evaluator Rank and prioritize research funding opportunities. Calculate EV/hour and decide which grants are worth your time.

Ever wondered if writing a grant proposal was actually worth your time? Presenting....The Grant Portfolio Evaluator - (for entertainment only) mol-evol.github.io/grant-evalua...

15.01.2026 14:22 ๐Ÿ‘ 22 ๐Ÿ” 6 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 2
Preview
PanForest: predicting genes in genomes using random forests AbstractMotivation. The presence or absence of some genes in a genome can influence whether other genes are likely to be present or absent. Understanding t

PanForest: predicting genes in genomes using random forests academic.oup.com/bioinformati... #jcampubs

12.01.2026 14:30 ๐Ÿ‘ 20 ๐Ÿ” 7 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Dissecting Phylogenetic Support: Unified Decay Indices, AU Tests, and Branch-Site Specific Visualizations. https://www.biorxiv.org/content/10.64898/2025.12.05.692543v1

05.12.2025 23:33 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Oh nooooo. ๐Ÿ˜๐Ÿ˜๐Ÿ˜

15.01.2026 17:34 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

its for "entertainment" purposes only :)

15.01.2026 14:43 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0