metaGEM
First author
Open-source Snakemake workflow that turns raw metagenomes into community-level metabolic models.
What I bring: an open-source workflow I built and support (metaGEM); metabolic models built with wet-lab partners and checked against their measurements (co-first author, Nature Microbiology 2026, with the Kost lab) or used alongside their experiments (Nature Communications 2023, with Chr. Hansen); and teaching five courses.
I have worked in metagenomics and metabolic modelling for 7+ years, and since 2024 also with protein language models and structure search for gene annotation. I joined the Patil Lab at EMBL Heidelberg in 2019 and moved with the group to the MRC Toxicology Unit, University of Cambridge, where I did my PhD. From 2024 to 2026 I was a postdoc in the Sunagawa Lab at ETH Zürich, where I was co-lead of the NCCR Microbiomes Work Package 5 flagship project (details in the CV). My work turns raw metagenomic data into predictions of what each microbe in a community eats and makes, and I check those predictions against experimental data from partner labs: the Kost lab (Osnabrück) on soil isolates, Joy Scaria's lab on C. difficile bioreactors, and Chr. Hansen on cheese starter cultures.
Code, models and data from metaGEM, the soil and cheese papers and my PhD thesis are public on GitHub and Zenodo.
8 journal papers, 1 book chapter, 2 preprints and my PhD thesis. Tap a card to see the problem, the approach, my contribution and links. Citations from Google Scholar, news and social counts from Altmetric, as of Sept 2026.
Collaboration map: 12 publications and 13 key co-authors. Tap or hover a dot for details; tap a paper to open its summary.
First author
Open-source Snakemake workflow that turns raw metagenomes into community-level metabolic models.
Co-first author
Up to half the bacteria in soil communities could not grow without added amino acids, vitamins or nucleobases.
Second author
How the strains in a commercial Cheddar starter culture interact to shape growth and flavour, with Chr. Hansen (now part of Novonesis).
Third author
A 14-strain gut community grown in a bioreactor shows which microbial interactions and metabolic pathways help keep C. difficile out.
1 citation · preprint · 3 social
First author
Step-by-step protocol for building a genome-scale metabolic model from related species' models, with the industrial yeast Hansenula polymorpha as the worked example.
Fourth author
Search of global ocean and soil metagenomes for plastic-degrading enzymes: over 30,000 candidates, whose abundance correlates with plastic pollution.
I did the analysis that opens the paper: how common amino-acid auxotrophs are across more than 12,000 Earth Microbiome Project communities, and whether auxotrophs grow better under drugs.
I gave the authors a session on flux balance analysis and genome-scale metabolic models, then reviewed the finished paper and helped interpret the metabolic scores.
As a community contribution, I submitted a genome-scale model from one of our lab's published studies to BioModels as a test case.
As a master's student on the Chalmers iGEM 2018 team, I was one of three members in charge of our lab's interlab contribution: growing the test strains, calibrating OD and fluorescence on the plate reader, and counting colonies.
Omics-driven and constraint-based modelling of microbial community metabolism.
Builds genome-scale metabolic models directly from metagenomes.
metaGEM is an end-to-end Snakemake workflow that turns raw metagenomic reads into community-level metabolic predictions.
Pipeline stages:
Why this matters for an industry team: people outside my group install metaGEM from Bioconda and run it on their own data, and I have supported them since 2021, through six releases and replies to 88 of the 90 GitHub issues other users opened.
git clone https://github.com/franciscozorrilla/metaGEM.git cd metaGEM/workflow mamba env create -n metagem -f envs/metaGEM_env.yml
Linux (clusters or workstations). metaWRAP, the modelling tools (CarveMe, MEMOTE, SMETANA) and the reference databases need a few more steps: see the setup guide.
Worked example: metaGEM on Unseen Bio gut samples
Published studies in which other groups used metaGEM, or followed its modelling steps, on their own data. Each one has been checked against the paper's methods section.
Song et al. (Pacific Northwest National Laboratory, the DOE Joint Genome Institute and Eawag) used metaGEM for quality control, assembly and binning of metagenomes from 47 US soil cores, then linked the recovered genomes to soil organic-matter chemistry.
Carbon cycling · climate
Liu et al. (Nanjing Agricultural University) extended metaGEM with an extra binning tool (SemiBin) to build community metabolic models from rhizosphere metagenomes. These models confirmed their main finding: predation by soil protists shifts bacteria from competing to cooperating.
Soil ecology · agtech
Tinker et al. (US national laboratories NETL, PNNL and Sandia) ran metaGEM with default settings to recover genomes from water in a deep saline aquifer in Illinois, to assess how storing hydrogen underground could affect its microbes.
Energy · underground hydrogen storage
Zhao et al. (Tianjin Institute of Industrial Biotechnology, CAS) used metaGEM to recover 164 genomes from a microbial community they scaled up from shake flasks to an industrial plant treating phenolic resin wastewater.
Industrial wastewater · biotech
Werbin et al. (Boston University) moved the main workflow of their public tutorial for the National Ecological Observatory Network's soil metagenomes to metaGEM, citing its support for computing clusters, and thanked the metaGEM developers for help troubleshooting.
Soil · large-scale ecology
Chiciudean et al. (Babeș-Bolyai University, Romania) followed metaGEM's modelling steps (CarveMe, MEMOTE, SMETANA) on their own genomes from a sulfidic cave, to map competition and cooperation in an ecosystem that runs without sunlight. I helped with their community simulations.
Extreme environments · ecology
Selected from the 150+ works that cite metaGEM. See the full list on Google Scholar.
Postdoc, ETH Zürich (2024 to 2026) · PhD, University of Cambridge · EMBL Heidelberg
Bioinformatics: metaGEM, Snakemake, fastp, MEGAHIT, CONCOCT, MaxBin2, MetaBAT2, metaWRAP, GTDB-Tk
Systems biology: CarveMe, SMETANA, MEMOTE, COBRA, FBA / FVA, RAVEN
Protein AI tools (pretrained models): ProstT5, Foldseek, AlphaFold2
Languages and infrastructure: Python, R, MATLAB, Bash, Slurm HPC, GPU jobs on Slurm, Conda/Bioconda packaging, Git/GitHub, Claude Code (agentic coding)
I have taught in five courses (two EMBO Practical Courses, plus courses at EMBL-EBI, ETH Zürich and the University of Cambridge), with 75+ participants in total, and presented my research at conferences in Ireland, Germany and the US. Course materials are public.
| Date | Title | Venue | Role |
|---|---|---|---|
| 2026 · Jan | NCCR Microbiomes Winter Course: advanced methods in microbial community analysis | UNIL · Lausanne | prepared exercises |
| 2025 · Nov | Microbial Community Genomics (551-1119-00L) · Sunagawa Lab Block Course | ETH Zürich | instructor |
| 2025 | Master's thesis supervision (project hosted by a lab at the University of Oxford) | ETH Zürich | supervisor |
| 2024 · Oct | Metabolite and species dynamics in microbial communities | EMBO Practical Course, Bangalore | instructor |
| 2024 · Oct | Metabolic modelling for microbial ecology | 9th COBRA Conference, San Diego | poster |
| 2024 · Jan | Flux balance analysis and metabolic modelling | Part III Systems Biology (master's level), Cambridge | instructor |
| 2022 · Oct | Metabolic modelling of community interactions | EMBO Practical Course (online) | instructor |
| 2022 · Oct | Metagenomics-driven metabolic modeling for microbial ecology | EMBO Workshop: Molecular mechanisms in evolution and ecology, Heidelberg | poster and flash talk |
| 2022 · Sep | Metagenomics-driven metabolic modeling for microbial ecology | 8th COBRA Conference, Galway | selected talk |
| 2022 · Jun | Applications of genome scale metabolic models | S2M2 Summer School in Metabolic Modelling, Braga (online) | invited talk |
| 2022 · Feb | From metagenomics to metabolic interactions | SymbNET 2022 Course, EMBL-EBI (online) | instructor |
| 2021 · Mar | metaGEM: reconstruction of genome scale metabolic models directly from metagenomes | 7th COBRA Conference (online) | poster |
| 2018 · Oct | iGEM 2018 · Gold medal, Best Model nominee (graduate section) | iGEM Giant Jamboree, Boston | team member |
Materials from these courses are public.
Materials for a course on advanced methods in microbial community analysis. I helped prepare the reproducible data analysis exercises.
Genome-scale metabolic models, community modelling and AI-based gene annotation. Tutor with Samuel Miravet-Verde and Martin Sperfeld; course run by Shinichi Sunagawa.
Tutorial on flux balance analysis and genome-scale metabolic models.
Flux balance analysis practical, originally by Arianna Basile and Kiran Patil; I updated and taught it in 2024.
Tutorial on flux balance analysis, genome-scale metabolic models and microbial ecology.
Walkthrough from metagenomes to community metabolic models.
Happy to talk about computational biology, open-source tools or a role on your team. Email is fastest.