rf2t-micro


Namerf2t-micro JSON
Version 0.0.1.post1 PyPI version JSON
download
home_pageNone
SummaryStripped-down RosettaFold-2track.
upload_time2024-09-22 17:25:33
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2021 RosettaCommons Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords science biology systems biology biochemistry machine learning analysis deep learning rosettafold
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 🌹 RoseTTAFold-2track micro 

![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/scbirlab/rf2t-micro/python-publish.yml)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rf2t-micro)
![PyPI](https://img.shields.io/pypi/v/rf2t-micro)

Predict protein-protein interaction interfaces using deep learning.

**`rf2t-micro`** uses an implementation of [RoseTTAFold](https://github.com/RosettaCommons/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`](https://github.com/soedinglab/hh-suite)) as input, and outputs a matrix of inter-residue contacts.

## Installation

Obtaining and setting up `rf2t-micro` is easy.

```bash
$ pip install git+https://github.com/scbirlab/rf2t-micro
```

Using the embedded model requires using the [RoseTTAFold](https://github.com/RosettaCommons/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](https://files.ipd.uw.edu/pub/RoseTTAFold/Rosetta-DL_LICENSE.txt).


## Usage

You can always get more help by running

```bash
$ rf2t-micro run --help
```

Once you have your (paired) MSA file in A3M format, you can run

```bash
$ 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`](https://github.com/scbirlab/yunta), which in turn could be used in our [`nf-ggi` Nextflow pipeline](https://github.com/scbirlab/nf-ggi) so that HPC clusters could be conveniently used to screen for protein-protein interactions at scale. 

[`yunta`](https://github.com/scbirlab/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](https://github.com/lucidrains/performer-pytorch) which is pytorch implementation of [Performer architecture](https://arxiv.org/abs/2009.14794).
The codes in network/equivariant_attention is from the original SE(3)-Transformer [repo](https://github.com/FabianFuchsML/se3-transformer-public) which accompanies [the paper](https://arxiv.org/abs/2006.10503) '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](https://www.science.org/doi/10.1126/science.abj8754)

I.R. Humphreys, J. Pei, M. Baek, A. Krishnakumar, et al, Computed structures of core eukaryotic protein complexes, _Science_ (2021). [link](https://www.science.org/doi/10.1126/science.abm4805)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rf2t-micro",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "science, biology, systems biology, biochemistry, machine learning, analysis, deep learning, rosettafold",
    "author": null,
    "author_email": "Eachan Johnson <eachan.johnson@crick.ac.uk>",
    "download_url": "https://files.pythonhosted.org/packages/e2/ac/cd8ce2dca17712c94c82ca73e6c3ed1bac8d866144a1c6f47b37f322f0aa/rf2t_micro-0.0.1.post1.tar.gz",
    "platform": null,
    "description": "# \ud83c\udf39 RoseTTAFold-2track micro \n\n![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/scbirlab/rf2t-micro/python-publish.yml)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rf2t-micro)\n![PyPI](https://img.shields.io/pypi/v/rf2t-micro)\n\nPredict protein-protein interaction interfaces using deep learning.\n\n**`rf2t-micro`** uses an implementation of [RoseTTAFold](https://github.com/RosettaCommons/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`](https://github.com/soedinglab/hh-suite)) as input, and outputs a matrix of inter-residue contacts.\n\n## Installation\n\nObtaining and setting up `rf2t-micro` is easy.\n\n```bash\n$ pip install git+https://github.com/scbirlab/rf2t-micro\n```\n\nUsing the embedded model requires using the [RoseTTAFold](https://github.com/RosettaCommons/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](https://files.ipd.uw.edu/pub/RoseTTAFold/Rosetta-DL_LICENSE.txt).\n\n\n## Usage\n\nYou can always get more help by running\n\n```bash\n$ rf2t-micro run --help\n```\n\nOnce you have your (paired) MSA file in A3M format, you can run\n\n```bash\n$ rf2t-micro run msa-file.a3m --chain-a-length 224\n```\n\nIt 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.\n\nBy default, `rf2t-micro` tries to use GPU acceleration where available. To force only CPU use, use the `--cpu` option.\n\nYou 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.\n\n## ... if you want larger scale and unpaired MSAs\n\nThe `rf2t-micro` package was made primarily to be a lightweight dependency of a portable `pip`-installable protein-protein interaction screening tool called [`yunta`](https://github.com/scbirlab/yunta), which in turn could be used in our [`nf-ggi` Nextflow pipeline](https://github.com/scbirlab/nf-ggi) so that HPC clusters could be conveniently used to screen for protein-protein interactions at scale. \n\n[`yunta`](https://github.com/scbirlab/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. \n\n## Credit to performer-pytorch and SE(3)-Transformer codes\n\nThe code in the network/performer_pytorch.py is strongly based on [this repo](https://github.com/lucidrains/performer-pytorch) which is pytorch implementation of [Performer architecture](https://arxiv.org/abs/2009.14794).\nThe codes in network/equivariant_attention is from the original SE(3)-Transformer [repo](https://github.com/FabianFuchsML/se3-transformer-public) which accompanies [the paper](https://arxiv.org/abs/2006.10503) 'SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networks' by Fabian et al.\n\n\n## References\n\nM. Baek, et al., Accurate prediction of protein structures and interactions using a three-track neural network, _Science_ (2021). [link](https://www.science.org/doi/10.1126/science.abj8754)\n\nI.R. Humphreys, J. Pei, M. Baek, A. Krishnakumar, et al, Computed structures of core eukaryotic protein complexes, _Science_ (2021). [link](https://www.science.org/doi/10.1126/science.abm4805)\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2021 RosettaCommons  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Stripped-down RosettaFold-2track.",
    "version": "0.0.1.post1",
    "project_urls": {
        "Bug Tracker": "https://github.com/scbirlab/sppid/issues",
        "Homepage": "https://github.com/scbirlab/sppid"
    },
    "split_keywords": [
        "science",
        " biology",
        " systems biology",
        " biochemistry",
        " machine learning",
        " analysis",
        " deep learning",
        " rosettafold"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f77df8d527fb063fabc96853986838d3475a599e920de12dbd7279e69903b3ab",
                "md5": "2f7621b29f1b617a194317ca0b0263b4",
                "sha256": "f42d56db452c967aeb1565c604130d2f08ae8de0ddb6366d1ec19834f1d23473"
            },
            "downloads": -1,
            "filename": "rf2t_micro-0.0.1.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2f7621b29f1b617a194317ca0b0263b4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 22947,
            "upload_time": "2024-09-22T17:25:31",
            "upload_time_iso_8601": "2024-09-22T17:25:31.910611Z",
            "url": "https://files.pythonhosted.org/packages/f7/7d/f8d527fb063fabc96853986838d3475a599e920de12dbd7279e69903b3ab/rf2t_micro-0.0.1.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2accd8ce2dca17712c94c82ca73e6c3ed1bac8d866144a1c6f47b37f322f0aa",
                "md5": "f21c11138b3d3899238cac99ed62c0d5",
                "sha256": "73c28a7d2afeb96b7d267f1ba1b9fdb5017321f532e420b947a0b450174fb8ab"
            },
            "downloads": -1,
            "filename": "rf2t_micro-0.0.1.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "f21c11138b3d3899238cac99ed62c0d5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 20893,
            "upload_time": "2024-09-22T17:25:33",
            "upload_time_iso_8601": "2024-09-22T17:25:33.532402Z",
            "url": "https://files.pythonhosted.org/packages/e2/ac/cd8ce2dca17712c94c82ca73e6c3ed1bac8d866144a1c6f47b37f322f0aa/rf2t_micro-0.0.1.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-22 17:25:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scbirlab",
    "github_project": "sppid",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rf2t-micro"
}
        
Elapsed time: 0.31400s