
A low code solution for computationally predicting the properties of chemicals.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Protify is an open source platform designed to simplify and democratize workflows for chemical language models. With Protify, deep learning models can be trained to predict chemical properties at the click of a button, without requiring extensive coding knowledge or computational resources.
- Benchmark multiple models efficiently: Need to evaluate 10 different protein language models against 15 diverse datasets with publication-ready figures? Protify makes this possible without writing a single line of code.
- Flexible for all skill levels: Build custom pipelines with code or use our no-code interface depending on your needs and expertise.
- Accessible computing: No GPU? No problem. Synthyra offers precomputed embeddings for many popular datasets, which Protify can download for analysis with scikit-learn on your laptop.
- Cost-effective solutions: The upcoming Synthyra API integration will offer affordable GPU training options, while our Colab notebook provides an accessible entry point for GPU-reliant analysis.
Protify is currently in beta. We're actively working to enhance features and documentation to meet our ambitious goals.
- Multiple interfaces: Run experiments via an intuitive GUI, CLI, or prepared YAML files
- Efficient embeddings: Leverage fast and efficient embeddings from ESM2 and ESMC via FastPLMs
- Coming soon: Additional protein, SMILES, SELFIES, codon, and nucleotide language models
- Flexible model probing: Use efficient MLPs for sequence-wise tasks or transformer probes for token-wise tasks
- Coming soon: Full model fine-tuning, hybrid probing, and LoRA
- Automated model selection: Find optimal scikit-learn models for your data with LazyPredict, enhanced by automatic hyperparameter optimization
- Coming soon: GPU acceleration
- Complete reproducibility: Every session generates a detailed log that can be used to reproduce your entire workflow
- Publication-ready visualizations: Generate cross-model and dataset comparisons with radar and bar plots, embedding analysis with PCA, t-SNE, and UMAP, and statistically sound confidence interval plots
- Extensive dataset support: Access 25 protein datasets by default, or easily integrate your own local or private datasets
- Coming soon: Additional protein, SMILES, SELFIES, codon, and nucleotide property datasets
- Advanced interaction modeling: Support for protein-protein interaction datasets
- Coming soon: Protein-small molecule interaction capabilities
Help us grow by sharing online, starring our repository, or contributing through our bounty program.
From pip
pip install Protify
To get started locally
git clone https://@github.com/Synthyra/Protify.git
cd Protify
python -m pip install -r docs/requirements.txt
git submodule update --init --remote --recursive
cd src/protify
Toggle
To launch the gui, run
python -m gui
It's recommended to use the user interface alongside an open terminal, as helpful messages and progressbars will show in the terminal while you press the GUI buttons.
Here, we will compare various protein models against a random vector baseline (negative control) and random transformer (homology based control).
1.) Start the session
2.) Select the models you would like to benchmark
3.) Select the datasets you are interested in. Here we chose Enzynme Comission numbers (multi-label classification), metal-ion binding (binary classificaiton), solubility (deeploc2, binary classification), and catalytic rate (kcat, regression).
4.) Embed the proteins in the selected datasets. If your machine does not have a GPU, you can download precomputed embeddings for many common sequences.
Note: If you download embeddings, it will be faster to use the scikit model tab than the probe tab
5.) Select which probe and configuration you would like. Here, we will use a simple linear probe, a type neural network. It is the fastest (by a large margin) but worst performing option (by a small margin usually).
6.) Select your settings for training. Like most of the tabs, the defaults are pretty good. If you need information about what setting does what, the ?
button provides a helpful note. The documentations has more extensive information
This will train your models!
7.) After training, you can render helpful visualizations by passing the log ID from before. If you forget it, you can look for the file generated in the logs
folder.
Here's a sample of the many plots produced. You can find them all inside plots/your_log_id/*





8.) Need to replicate your findings for a report or paper? Just input the generated log into the replay tab
To run the same session from the command line instead, you would simply execute
python -m main --model_names ESM2-8 ESM2-35 ESMC-300 Random Random-Transformer --data_names EC DeepLoc-2 enzyme-kcat --patience 3
Or, set up a yaml file with your desired settings (so you don't have to type out everything in the CLI)
python -m main --yaml_path yamls/your_custom_yaml_path.yaml
Replaying from the CLI is just as simple
python -m main --replay_path logs/your_log_id.txt
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
We work with a bounty system. You can find bounties on this page. Contributing bounties will get you listed on the Protify consortium and potentially coauthorship on published papers involving the framework.
Simply open a pull request with the bounty ID in the title to claim one. For additional features not on the bounty list simply use a descriptive title.
For bugs and general suggestions please use GitHub issues.
Distributed under the Protify License. See LICENSE.md
for more information.
Email: [email protected]
Website: https://synthyra.com
If you use this package, please cite the following papers. (Coming soon)