 B and T cell receptor diversity can be studied by high throughput immune receptor sequencing. Here, the authors develop a software tool, EGO, that calculates the likelihoods of potential V, D, J recombination and somatic hypermutation scenarios from raw immune sequence reads. This article was offered by Quentin Marcu, Cherry Mora, and Alexandra M. Walczak.