Skip to content

Repository files navigation


ProtTrans



ProtTrans is providing state of the art pre-trained models for proteins. ProtTrans was trained on thousands of GPUs from Summit and hundreds of Google TPUs using various Transformer models.

Have a look at our paper ProtTrans: cracking the language of life’s code through self-supervised deep learning and high performance computing for more information about our work.


ProtTrans Attention Visualization


This repository will be updated regulary with new pre-trained models for proteins as part of supporting bioinformatics community in general, and Covid-19 research specifically through our Accelerate SARS-CoV-2 research with transfer learning using pre-trained language modeling models project.

Table of Contents

⌛️ Models Availability

ModelHugging FaceZenodoColab
ProtT5-XL-UniRef50 (also ProtT5-XL-U50)DownloadDownloadColab
ProtT5-XL-BFDDownloadDownload
ProtT5-XXL-UniRef50DownloadDownload
ProtT5-XXL-BFDDownloadDownload
ProtBert-BFDDownloadDownload
ProtBertDownloadDownload
ProtAlbertDownloadDownload
ProtXLNetDownloadDownload
ProtElectra-Generator-BFDDownloadDownload
ProtElectra-Discriminator-BFDDownloadDownload

⌛️ Datasets Availability

DatasetDropbox
NEW364Download
Netsurfp2Download
CASP12Download
CB513Download
TS115Download
DeepLoc TrainDownload
DeepLoc TestDownload

🚀 Usage

How to use ProtTrans:

  • 🧬 Feature Extraction (FE):
    Please check: Embedding Section. Colab example for feature extraction via ProtT5-XL-U50

  • 🧠 Prediction:
    Please check: Prediction Section. Colab example for secondary structure prediction via ProtT5-XL-U50 and Colab example for subcellular localization prediction as well as differentiation between membrane-bound and water-soluble proteins via ProtT5-XL-U50.

  • ⚗️ Protein Sequences Generation:
    Please check: Generate Section. More information coming soon.

📊 Original downstream Predictions

  • 🧬 Secondary Structure Prediction (Q3):
ModelCASP12TS115CB513
ProtT5-XL-UniRef50818786
ProtT5-XL-BFD778584
ProtBert-BFD768483
ProtBert758381
ProtAlbert748279
ProtXLNet738178
ProtElectra-Generator737876
ProtElectra-Discriminator748179
ProtTXL717674
ProtTXL-BFD727577

🆕 Predict your sequence live on predictprotein.org.

  • 🧬 Secondary Structure Prediction (Q8):
ModelCASP12TS115CB513
ProtT5-XL-UniRef50707774
ProtT5-XL-BFD667471
ProtBert-BFD657370
ProtBert637266
ProtAlbert627065
ProtXLNet626963
ProtElectra-Generator606661
ProtElectra-Discriminator626965
ProtTXL596459
ProtTXL-BFD606560

🆕 Predict your sequence live on predictprotein.org.

  • 🧬 Membrane-bound vs Water-soluble (Q2):
ModelDeepLoc
ProtT5-XL-UniRef5091
ProtT5-XL-BFD91
ProtBert-BFD89
ProtBert89
ProtAlbert88
ProtXLNet87
ProtElectra-Generator85
ProtElectra-Discriminator86
ProtTXL85
ProtTXL-BFD86

  • 🧬 Subcellular Localization (Q10):
ModelDeepLoc
ProtT5-XL-UniRef5081
ProtT5-XL-BFD77
ProtBert-BFD74
ProtBert74
ProtAlbert74
ProtXLNet68
ProtElectra-Generator59
ProtElectra-Discriminator70
ProtTXL66
ProtTXL-BFD65

📊 Use-cases

LevelTypeToolTaskManuscriptWebserver
ProteinFunctionLight AttentionSubcellular localizationLight attention predicts protein location from the language of life(Web-server)
ResidueFunctionbindEmbed21Binding ResiduesProtein embeddings and deep learning predict binding residues for various ligand classes(Coming soon)
ResidueFunctionVESPAConservation & effect of Single Amino Acid Variants (SAVs)Embeddings from protein language models predict conservation and variant effects(coming soon)
ProteinStructureProtTuckerProtein 3D structure similarity predictionContrastive learning on protein embeddings enlightens midnight zone at lightning speed
ResidueStructureProtT5dstProtein 3D structure predictionProtein language model embeddings for fast, accurate, alignment-free protein structure prediction

📊 Comparison to other protein language models (pLMs)

While developing the use-cases, we compared ProtTrans models to other protein language models, for instance the ESM models. To focus on the effect of changing input representaitons, the following comparisons use the same architectures on top on different embedding inputs.

Task/ModelProtBERT-BFDProtT5-XL-U50ESM-1bESM-1vMetricReference
Subcell. loc. (setDeepLoc)808683-AccuracyLight-attention
Subcell. loc. (setHard)586562-AccuracyLight-attention
Conservation (ConSurf-DB)0.5400.5960.563-MCCConsEmb
Variant effect (DMS-data)-0.53-0.49Spearman (Mean)VESPA
Variant effect (DMS-data)-0.53-0.53Spearman (Median)VESPA
CATH superfamily (unsup.)186457-AccuracyProtTucker
CATH superfamily (sup.)397670-AccuracyProtTucker
Binding residues-3932-F1bindEmbed21

Important note on ProtT5-XL-UniRef50 (dubbed ProtT5-XL-U50): all performances were measured using only embeddings extracted from the encoder-side of the underlying T5 model as described here. Also, experiments were ran in half-precision mode (model.half()), to speed-up embedding generation. No performance degradation could be observed in any of the experiments when running in half-precision.

❤️ Community and Contributions

The ProtTrans project is a open source project supported by various partner companies and research institutions. We are committed to share all our pre-trained models and knowledge. We are more than happy if you could help us on sharing new ptrained models, fixing bugs, proposing new feature, improving our documentation, spreading the word, or support our project.

📫 Have a question?

We are happy to hear your question in our issues page ProtTrans! Obviously if you have a private question or want to cooperate with us, you can always reach out to us directly via our RostLab email

🤝 Found a bug?

Feel free to file a new issue with a respective title and description on the the ProtTrans repository. If you already found a solution to your problem, we would love to review your pull request!.

✅ Requirements

For protein feature extraction or fine-tuninng our pre-trained models, Pytorch and Transformers library from huggingface is needed. For model visualization, you need to install BertViz library.

🤵 Team

  • Technical University of Munich:
Ahmed ElnaggarMichael HeinzingerChristian DallagoGhalia RehawiBurkhard Rost
  • Med AI Technology:
Yu Wang
  • Google:
Llion Jones
  • Nvidia:
Tom GibbsTamas FeherChristoph Angerer
  • Seoul National University:
Martin Steinegger
  • ORNL:
Debsindhu Bhowmik

💰 Sponsors

NvidiaGoogleGoogleORNLSoftware Campus

📘 License

The ProtTrans pretrained models are released under the under terms of the Academic Free License v3.0 License.

✏️ Citation

If you use this code or our pretrained models for your publication, please cite the original paper:

@ARTICLE
{9477085,
author={Elnaggar, Ahmed and Heinzinger, Michael and Dallago, Christian and Rehawi, Ghalia and Yu, Wang and Jones, Llion and Gibbs, Tom and Feher, Tamas and Angerer, Christoph and Steinegger, Martin and Bhowmik, Debsindhu and Rost, Burkhard},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
title={ProtTrans: Towards Cracking the Language of Lifes Code Through Self-Supervised Deep Learning and High Performance Computing},
year={2021},
volume={},
number={},
pages={1-1},
doi={10.1109/TPAMI.2021.3095381}}

About

ProtTrans is providing state of the art pretrained language models for proteins. ProtTrans was trained on thousands of GPUs from Summit and hundreds of Google TPUs using Transformers Models.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages