NetSolP: predicting protein solubility in E. coli using language models

Vineet Thumuluri, Hannah-Marie Martiny, José Juan Almagro Armenteros, Jesper Salomon, Henrik Nielsen, Alexander Rosenberg JohansenbioRxiv 2021

Abstract Solubility and expression levels of proteins can be a limiting factor for large-scale studies and industrial production. By determining the solubility and expression directly from the protein sequence, the success rate of wet-lab experiments can be increased. In this study, we focus on predicting the solubility and usability for purification of proteins expressed in Escherichia coli directly from the sequence. Our model NetSolP is based on deep learning protein language models called transformers and we show that it achieves state-of-the-art performance and improves extrapolation across datasets. As we find current methods are built on biased datasets, we curate existing datasets by using strict sequence-identity partitioning and ensure that there is minimal bias in the sequences. The predictor is available at https://services.healthtech.dtu.dk/service.php?NetSolP-1.0

Introduction

In biotechnology and pharmaceutical research, Escherichia coli serves as the primary workhorse for recombinant protein production. However, nearly half of all production attempts fail because proteins either do not express or form insoluble inclusion bodies. While computational tools for solubility prediction exist, they often struggle to generalize to new, unseen data. NetSolP addresses these challenges by leveraging transformer-based protein language models (PLMs) and a rigorous data curation process designed to eliminate common dataset biases.

Methods and Data Curation

The core of NetSolP is built upon the Transformer architecture, utilizing pre-trained models such as ESM (Evolutionary Scale Modeling) and ProtT5. These models, trained on millions of sequences, provide a deep understanding of the "grammar" of protein folding. The authors performed end-to-end fine-tuning to adapt these representations specifically for solubility prediction. To ensure practical utility, a distilled version, NetSolP-D, was developed, offering a five-fold increase in speed while maintaining high predictive accuracy.

A critical contribution of this work is the identification of "leaky" datasets. Many historical databases, such as TargetTrack, contain artificial N-terminal purification tags (e.g., His-tags). Previous models often learned to associate these specific tags with insolubility rather than learning the underlying biophysics. By curating the PSI: Biology and Price datasets with strict sequence-identity partitioning, the authors ensured that NetSolP learns genuine biological signals.

Key Insights: Beyond Simple Biophysics

Unlike traditional methods that rely on fixed properties like hydrophobicity or charge, NetSolP uses contextual embeddings to understand how an amino acid's position and its neighbors influence solubility.

Figure 1: Model interpretability analysis. The top panel shows feature importance vs. sequence position, highlighting the model's sensitivity to the N-terminus. The bottom panel shows a strong correlation between NetSolP and SWI amino acid scores, confirming biological relevance.

Interpretability analysis using Integrated Gradients reveals that the model places significant importance on the N-terminal region, which is consistent with biological findings regarding protein translation and folding initiation. Furthermore, the paper introduces the concept of "Usability"—the product of expression and solubility—as a more relevant metric for industrial applications than solubility alone.

Performance and Generalization

NetSolP achieves state-of-the-art performance, outperforming existing tools like SoluProt and SWI. On the PSI: Biology dataset, it achieved an AUC of 0.73 and an MCC of 0.29. More importantly, its performance remains robust across different protein lengths and generalizes significantly better to independent test sets.

Figure 2: Dataset distribution and performance stability. The top panel illustrates the length distribution of the independent solubility dataset. The bottom panel demonstrates that NetSolP maintains superior accuracy across various protein lengths compared to the SWI baseline.

On the independent Price test set, NetSolP reached an AUC of 0.76, demonstrating its ability to handle real-world sequences without the interference of dataset-specific biases. The distilled NetSolP-D model maintained a comparable AUC of 0.756, making it an efficient choice for proteome-wide screenings.

Limitations and Future Work

While NetSolP excels at broad classification, it faces challenges common to many PLMs, such as limited sensitivity to single-point mutations (as seen in the Camsol dataset). Additionally, the model currently predicts solubility based solely on sequence, without accounting for environmental factors like pH, temperature, or buffer composition. Future iterations may incorporate structural data or environmental parameters to further refine these predictions.

Predictor Availability: The tool is publicly available at https://services.healthtech.dtu.dk/service.php?NetSolP-1.0

Summary updated

BibTeX
@misc{thumuluri2021netsolp,
  author = {Vineet Thumuluri and Hannah-Marie Martiny and José Juan Almagro Armenteros and Jesper Salomon and Henrik Nielsen and Alexander Rosenberg Johansen},
  title = {{NetSolP: predicting protein solubility in E. coli using language models}},
  year = {2021},
  doi = {10.1101/2021.07.21.453084},
  howpublished = {bioRxiv},
}
Figure