TY - JOUR T1 - sumrep: a summary statistic framework for immune receptor repertoire comparison and model validation JF - bioRxiv DO - 10.1101/727784 SP - 727784 AU - Branden J Olson AU - Pejvak Moghimi AU - Chaim Schramm AU - Anna Obraztsova AU - Duncan Ralph AU - Jason A Vander Heiden AU - Mikhail Shugay AU - Adrian Shepherd AU - William Lees AU - Frederick A Matsen IV Y1 - 2019/01/01 UR - http://biorxiv.org/content/early/2019/08/06/727784.abstract N2 - The adaptive immune system generates an incredible diversity of antigen receptors for B and T cells to keep dangerous pathogens at bay. The DNA sequences coding for these receptors arise by a complex recombination process followed by a series of productivity-based filters, as well as affinity maturation for B cells, giving considerable diversity to the circulating pool of receptor sequences. Although these datasets hold considerable promise for medical and public health applications, the complex structure of the resulting adaptive immune receptor repertoire sequencing (AIRR-seq) datasets makes analysis difficult. In this paper we introduce sumrep, an R package that efficiently performs a wide variety of repertoire summaries and comparisons, and show how sumrep can be used to perform model validation. We find that summaries vary in their ability to differentiate between datasets, although many are able to distinguish between covariates such as donor, timepoint, and cell type for BCR and TCR repertoires. We show that deletion and insertion lengths resulting from V(D)J recombination tend to be more discriminative characterizations of a repertoire than summaries that describe the amino acid composition of the CDR3 region. We also find that state-of-the-art generative models excel at recapitulating gene usage and recombination statistics in a given experimental repertoire, but struggle to capture many physiochemical properties of real repertoires. ER -