
- Stack
- Python · NumPy · scikit-learn · YAML configs
- Output
- Decoded bead-to-barcode tables ready for downstream spatial analysis
- License
- GPL-3.0
2020 — 2022 · Lead author · PhD project
Optocoder
Reading barcodes off a microscope.
Optical sequencing-based spatial transcriptomics platforms (like Slide-Seq) record where every transcript came from by repeatedly imaging a slide of millions of barcoded beads. Turning those imaging cycles back into accurate barcodes is surprisingly hard — fluorescence bleeds, phasing drifts, and beads light up unevenly across cycles.
Optocoder is a Python pipeline that handles the whole decoding journey: aligning cycles, calling bases, modelling phasing/prephasing, and — when Illumina ground-truth is available — training a small ML module to push accuracy further. It was built around the realities of the Rajewsky Lab's wet-lab pipeline and is published in NAR Bioinformatics.
- Spatial transcriptomics
- Imaging
- Machine learning
- Open source




