# CV
I develop machine learning for spatial omics and tissue images in my PhD, and I build open-source tools for both as a core member of [scverse](https://scverse.org).
I have also worked at Google DeepMind, Roche and Novartis, and I started out with five years of wet-lab research and laboratory automation.

## Now

Since Dec 2022

### PhD, machine learning in single-cell genomics
Helmholtz Munich and TUM, with Fabian Theis
I develop methods for spatial omics and tissue images, for example to predict spatial gene expression from H&E. I also work on the [SpatialData](https://spatialdata.scverse.org)  infrastructure.

Since Sep 2024

### scverse core member
[scverse.org](https://scverse.org)
I lead the [squidpy](https://github.com/scverse/squidpy)  2.0 redesign, maintain [spatialdata-plot](https://github.com/scverse/spatialdata-plot)  and started [mantispy](https://github.com/scverse/mantispy). I review methods and code, mentor contributors and help steer technical decisions across the Python ecosystem for single-cell and spatial omics.

Since Aug 2026, Jul 2024 to Jan 2025

### Visiting Scientist
Broad Institute, Carpenter-Singh Lab
I build benchmarks and large-scale pipelines for image-based profiling of cells. On JUMP Cell Painting data, I benchmarked representation learning and batch correction, and I built a Snakemake pipeline to segment the full 110 TB. I now scale cp_measure to spatial proteomics and optical pooled screens. The Otto Bayer Fellowship funded the first visit.

## Industry

May to Dec 2025
 Student Researcher
 Google DeepMind

Jul to Dec 2021
 Intern, Data Science Acceleration
 Roche, Basel

I drove the development of [visR](https://doi.org/10.32614/cran.package.visr), an R package for figures of clinical trials and survival analyses, and led workshops on it. I also helped launch [hermes](https://bioconductor.org/packages/hermes), a Roche package for RNA-seq analysis that is now open source.

Jul 2020 to Jan 2021
 Intern, oncology data science
 Novartis Institutes for BioMedical Research, Basel

I built Snakemake pipelines for RNA-seq, ChIP-seq and ATAC-seq, from alignment to automated reports. Together with the experimental scientists, I used them for pharmacodynamic and pharmacokinetic analyses of cancer drugs.

Jul 2018 to Sep 2019
 Co-founder
 CytoScanner, from the group of Roland Eils in Heidelberg

We built [a low-cost automated microscope that lives inside the incubator](https://cytoscanner.com), and I developed both hardware and software. It was used to monitor cells and classify their fates with deep learning. We took part in the Life Science Accelerator BW and filed [a patent application](https://patents.google.com/patent/EP3812765A1/en)  for closed-loop imaging. I also supervised two master's students.

## Research

Nov 2021 to Dec 2022
 MSc researcher, computational genomics
 DKFZ Heidelberg, with Oliver Stegle

First, I helped develop spatialmuon, a Python package that stores spatial omics data together with its masks and metadata. For my thesis, I reimplemented Multi-Omics Factor Analysis in Pyro and added other sparsity priors and data distributions. The result became [Cellij](https://github.com/bioFAM/cellij).

Apr 2019 to Jun 2021
 Data scientist
 Moorfields Eye Hospital London, with Philipp L. Müller

I analysed data from patients with hereditary retinal disease at University Hospital Bonn and Moorfields. The work led to several papers, for example on predicting [visual function](https://doi.org/10.3390/jcm9082428)  and [retinal sensitivity](https://doi.org/10.1038/s41598-020-80766-4)  with machine learning.

Jan to Jun 2020
 Research assistant, systems microbiology
 EMBL Heidelberg, with Nassos Typas

I ran high-throughput screens of how drugs made for humans affect gut bacteria, which became part of a [Nature Protocols paper](https://doi.org/10.1038/s41596-023-00926-4). I also wrote the image analysis pipeline for a biofilm screen.

Sep to Dec 2019
 Research assistant, laboratory automation
 Fraunhofer IPA Mannheim, with Jens Langejürgen

I worked on a diagnostic device that characterises blood samples through contact-free impedance measurements. I automated the measurements and wrote the analysis scripts.

Dec 2016 to Jun 2018
 Research assistant, plant genomics
 Bielefeld University, with Bernd Weisshaar

I developed the laboratory information system and the website of GABI-Kat, a collection of Arabidopsis insertion mutants.

Oct 2014 to Sep 2015
 Research assistant, bioinformatics
 DKFZ Heidelberg, with Karl-Heinz Glatting

I modified and extended pipelines of HUSAR, the bioinformatics system of the DKFZ, in R and Perl.

## Studies

Oct 2018 to Dec 2022
 MSc Molecular Biotechnology
 Heidelberg University, bioinformatics track

Thesis with Oliver Stegle, final grade 1.1 (1.0 is best). I was also a member of the student council.

Oct 2015 to Sep 2018
 BSc Molecular Biology
 Bielefeld University

Thesis with Volker Wendisch, final grade 1.6 (1.0 is best). I characterised an antisense transcript that regulates carotenoid production in C. glutamicum, and helped increase pyrophosphate production through directed evolution. I also tutored a genetics practical and was operations manager of Enactus Bielefeld.

Feb to Sep 2015
 iGEM, Team Heidelberg
 BioQuant Heidelberg

We developed a ribozyme-based measurement system with aptamers designed in silico, and came third of 259 teams. I also organised and moderated a discussion between bioethics experts and the citizens of Heidelberg.

Oct 2013 to Sep 2015
 BSc Molecular Biotechnology
 Heidelberg University

I transferred to Bielefeld after two years. As a board member of the student council, I built the programme's website.

## Open source

### squidpy
Maintainer
Spatial single-cell analysis in Python.
[GitHub](https://github.com/scverse/squidpy)

### spatialdata-plot
Maintainer
Figures from images, segmentations, spots and transcripts in one coordinate system.
[GitHub](https://github.com/scverse/spatialdata-plot)

### mantispy alpha

Creator
Analysis of Cell Painting and other image-based screens, from quality control to hit calling.
[GitHub](https://github.com/scverse/mantispy)

### acumen
Co-lead
Builds and tests agent skills for Python packages, and checks that the gains carry over to unseen tasks.
[GitHub](https://github.com/scverse/acumen)

### cp_measure
Maintainer, since 2025
CellProfiler features in Python.
[GitHub](https://github.com/afermg/cp_measure)

### visR
2020 to 2021
Figures and tables for clinical research in R. I wrote large parts of the code.
[GitHub](https://github.com/openpharma/visR)

## Publications

2026
 [Beyond the capture area: imputation of spatial gene expression from H&E](https://papers.miccai.org/miccai-2026-sat/paper/COMPAYL_045.pdf)  First author, COMPAYL workshop at MICCAI

2026
 [Same encoder, different winner: a paired-view framework for Cell Painting encoder evaluation](https://arxiv.org/abs/2609.12761)  First author, arXiv preprint

2025
 [cp_measure: API-first feature extraction for image-based profiling workflows](https://arxiv.org/abs/2507.01163)  Second author, CODEML workshop at ICML

2024
 [SpatialData: an open and universal data framework for spatial omics](https://doi.org/10.1038/s41592-024-02212-x)  Co-author, Nature Methods

2024
 [An open-source framework for end-to-end analysis of electronic health record data](https://doi.org/10.1038/s41591-024-03214-0)  Third author, Nature Medicine

2024
 [GraphCompass: spatial metrics for differential analyses of cell organization across conditions](https://doi.org/10.1093/bioinformatics/btae242)  Joint second author, Bioinformatics

2023
 [High-throughput anaerobic screening for identifying compounds acting against gut bacteria in monocultures or communities](https://doi.org/10.1038/s41596-023-00926-4)  Co-author, Nature Protocols

2023
 [Cellij: a modular factor model framework for interpretable and accelerated multi-omics data integration](https://icml-compbio.github.io/2023/papers/WCBICML2023_paper124.pdf)  Joint first author, Computational Biology workshop at ICML

2023
 [Progression, reliability, predicting parameters and sample size calculations for quantitative fundus autofluorescence measures in ABCA4-related retinopathy](https://doi.org/10.1136/bjo-2022-322829)  Second author, British Journal of Ophthalmology

2021
 [Foveal structure and visual function in nanophthalmos and posterior microphthalmos](https://doi.org/10.1136/bjophthalmol-2020-318717)  Second author, British Journal of Ophthalmology

2021
 [Reliability of retinal pathology quantification in age-related macular degeneration: implications for clinical trials and machine learning applications](https://doi.org/10.1167/tvst.10.3.4)  Third author, Translational Vision Science and Technology

2021
 [Inferred retinal sensitivity in recessive Stargardt disease using machine learning](https://doi.org/10.1038/s41598-020-80766-4)  Third author, Scientific Reports

2020
 [Prediction of function in ABCA4-related retinopathy using ensemble machine learning](https://doi.org/10.3390/jcm9082428)  Second author, Journal of Clinical Medicine

2020
 [Progression of retinopathy secondary to maternally inherited diabetes and deafness: evaluation of predicting parameters](https://doi.org/10.1016/j.ajo.2020.01.013)  Second author, American Journal of Ophthalmology

2020
 [Progression of ABCA4-related retinopathy: prognostic value of demographic, functional, genetic, and imaging parameters](https://doi.org/10.1097/IAE.0000000000002747)  Third author, Retina

The full list is on [Google Scholar](https://scholar.google.com/citations?user=BjmxtEsAAAAJ).

## Awards

2025
 SIB Bioinformatics Award, with the scverse core team

2024 to 2025
 Otto Bayer Fellowship for drug discovery

2019
 Second place, #hack4tk thyssenkrupp hackathon

2015
 iGEM gold medal and third place, Team Heidelberg

## Teaching

2026
 Spatial omics data analysis, Physalia

2025, 2026
 Single-cell and spatial omics workshop, German Stem Cell Network

2025
 Spatial omics data analysis with Python, Harvard Medical School

2024
 Introduction to the SpatialData ecosystem, BioTrac

2021
 Workshops on visR, PSI and R/Pharma

2021
 Three introductory Python workshops for fellow students

## Bio for programmes

### Short
Tim Treis is a computational biologist who builds open-source software for spatial omics and image-based screens. Tim is finishing a PhD with Fabian Theis at Helmholtz Munich and TUM, and is a core member of scverse.

### Long
Tim Treis is a computational biologist finishing a PhD with Fabian Theis at Helmholtz Munich and TUM, and a Visiting Scientist at the Broad Institute. Tim studies how much of a cell's molecular state can be read from images, leads the squidpy 2.0 redesign, and develops spatialdata-plot and mantispy. Tim is a core member of scverse, helps maintain cp_measure, and teaches spatial omics analysis at international workshops.
