Stripped-down RosettaFold-2track.
Project description
🌹 RoseTTAFold-2track micro
Predict protein-protein interaction interfaces using deep learning.
rf2t-micro uses an implementation of RoseTTAFold-2track with streamlined installation, a command-line interface, a Python API, and resilience to out-of-memory error. It takes (paired) multiple-sequence alignments in A3M format (as generated by tools like hhblits) as input, and outputs a matrix of inter-residue contacts.
Installation
Obtaining and setting up rf2t-micro is easy.
$ pip install git+https://github.com/scbirlab/rf2t-micro
Using the embedded model requires using the RoseTTAFold-2track weights. These are automatically downloaded, but by using rf2t-micro you agree that the trained weights for RoseTTAFold are made available for non-commercial use only under the terms of the Rosetta-DL Software license.
Usage
You can always get more help by running
$ rf2t-micro run --help
Once you have your (paired) MSA file in A3M format, you can run
$ rf2t-micro run msa-file.a3m --chain-a-length 224
It is required to specify the length of the first protein of the protein pair using the --chain-a-length option. If you haven't run the model before, the weights will be downloaded automatically which may take a few minutes.
By default, rf2t-micro tries to use GPU acceleration where available. To force only CPU use, use the --cpu option.
You can ask for visualisations of the residue interaction matrix by specifying --plot output-directory. You can use your own RF-2track parameters with the --params param-file.npz option.
... if you want larger scale and unpaired MSAs
The rf2t-micro package was made primarily to be a lightweight dependency of a portable pip-installable protein-protein interaction screening tool called yunta, which in turn could be used in our nf-ggi Nextflow pipeline so that HPC clusters could be conveniently used to screen for protein-protein interactions at scale.
yunta provides a command-line interface and Python API for predicting protein-protein interactions using GPU-accelerated direct coupling analysis (DCA), RoseTTAFold-2track, and structures usign AlphaFold2 from unpaired MSAs.
Credit to performer-pytorch and SE(3)-Transformer codes
The code in the network/performer_pytorch.py is strongly based on this repo which is pytorch implementation of Performer architecture. The codes in network/equivariant_attention is from the original SE(3)-Transformer repo which accompanies the paper 'SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networks' by Fabian et al.
References
M. Baek, et al., Accurate prediction of protein structures and interactions using a three-track neural network, Science (2021). link
I.R. Humphreys, J. Pei, M. Baek, A. Krishnakumar, et al, Computed structures of core eukaryotic protein complexes, Science (2021). link
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rf2t_micro-0.0.1.post1.tar.gz.
File metadata
- Download URL: rf2t_micro-0.0.1.post1.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73c28a7d2afeb96b7d267f1ba1b9fdb5017321f532e420b947a0b450174fb8ab
|
|
| MD5 |
f21c11138b3d3899238cac99ed62c0d5
|
|
| BLAKE2b-256 |
e2accd8ce2dca17712c94c82ca73e6c3ed1bac8d866144a1c6f47b37f322f0aa
|
File details
Details for the file rf2t_micro-0.0.1.post1-py3-none-any.whl.
File metadata
- Download URL: rf2t_micro-0.0.1.post1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f42d56db452c967aeb1565c604130d2f08ae8de0ddb6366d1ec19834f1d23473
|
|
| MD5 |
2f7621b29f1b617a194317ca0b0263b4
|
|
| BLAKE2b-256 |
f77df8d527fb063fabc96853986838d3475a599e920de12dbd7279e69903b3ab
|