Sign in

John Lees

@johnlees.bacpop.org
1.6K followers 401 following 178 posts

Pathogen informatics and modelling bacpop.org (Research group leader at EMBL-EBI - ebi.ac.uk/research/lees)

PostsRepliesMedia
Reposted by John Lees
romain derelle @rom12relle.bsky.social · 28/09/2026
Happy to share that our paper describing kamino, a new variant-calling tool, has been accepted for publication in MBE @molbioevol.bsky.social. Big thanks to @johnlees.bacpop.org and Leonid Chindelevitch. academic.oup.com/mbe/advance-...
academic.oup.com
Kamino: fast proteome-wide variant calling for amino acid phylogenomics
Abstract. Amino acid-based phylogenetics usually relies on first clustering and aligning orthologous proteins. This approach is powerful but computationall
022
Reposted by John Lees
Nick Loman @pathogenomenick.bsky.social · 22/09/2026
Folks - if you're interested in how machine learning/AI can be used for microbial genomics, microbiome and metagenomics studies - please join us for a workshop in Birmingham on Thursday 8th October organised with CLIMB & NVIDIA. www.climb.ac.uk/blog/2026/09...
climb.ac.uk
Call for Applications: GPU-Accelerated Computing for Microbiome and Metagenomic Research · CLIMB
CLIMB is a cloud computing infrastructure for microbial bioinformatics — notebook servers, shared storage and reproducible workflows for genomics, metagenomics and pathogen surveillance researchers ac...
31920
Reposted by John Lees
Jeffrey Barrett @jeffbarrett.eu · 15/09/2026
Tempted to use AI to write your cover letter or email to a potential employer? RESIST! It is simultaneously obvious, insulting, and renders you totally undifferentiated from the other 80 people being considered t the same time. There has never been a better time to write concisely in your own voice!
33912
John Lees @johnlees.bacpop.org · 14/09/2026
Thanks for posting these, enjoyed reading (and your ones on how you use agents) — feeling out of touch with modern rt infectious disease modelling now!
110
John Lees @johnlees.bacpop.org · 10/09/2026
Didn’t know you were a fan of I Love LA Zam
130
Reposted by John Lees
Leonie Lorenz @leonielorenz.bsky.social · 09/09/2026
I am excited to share that my main PhD work on developing a Wright-Fisher model for replacement dynamics in Streptococcus pneumoniae populations following vaccine introductions has been published in Genome Medicine! We used it to investigate optimal surveillance strategies. rdcu.be/UGjFZJBhKVba
173
Reposted by John Lees
Josie Bryant @josiebryant.bsky.social · 07/09/2026
Apply to do a PhD at @sangerinstitute.bsky.social with me on global genomics of Mycobacterium abscessus bbsrcdtp.lifesci.cam.ac.uk/project-refe... About the scheme: bbsrcdtp.lifesci.cam.ac.uk/application-...
bbsrcdtp.lifesci.cam.ac.uk
Project Reference: TRG27-SAN-JB1 | Cambridge Biosciences DTP PhD Programme
01823
John Lees @johnlees.bacpop.org · 03/09/2026
I am hiring in this round – please do apply if you are interested in: machine learning (protein/genome/gene language models), methods for pathogen data analysis, pangenomes (or share with any students who might want to work with us)
01616
Reposted by John Lees
bioRxiv Genetics @biorxiv-genetic.bsky.social · 01/09/2026
Bayesian adaptive experimental design for efficient microbial genome-wide association studies www.biorxiv.org/content/10.64898/20…
054
Reposted by John Lees
Jeffrey Barrett @jeffbarrett.eu · 19/08/2026
Great run-down of the PacBio situation. Lots of detail I hadn't known about from the last several years.
052
John Lees @johnlees.bacpop.org · 10/08/2026
great photo! I have also since been told that Skomer, or perhaps even the Skellig islands are in fact the best places to go
010
John Lees @johnlees.bacpop.org · 10/08/2026
On seeing puffins: johnlees.me/posts/puffins/
johnlees.me
Puffin watching experiences, ranked
This year I went on two puffin watching experiences, and it is about time I reflect on this with a listicle / ranking. All on islands with decreasing populations of people and increasing populations o...
160
John Lees @johnlees.bacpop.org · 27/07/2026
Nick Croucher, Ewan Harrison and I have a project available here 'Pathogen antigen discovery and immune profiling': www.embl.org/editorhub/wp... Applications open until 27th September
embl.org
052
John Lees @johnlees.bacpop.org · 27/07/2026
Yeah definitely, that one had been festering at the back of my mind for a few years!
000
John Lees @johnlees.bacpop.org · 27/07/2026
(also cost all my credits and I didn't do all the comparisons I wanted to)
100
John Lees @johnlees.bacpop.org · 27/07/2026
What is an 'everyday task' and what is a 'complex problem' in bioinformatics software engineering? Feels more important use the right model now they're not so heavily subsidised! I did a small comparison on an optimisation task: johnlees.me/posts/ska2-c... Small/cheap model wasn't good enough
johnlees.me
Credit use of AI models for bioinformatics: a tiny benchmark
Agentic coding models such as codex and claude code are really useful for software engineering tasks. We sadly (and unsurprisingly) seem to be exiting the era of highly subsidised costs to get us hook...
2114
Reposted by John Lees
Josie Bryant @josiebryant.bsky.social · 08/07/2026
Very proud of this preprint out of my lab, our first (of hopefully many) host-microbe spatial transcriptomics paper. www.biorxiv.org/content/10.6... Amazing insights into P. aeruginosa biology and chronic airway disease @cysticfibrosis.org.uk @sangerinstitute.bsky.social @asthmaandlung.org.uk
36031
Reposted by John Lees
James Hay @jameshay.bsky.social · 22/06/2026
Are you a computational immunologist or bioinformatician interested in impactful vaccine research? We're hiring a postdoc to join @psioxford.bsky.social work in vaccine immunology and evaluation, working on the ChAdOx1 Nipah vaccine. Please get in touch! my.corehr.com/pls/uoxrecru...
my.corehr.com
Job Details
0515
John Lees @johnlees.bacpop.org · 16/06/2026
Hopefully in the near future we'll be able to provide gemsparcl cluster IDs as a standard nomenclature in EBI services, which will be useful for top level comparisons and dereplication too
020
John Lees @johnlees.bacpop.org · 16/06/2026
We use an optimised sketching library with an inverted index to avoid N^2 comparisons, and adjust for incompleteness of MAGs (thanks @npmalfoy.bsky.social for discussions about this!) We show analyses about effects of plasmids; search and assignment of new genomes to clusters; and subclustering
141
John Lees @johnlees.bacpop.org · 16/06/2026
We've been looking at how to compare and cluster large numbers of genomes, such as those in large isolate databases such as AllTheBacteria, and metagenome assemblies (e.g. SPIRE, MGnify). On a combined dataset of 5.6 million assemblies, we can now cluster/dereplicate everything in under a day!
13111
Reposted by John Lees
Charlotte Houldcroft @virologyhouldcroft.bsky.social · 12/06/2026
As many people guessed... MenB vaccine catch up campaign incoming for students in England, Wales and Scotland www.bbc.co.uk/news/article...
bbc.co.uk
Meningitis B vaccine to be offered to thousands of young people in July
The decision for the one-off vaccine programme follows the unprecedented outbreak in Kent this year.
032
Reposted by John Lees
Laurent Jacob @laurentjacob.bsky.social · 03/06/2026
The video recordings of the legend 2025 conference held last December on machine learning for evolutionary genomics are now online ! Feel free to have a look if you missed the conference. www.canal-u.tv/chaines/lisn...
The legend 2025 conference logo showing a legendary being holding a tree in the palm of their hand, with snowy mountains in the background.
1107
John Lees @johnlees.bacpop.org · 01/06/2026
If anyone likes Boards of Canada they have a new album which is good, only a mere 13 years since Tomorrow's Harvest en.wikipedia.org/wiki/Inferno...
en.wikipedia.org
Inferno (Boards of Canada album) - Wikipedia
120
John Lees @johnlees.bacpop.org · 12/05/2026
good paw tuck
010
John Lees @johnlees.bacpop.org · 09/05/2026
Is that your pond? It’s great!!
100
Reposted by John Lees
Nicholas Mancuso @nmancuso.bsky.social · 07/05/2026
1263
Reposted by John Lees
Sam Horsfield @samuelhorsfield.bsky.social · 05/05/2026
Our new preprint is out! We train a transformer on gene order and gene content of bacterial pathogens, applying it to a range of epidemiological and evolutionary analyses (1/8) www.biorxiv.org/content/10.6...
12612
John Lees @johnlees.bacpop.org · 06/05/2026
And @macwiatrak.bsky.social for his AI expertise. You might have seen his bacformer paper (www.biorxiv.org/content/10.1...) which does something similar, but by using protein language models as an initial embedding was able to fit across _all_ species
biorxiv.org
A contextualised protein language model reveals the functional syntax of bacterial evolution
Bacteria have evolved a vast diversity of functions and behaviours which are currently incompletely understood and poorly predicted from DNA sequence alone. To understand the syntax of bacterial evolution and discover genome-to-phenotype relationships, we curated over 1.3 million genomes spanning bacterial phylogenetic space, representing each as an ordered sequence of proteins which collectively were used to train a transformer-based, contextualised protein language model, Bacformer . By pretraining the model to learn genome-wide evolutionary patterns, Bacformer captures the compositional and positional relationships of proteins and can accurately: predict protein-protein interactions, operon structure (which we validated experimentally), and protein function; infer phenotypic traits and identify likely causal genes; and design template synthethic genomes with desired properties. Thus, Bacformer represents a new foundation model for bacterial genomics that provide biological insights and a framework for prediction, inference, and generative tasks. ### Competing Interest Statement The authors have declared no competing interest. Wellcome Trust, 226602/Z/22/Z LifeArc, IH001 Ineos (United Kingdom), Oxbridge AMR Doctoral training programme NIHR Cambridge Biomedical Research Centre Cambridge Centre for AI in Medicine (CCAIM) doctoral training programme Swiss National Science Foundation, TMSGI2_226252/1, IC00I0_23192 Peter und Traudl Engelhorn Foundation Engineering and Physical Sciences Research Council, EP/T022159/1 Science and Technology Facilities Council, DiRAC
030
John Lees @johnlees.bacpop.org · 06/05/2026
Thanks to co-author @jomcinerney.bsky.social whose original PanGPT (github.com/mol-evol/pan...) model got us going -- look out for more work from him in this area
120
John Lees @johnlees.bacpop.org · 06/05/2026
We evaluated these AI models to classic bioinformatics methods for these tasks, which I think is important! It can look impressive to compare to a smaller model or different dataset and do very well on a task, when actually a simple informatic approach (e.g. sketching) does even better
120
John Lees @johnlees.bacpop.org · 06/05/2026
New work on using transformers (using gene order) for tasks in genomic epidemiology: www.biorxiv.org/content/10.6... We trained BART models (w/ extended context windows) on E.coli and S.pneumo from AllTheBacteria and tested if the model could find new strains, insertions (blaCTX-M) and co-selection
Embeddings of gene order from PanBART model
13011
Reposted by John Lees
Charles Mullon @charlesmullon.bsky.social · 22/04/2026
Applications now open for the UNIL Summer School on Modelling for Evolutionary Biology (31 Aug–5 Sep 2026, Lausanne)! For PhD & postdocs interested in formal approaches to evolutionary ecology (incl. social evo, life-history, species interactions). Scholarships available, Pls RP! shorturl.at/fo1GA
05780
Reposted by John Lees
Aude Bernheim @audeber.bsky.social · 02/04/2026
How diverse is bacterial immunity ? We report in @science.org how language models allowed us to predict 2.4M antiphage proteins spanning >23K novel potential systems. 👏 @emordret.bsky.social, @alexhv.bsky.social & al doi.org/10.1126/scie... Explore them here defensefinder.mdmlab.fr/wiki/refseq_...
science.org
10229115
Reposted by John Lees
Russ Corbett-Detig @russcd.bsky.social · 31/03/2026
Alex Kramer, Alan Zhang and friends posted our preprint today. In it, we introduce Panmap, a tool for phylogenetic placement, assembly, lineage abundance estimation, and eDNA assignment using phylogenetic pangenomes. www.biorxiv.org/content/10.6...
biorxiv.org
13419
John Lees @johnlees.bacpop.org · 31/03/2026
It might be that transcriptional differences do indeed cause a difference to invasion, but I would expect this to be reflected in the genome too (e.g. eQTL/SNP causing regulatory differences)
010
John Lees @johnlees.bacpop.org · 31/03/2026
Thanks! I would be surprised if there were two isogenic strains which due to environment alone caused more invasive disease (due to speed of transcription change vs outbreak timing, simplicity of regulation).
110
John Lees @johnlees.bacpop.org · 30/03/2026
i.e. consistent with outbreak with single source, no hypermutation/highly variable regions
130
John Lees @johnlees.bacpop.org · 30/03/2026
Minor update on genomics of the menB outbreak. UKHSA have updated with four more outbreak isolates, and a high quality assembly of the earlier genome. tl;dr ran ska+gubbins again, same results, all of these genomes look basically identical www.bacpop.org/blog/menb_up...
bacpop.org
Updated genomic analysis of the 2026 menB outbreak in Kent, UK
This is a brief update to the previous menB analysis we’d posted here. UKHSA have released a technical briefing and further data which includes four further isolates from the outbreak, and a high qual...
192
Reposted by John Lees
Igor Martayan @imartayan.bsky.social · 30/03/2026
A quick rant on people vibe-translating our Rust libraries to other languages That's the second time in a week that I see new bioinformatics tools with a vibe-coded translation of our Rust libraries to C/C++. I have two major issues with that:
23310
Reposted by John Lees
Sam Horsfield @samuelhorsfield.bsky.social · 30/03/2026
...because I'm also releasing ggCallaroo! This is an-easy-to-use snakemake pipeline that runs ggCaller, Panaroo and then functionally-annotates representative proteins using Bakta, all in one tool. github.com/samhorsfield...
github.com
GitHub - samhorsfield96/ggCallaroo: A snakelike pipeline combining ggCaller and Panaroo.
A snakelike pipeline combining ggCaller and Panaroo. - samhorsfield96/ggCallaroo
052
John Lees @johnlees.bacpop.org · 27/03/2026
ok sold! We will try it at some point soon then
120
John Lees @johnlees.bacpop.org · 27/03/2026
For these approaches which build from a longer sequence (and use the order of k-mers in construction), I presume this wouldn't really work for e.g. short read data being read 'online' this way? Or have I misunderstood?
100
John Lees @johnlees.bacpop.org · 27/03/2026
This looks very clever A use we have a lot is filtering singletons from fastq reads. We probe the filter for each k-mer, and if not found add to the filter, if found add to the passed set
110
John Lees @johnlees.bacpop.org · 27/03/2026
We have two paid internships available in our group starting this summer, suitable for master's / pre-PhD students: - Protein structure search - Promoter variation For full details and how to apply see: www.bacpop.org/jobs/
bacpop.org
Jobs
Working with us
01516
Reposted by John Lees
EMBL-EBI @ebi.embl.org · 24/03/2026
Welcome, @stephlo.bsky.social, our new Team Leader for Protein Function. Find out how Stephanie’s experience in genomics shaped her approach to protein curation and AI integration. #ProteinScience #AI www.embl.org/news/people-...
0125
John Lees @johnlees.bacpop.org · 24/03/2026
Here is some initial population analysis on the menB outbreak genome we have done: www.bacpop.org/blog/menb/ Some recombination in e.g. pilus and porB, but nothing I can see that is hugely unexpected
bacpop.org
Initial genomic analysis of the 2026 menB outbreak in Kent, UK
We’ve done a quick analysis on the meningitis outbreak genome to try and answer whether there is anything obviously genetically unusual about the publicly available outbreak strain. We aimed for three...
0142
John Lees @johnlees.bacpop.org · 21/03/2026
Metagenomics might be nice too but I don’t think it’s done unless the infection is unknown. More sequences from the outbreak, followed by long read sequencing of the isolates would be the things I’d find most useful right now
030
John Lees @johnlees.bacpop.org · 21/03/2026
There is an assembly, just not the reads (as far as I could tell). I was pleased that this was released quickly and openly — not sure that would have happened pre-Covid. Reads would be nice to but realistically I think we (including EBI) need to make it easier/faster to share them in outbreaks
110