A transfer-learning approach to predict antigen immunogenicity and T-cell receptor specificity

  1. Barbara Bravi  Is a corresponding author
  2. Andrea Di Gioacchino
  3. Jorge Fernandez-de-Cossio-Diaz
  4. Aleksandra M Walczak
  5. Thierry Mora
  6. Simona Cocco
  7. Rémi Monasson
  1. Imperial College London, United Kingdom
  2. École Normale Supérieure - PSL, France

Abstract

Antigen immunogenicity and the specificity of binding of T-cell receptors to antigens are key properties underlying effective immune responses. Here we propose diffRBM, an approach based on transfer learning and Restricted Boltzmann Machines, to build sequence-based predictive models of these properties. DiffRBM is designed to learn the distinctive patterns in amino-acid composition that, on the one hand, underlie the antigen's probability of triggering a response, and on the other hand the T-cell receptor's ability to bind to a given antigen. We show that the patterns learnt by diffRBM allow us to predict putative contact sites of the antigen-receptor complex. We also discriminate immunogenic and non-immunogenic antigens, antigen-specific and generic receptors, reaching performances that compare favorably to existing sequence-based predictors of antigen immunogenicity and T-cell receptor specificity.

Data availability

The current manuscript is a computational study, so no data have been generated for this manuscript. The data used are downloaded from public databases. The pre-processed data, the results of the analysis, the codes to train and evaluate the models as well as the trained models are all available at the github page https://github.com/bravib/diffRBM_immunogenicity_TCRspecificity.

Article and author information

Author details

  1. Barbara Bravi

    Department of Mathematics, Imperial College London, London, United Kingdom
    For correspondence
    b.bravi21@imperial.ac.uk
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0003-4860-7584
  2. Andrea Di Gioacchino

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-6085-7589
  3. Jorge Fernandez-de-Cossio-Diaz

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-4476-805X
  4. Aleksandra M Walczak

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    Aleksandra M Walczak, Senior editor, eLife.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-2686-5702
  5. Thierry Mora

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-5456-9361
  6. Simona Cocco

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-1852-7789
  7. Rémi Monasson

    Laboratoire de Physique de l'Ecole Normale Supérieure, École Normale Supérieure - PSL, Paris, France
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-4459-0204

Funding

Agence Nationale de la Recherche (RBMPro CE30-0021-01)

  • Andrea Di Gioacchino
  • Jorge Fernandez-de-Cossio-Diaz

European Research Council (COG 724208)

  • Jorge Fernandez-de-Cossio-Diaz
  • Aleksandra M Walczak

HORIZON EUROPE Marie Sklodowska-Curie Actions (101026293)

  • Andrea Di Gioacchino

Agence Nationale de la Recherche (RBMPro CE30-0021-01)

  • Simona Cocco
  • Rémi Monasson

Agence Nationale de la Recherche (Prodigen)

  • Andrea Di Gioacchino
  • Jorge Fernandez-de-Cossio-Diaz

Agence Nationale de la Recherche (Prodigen)

  • Simona Cocco
  • Rémi Monasson

Agence Nationale de la Recherche (Decrypted CE30-0021-01)

  • Andrea Di Gioacchino
  • Jorge Fernandez-de-Cossio-Diaz

Agence Nationale de la Recherche (Decrypted CE30-0021-01)

  • Simona Cocco
  • Rémi Monasson

Agence Nationale de la Recherche (RESP-REP CE45-0018)

  • Aleksandra M Walczak
  • Thierry Mora

Agence Nationale de la Recherche (RESP-REP CE45-0018)

  • Barbara Bravi

European Research Council (COG 724208)

  • Barbara Bravi

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Reviewing Editor

  1. Anne-Florence Bitbol, Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland

Version history

  1. Received: November 23, 2022
  2. Preprint posted: December 9, 2022 (view preprint)
  3. Accepted: September 7, 2023
  4. Accepted Manuscript published: September 8, 2023 (version 1)
  5. Version of Record published: September 26, 2023 (version 2)

Copyright

© 2023, Bravi et al.

This article is distributed under the terms of the Creative Commons Attribution License permitting unrestricted use and redistribution provided that the original author and source are credited.

Metrics

  • 1,270
    views
  • 256
    downloads
  • 3
    citations

Views, downloads and citations are aggregated across all versions of this paper published by eLife.

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Barbara Bravi
  2. Andrea Di Gioacchino
  3. Jorge Fernandez-de-Cossio-Diaz
  4. Aleksandra M Walczak
  5. Thierry Mora
  6. Simona Cocco
  7. Rémi Monasson
(2023)
A transfer-learning approach to predict antigen immunogenicity and T-cell receptor specificity
eLife 12:e85126.
https://doi.org/10.7554/eLife.85126

Share this article

https://doi.org/10.7554/eLife.85126

Further reading

    1. Computational and Systems Biology
    Skander Kazdaghli, Iordanis Kerenidis ... Philip Teare
    Research Article

    Imputing data is a critical issue for machine learning practitioners, including in the life sciences domain, where missing clinical data is a typical situation and the reliability of the imputation is of great importance. Currently, there is no canonical approach for imputation of clinical data and widely used algorithms introduce variance in the downstream classification. Here we propose novel imputation methods based on determinantal point processes (DPP) that enhance popular techniques such as the multivariate imputation by chained equations and MissForest. Their advantages are twofold: improving the quality of the imputed data demonstrated by increased accuracy of the downstream classification and providing deterministic and reliable imputations that remove the variance from the classification results. We experimentally demonstrate the advantages of our methods by performing extensive imputations on synthetic and real clinical data. We also perform quantum hardware experiments by applying the quantum circuits for DPP sampling since such quantum algorithms provide a computational advantage with respect to classical ones. We demonstrate competitive results with up to 10 qubits for small-scale imputation tasks on a state-of-the-art IBM quantum processor. Our classical and quantum methods improve the effectiveness and robustness of clinical data prediction modeling by providing better and more reliable data imputations. These improvements can add significant value in settings demanding high precision, such as in pharmaceutical drug trials where our approach can provide higher confidence in the predictions made.

    1. Computational and Systems Biology
    Antony M Jose
    Research Article

    Interacting molecules create regulatory architectures that can persist despite turnover of molecules. Although epigenetic changes occur within the context of such architectures, there is limited understanding of how they can influence the heritability of changes. Here, I develop criteria for the heritability of regulatory architectures and use quantitative simulations of interacting regulators parsed as entities, their sensors, and the sensed properties to analyze how architectures influence heritable epigenetic changes. Information contained in regulatory architectures grows rapidly with the number of interacting molecules and its transmission requires positive feedback loops. While these architectures can recover after many epigenetic perturbations, some resulting changes can become permanently heritable. Architectures that are otherwise unstable can become heritable through periodic interactions with external regulators, which suggests that mortal somatic lineages with cells that reproducibly interact with the immortal germ lineage could make a wider variety of architectures heritable. Differential inhibition of the positive feedback loops that transmit regulatory architectures across generations can explain the gene-specific differences in heritable RNA silencing observed in the nematode Caenorhabditis elegans. More broadly, these results provide a foundation for analyzing the inheritance of epigenetic changes within the context of the regulatory architectures implemented using diverse molecules in different living systems.