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,992
Followers
6,507
Following
293
Posts
31.08.2023
Joined
Posts Following

Latest posts by James McInerney @jomcinerney

This looks really great. Iโ€™ve been following this for a while.

11.03.2026 13:18 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

On this last point: the implication is (and I wrote this in the paper) that evolution is not optimising biochemical (or other) activity as a primary focus, but the context-dependent function. And this is liable to change often.

11.03.2026 13:06 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

those who felt word meanings came from definitions, and those who thought word meaning emerged from context. It just struck a chord & I started from there. I think gene "function" emerges from context (function โ‰  biochemical activity, btw) and for the next ten years, I plan on focussing on context.

11.03.2026 10:38 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1
Preview
Geoffrey Hinton - Wikipedia

The entire thing came from watching a youtube video interview with Geoffrey Hinton (en.wikipedia.org/wiki/Geoffre...), who was talking about how the field of language modelling was in two camps 2/3

11.03.2026 10:38 ๐Ÿ‘ 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

I'm thankful to MBE for publishing this paper. I wan't sure anybody would. The handling editor (I now know was Jeff Townsend) was great, as were the 2 reviewers. It is not an outcome/product/discovery, it is my way of thinking about HGT & pangenomes 1/3 academic.oup.com/mbe/article/...

11.03.2026 10:38 ๐Ÿ‘ 16 ๐Ÿ” 5 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1

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