🌹 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
Metadata
Release files for rf2t-micro 0.0.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rf2t_micro-0.0.1.post1.tar.gz | 20.9 kB | Without provenance | Details for rf2t_micro-0.0.1.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rf2t_micro-0.0.1.post1-py3-none-any.whl | Python 3 | none | any | Details for rf2t_micro-0.0.1.post1-py3-none-any.whl |
Total release size: 43.8 kB
Release files / rf2t_micro-0.0.1.post1.tar.gz
| Download URL | rf2t_micro-0.0.1.post1.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73c28a7d2afeb96b7d267f1ba1b9fdb5017321f532e420b947a0b450174fb8ab
|
|
BLAKE2b-256 checksum How to use checksums |
e2accd8ce2dca17712c94c82ca73e6c3ed1bac8d866144a1c6f47b37f322f0aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / rf2t_micro-0.0.1.post1-py3-none-any.whl
| Download URL | rf2t_micro-0.0.1.post1-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f42d56db452c967aeb1565c604130d2f08ae8de0ddb6366d1ec19834f1d23473
|
|
BLAKE2b-256 checksum How to use checksums |
f77df8d527fb063fabc96853986838d3475a599e920de12dbd7279e69903b3ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for rf2t-micro 0.0.1.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.