metaGEM
First author
Open-source Snakemake workflow that turns raw metagenomes into community-level metabolic models.
I have worked in metagenomics and metabolic modelling for 7+ years, turning genomes and metagenomes into predictions of what each microbe in a community consumes and produces, together with wet-lab partners in academia and industry. At ETH Zürich I co-led a multi-institution NCCR Microbiomes flagship project and mentored three PhD students, and I have taught these methods in five courses.
8 journal papers, 1 book chapter, 3 preprints and my PhD thesis. Open a card to see the problem, the approach and my part in it. Code, models and data from metaGEM, the soil and cheese papers and my thesis are public on GitHub and Zenodo. Citations from Google Scholar, Sept 2026.
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.
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 carried out 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.
Automated metabolic model reconstruction for gut bacteria and archaea, from the Patil lab. I contributed to the original idea for the project, which Arianna Basile carried out, and helped with visualisation.
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.
13 key co-authors and the papers we share. Tap or hover a dot for details; tap a paper to open its summary.
Builds genome-scale metabolic models directly from metagenomes.
Other groups install metaGEM from Bioconda and run it on their own data. I have supported them since 2021, with six releases and replies to 88 of the 90 GitHub issues other users opened.
The pipeline runs quality control (fastp), assembly (MEGAHIT), binning (CONCOCT, MaxBin2, MetaBAT2), bin refinement and reassembly (metaWRAP), taxonomy (GTDB-Tk), metabolic reconstruction (CarveMe), model QC (MEMOTE) and community simulation (SMETANA), on a workstation or a Slurm cluster.
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.
Song et al. (Pacific Northwest National Laboratory, with co-authors at the University of Arizona, the DOE Joint Genome Institute and Eawag) used metaGEM for quality control, assembly and initial binning of metagenomes from 47 US soil samples (344 of their 828 genomes), and linked the genomes to soil organic-matter chemistry.
Carbon cycling · climate
Liu et al. (Nanjing Agricultural University, with Wageningen University) extended metaGEM with the SemiBin binning tool to build metabolic models from tomato rhizosphere and soil microcosm metagenomes. Simulations with these models were one of several checks behind their main finding: predation by soil protists shifts bacteria from competing toward cooperating.
Soil ecology · agtech
Tinker et al. (US national laboratories NETL, PNNL and Sandia) ran metaGEM with default settings to recover nine draft genomes from an enriched water sample from a deep saline aquifer in southern Illinois, to check whether its microbes could consume hydrogen stored there.
Energy · underground hydrogen storage
Zhao et al. (Tianjin Institute of Industrial Biotechnology, CAS) used metaGEM to recover 164 draft genomes from a microbial community they scaled up from shake flasks to three industrial sites treating phenolic resin wastewater, sampling it at six stages along the way.
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. Their paper acknowledges my help with the simulations and statistics.
Extreme environments · ecology
Selected from published studies that use metaGEM; the 150+ works that cite it are listed 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, MMseqs2, DIAMOND
Systems biology: CarveMe, SMETANA, MEMOTE, COBRApy, ReFramed, RAVEN, FBA / FVA
Protein AI tools (pretrained models): ProstT5, Foldseek, AlphaFold2
Methods: model validation and benchmarking (baselines, cross-validation, bootstrap), pangenomics, phylogenetic regression, metabolomics
Languages and infrastructure: R, Python (NumPy, SciPy), 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.