proteusPy


NameproteusPy JSON
Version 0.98.5 PyPI version JSON
download
home_pageNone
SummaryproteusPy - Protein Structure Analysis and Modeling Tools
upload_time2025-01-23 20:25:59
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseBSD
keywords proteuspy suchanek disulfide
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://badge.fury.io/py/proteusPy.svg)](https://badge.fury.io/py/proteusPy)
![Testing](https://github.com/suchanek/proteusPy/actions/workflows/pytest.yml/badge.svg)
[![status](https://joss.theoj.org/papers/45de839b48a550d6ab955c5fbbc508f2/status.svg)](https://joss.theoj.org/papers/45de839b48a550d6ab955c5fbbc508f2)
[![DOI](https://zenodo.org/badge/575657091.svg)](https://doi.org/10.5281/zenodo.13241499)
[![API Docs](https://img.shields.io/badge/API%20Documentation-8A2BE2)](https://suchanek.github.io/proteusPy/proteusPy.html)

<!-- markdownlint-disable MD014 -->

# Summary

**proteusPy** is a Python package specializing in the modeling and analysis of proteins of known structure with an emphasis on Disulfide bonds. This package reprises my molecular modeling program [Proteus](https://doi.org/10.1021/bi00368a023), a structure-based program developed as part of my graduate thesis. The package relies on the [Turtle3D](https://suchanek.github.io/proteusPy/proteusPy/turtle3D.html) class to create and manipulate local coordinate systems. It does this by implementing the functions ``Move``, ``Roll``, ``Yaw``, ``Pitch`` and ``Turn`` for movement in a three-dimensional space.  The initial implementation focuses on the [Disulfide](https://suchanek.github.io/proteusPy/proteusPy/Disulfide.html) class. The class implements methods to analyze the protein structure stabilizing element known as a *Disulfide Bond*. This class and its underlying methods are being used to perform a structural analysis of over 36,900 disulfide-bond containing proteins in the RCSB protein data bank (<https://www.rcsb.org>).

# General Capabilities

- Interactively display disulfides contained in the RCSB in a variety of display styles
- Calculate geometric and energetic properties about these disulfides
- Create binary and octant structural classes by characterizing the disulfide torsional angles into *n* classes
- Build idealized disulfide bonds from dihedral angle input
- Find disulfide neighbors based on dihedral angle input
- Overlap disulfides onto a common frame of reference for display
- Build protein backbones from backbone phi, psi dihedral angle templates
- More in development

*See [API Reference](https://suchanek.github.io/proteusPy/proteusPy.html) for the API documentation with examples*.

# Requirements

1. PC running MacOS, Linux, Windows with git, git-lfs, make and C compiler installed.
2. 8 GB RAM
3. 1 GB disk space

# Installation

It's simplest to clone the repo via GitHub since it contains all of the notebooks, data and test programs. I highly recommend using Miniforge since it includes mamba. The installation instructions below assume a clean install with no package manager or compiler installed.

## MacOS/Linux

- Install Miniforge: <https://github.com/conda-forge/miniforge> (existing Anaconda installations are fine but please install mamba)
- Install git-lfs:
  - <https://help.github.com/en/github/managing-large-files/installing-git-large-file-storage>
- Install `make` on your system.
- From a shell prompt while sitting in your repo dir:

  ```console
  $ git clone https://github.com/suchanek/proteusPy.git
  $ cd proteusPy
  $ make pkg
  $ conda activate proteusPy
  $ make install
  ```

## Windows

- Install Miniforge: <https://github.com/conda-forge/miniforge> (existing Anaconda installations are fine but please install mamba)
- Install git for Windows and configure for Bash:
  - <https://git-scm.com/download/win>
- Install git-lfs:
  - <https://git-lfs.github.com/>
- Install GNU make:
  - <https://gnuwin32.sourceforge.net/packages/make.htm>
- Open a Miniforge prompt and cd into your repo dir:
  
  ```console
  (base) C:\Users\egs\repos> git clone https://github.com/suchanek/proteusPy.git
  (base) C:\Users\egs\repos> cd proteusPy
  (base) C:\Users\egs\repos\proteuspy> make pkg
  (base) C:\Users\egs\repos>\proteuspy> conda activate proteusPy
  (proteusPy) C:\Users\egs\repos> make install
  ```

# Testing

``pytest`` and docstring testing for the modules are in place. To run them first install the package normally and then ``cd`` into the repository and run:

```console
$ pip install proteusPy[dev]
$ make tests
```

The modules will run their docstring tests and disulfide visualization windows will open. Simply close them. If all goes normally there will be no errors. 

Docstring testing is sensitive to formatting; occasionally the ``black`` formatter changes the docstrings. As a result there may be some docstring tests that fail.

# Usage

Once the package is installed it's possible to load, visualize and analyze the Disulfide bonds in the RCSB Disulfide database. The general approach is:

- Load the database
- Access disulfide(s)
- Analyze
- Visualize

A simple example to display the lowest energy disulfide in the database is shown below:

```python
import proteusPy as pp

PDB_SS = pp.Load_PDB_SS(verbose=True)

best_ss = PDB_SS["2q7q_75D_140D"]
best_ss.display(style="sb", light=True)
```

The [notebooks](https://github.com/suchanek/proteusPy/blob/master/notebooks/) directory contains my Jupyter notebooks and is a good place to start:

- [Analysis_2q7q.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Analysis_2q7q.ipynb) provides an example of visualizing the lowest energy Disulfide contained in the database and searching for nearest neighbors on the basis of conformational similarity.
- [Anearest_relatives.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Anearest_relatives.ipynb) gives an example of searching for disulfides based on sequence similarity.

The [programs](https://github.com/suchanek/proteusPy/tree/master/programs) subdirectory contains the primary programs for downloading the RCSB disulfide-containing structure files, extracting the disulfides and creating the disulfide database:

- [DisulfideDownloader.py](https://github.com/suchanek/proteusPy/blob/master/programs/DisulfideDownloader.py): Downloads the raw RCSB structure files. The download consists of over 35,000 .ent files and took about twelve hours on a 200Mb internet connection. It is necessary to have these files locally to build the database. The download is about 35GB in size.
- [DisulfideExtractor_mp.py](https://github.com/suchanek/proteusPy/blob/master/proteusPy/DisulfideExtractor_mp.py): Extracts the disulfides and creates the database loaders. This program is fully multi-processing, and one can specify the number of cores to use for the extract. The downloaded PDB files must be in $PDB/good. On my 14 core MacbookPro M3 Max the extraction of over 36,000 files and creation of the Disulfide loaders takes a bit over two minutes. This is in contrast to the initial single-threaded version present in the initial release, which takes almost an hour to run! This program is now a part of the module itself and may be invoked with:
  
  ```python
  proteusPy.DisulfideExtractor --help
  ```

- [DisulfideClass_Analysis.py](https://github.com/suchanek/proteusPy/blob/master/programs/DisulfideClass_Analysis.py): Extracts consensus structures for the binary, sextant and octant classes. Each consensus class is the average structure in torsional space for that class. The number of members of each class is determined by the `cutoff` chosen at the time of program run. These can be found in the `DATA_DIR` directory. This analysis is ongoing.
- [qt5viewer.py](https://github.com/suchanek/proteusPy/blob/master/programs/qt5viewer.py): A simple PyQt5 viewer to examine disulfides in the database. Currently not working under Linux since I can't seem to get PyQt5 to build.
  This program is now a part of the module itself and may be invoked with, (while within the environment):

    ```console
     proteusPy.qt5viewer
     ```

The first time one loads the database via [Load_PDB_SS()](https://suchanek.github.io/proteusPy/proteusPy/DisulfideLoader.html#Load_PDB_SS) the system download full DisulfideList object. Once downloaded the ``DisulfideLoader`` is initialized, the binary, sextant and octant classdicts built, and the loaders saved.

## Quickstart

After installation is complete launch jupyter:

```console
$ jupyter notebook 
```

and open [Analysis_2q7q.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Analysis_2q7q.ipynb). This notebook looks at the disulfide bond with the lowest energy in the entire database. There are several other notebooks in this directory that illustrate using the program. Some of these reflect active development work so may not be 'fully baked'.

## Visualizing the Disulfide Database

`proteusPy` now has four ways of visualizing the Disulfides in the database. I'll describe these briefly below:

1) PyVista (built-in) - `proteusPy` utilizes the excellent PyVista library for visualization and manipulation of the Disulfides within the database. These routines are readily accessible from within the Jupyter notebook environment. It uses the VTK library on the backend and provides high-level access to 3D rendering. The menu strip provided in the Disulfide visualization windows allows the user to turn borders, rulers, bounding boxes on and off and reset the orientations. Please try them out! There is also a button for *local* vs *server* rendering. *Local* rendering is usually much smoother. To manipulate:
     - Click and drag your mouse to rotate
     - Use the mouse wheel to zoom (3 finger zoom on trackpad)

2) [rcsb_viewer.py](https://github.com/suchanek/proteusPy/blob/master/viewer/rcsb_viewer.py) - This is a `panel`-based program to display the database interactively. Launch as shown, (replace the path with your own path):

   ```console
   $ panel serve ~/repos/proteusPy/viewer/rcsb_viewer.py --show --autoreload
   ```

3) rcsb_viewer `Docker` version -  I've created a `Docker` image of the viewer. It's available on `DockerHub` at `egsuchanek/rcsb_viewer:latest`, as well as on GitHub at: `ghcr.io/suchanek/rcsb_viewer`. It's possible to build the image for MacOS or Linux by going into the `viewer` directory and executing:

  ```console
  $ docker build -t rcsb_viewer .
  ```
It's also possible to simply pull the Docker image directly from DockerHub and run it via:

  ```console
    $ docker run -d  -p 5006:5006  --n rcsb_viewer --restart unless-stopped egsuchanek/rcsb_viewer:latest
  ```

1) [qt5_viewer.py](https://github.com/suchanek/proteusPy/blob/master/proteusPy/qt5_viewer.py) - I have added a pyqt5-based viewer into proteusPy itself. This is similar to the ``Panel`` program but uses ``pyqt5`` for rendering. This works under Macos and Windows, but can't run under Linux due to the inability to install pyqt5. If you'd like to try it out under MacOS or Windows install proteusPy as above. After installation install the pyqt5 libraries with:

```console
  $ pip install proteusPy[pyqt5]
  ```

To launch the program simply type:

```console
  $ proteusPy.qt5_viewer
  ```


## Pymol Integration

I have integrated ``proteusPy`` with the wonderful visualization program ``Pymol`` in order to visualize Disulfides within the context of their parent protein. To use this feature one must have ``Pymol`` installed on the local machine:

  ```console
  $ brew install pymol
  ```

To visualize the lowest energy structure in the database:

```python
from proteusPy import Load_PDB_SS, display_ss_pymol

pdb = Load_PDB_SS(verbose=True, subset=False, cutoff=8.0)
display_ss_pymol('2q7q', chain='D', proximal=75, distal=140, ray=False, solvent=True, sas=True, fname='2q7q.png')

```

This will display disulfide 75-140 in chain D and save an image to file 2q7q.png. Hit the return key to close the window.

## Performance

- Manipulating and searching through long lists of disulfides can take time. I've added progress bars for many of these operations.
- Rendering many disulfides in `pyvista` can also take time to load and may be slow to display in real time, depending on your hardware. I added optimization to reduce cylinder complexity as a function of total cylinders rendered, but it can still be less than perfect. The faster your GPU the better!

## Contributing/Reporting

I welcome anyone interested in collaborating on proteusPy! Feel free to contact me at mailto:suchanek@mac.com, fork the repository: <https://github.com/suchanek/proteusPy/> and get coding. Issues can be reported to <https://github.com/suchanek/proteusPy/issues>.

## Citing proteusPy

The proteusPy package was developed by Eric G. Suchanek, PhD. If you find it useful in your research and wish to cite it please use the following BibTeX entry:

```
@article{Suchanek2024,
  doi = {10.21105/joss.06169},
  url = {https://doi.org/10.21105/joss.06169},
  year = {2024},
  publisher = {The Open Journal},
  volume = {9},
  number = {100},
  pages = {6169},
  author = {Eric G. Suchanek},
  title = {proteusPy: A Python Package for Protein Structure and Disulfide Bond Modeling and Analysis},
  journal = {Journal of Open Source Software}
}
@software{proteusPy2024,
  author = {Eric G. Suchanek, PhD},
  title = {proteusPy: A Package for Modeling and Analyzing Proteins of Known Structure},
  year = {2024},
  publisher = {GitHub},
  version = {0.96},
  journal = {GitHub repository},
  url = {https://github.com/suchanek/proteusPy}
}
```

## Publications

- [proteusPy: A Python Package for Protein Structure and Disulfide Bond Modeling and Analysis](https://joss.theoj.org/papers/10.21105/joss.06169)
- [Computer-aided Strategies for Protein Design](https://doi.org/10.1021/bi00368a023)
- [An engineered intersubunit disulfide enhances the stability and DNA binding of the N-terminal domain of .lambda. repressor](https://doi.org/10.1021/bi00368a024)
- [Analysis of disulfide bonds in protein structures](http://dx.doi.org/10.1111/j.1538-7836.2010.03894.x)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "proteusPy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "proteusPy, suchanek, disulfide",
    "author": null,
    "author_email": "\"Eric G. Suchanek, PhD\" <suchanek@mac.com>",
    "download_url": "https://files.pythonhosted.org/packages/38/68/b76ce0c63a610620952e2f1eb92f4c84883b66383b273116aab0f771438c/proteuspy-0.98.5.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://badge.fury.io/py/proteusPy.svg)](https://badge.fury.io/py/proteusPy)\n![Testing](https://github.com/suchanek/proteusPy/actions/workflows/pytest.yml/badge.svg)\n[![status](https://joss.theoj.org/papers/45de839b48a550d6ab955c5fbbc508f2/status.svg)](https://joss.theoj.org/papers/45de839b48a550d6ab955c5fbbc508f2)\n[![DOI](https://zenodo.org/badge/575657091.svg)](https://doi.org/10.5281/zenodo.13241499)\n[![API Docs](https://img.shields.io/badge/API%20Documentation-8A2BE2)](https://suchanek.github.io/proteusPy/proteusPy.html)\n\n<!-- markdownlint-disable MD014 -->\n\n# Summary\n\n**proteusPy** is a Python package specializing in the modeling and analysis of proteins of known structure with an emphasis on Disulfide bonds. This package reprises my molecular modeling program [Proteus](https://doi.org/10.1021/bi00368a023), a structure-based program developed as part of my graduate thesis. The package relies on the [Turtle3D](https://suchanek.github.io/proteusPy/proteusPy/turtle3D.html) class to create and manipulate local coordinate systems. It does this by implementing the functions ``Move``, ``Roll``, ``Yaw``, ``Pitch`` and ``Turn`` for movement in a three-dimensional space.  The initial implementation focuses on the [Disulfide](https://suchanek.github.io/proteusPy/proteusPy/Disulfide.html) class. The class implements methods to analyze the protein structure stabilizing element known as a *Disulfide Bond*. This class and its underlying methods are being used to perform a structural analysis of over 36,900 disulfide-bond containing proteins in the RCSB protein data bank (<https://www.rcsb.org>).\n\n# General Capabilities\n\n- Interactively display disulfides contained in the RCSB in a variety of display styles\n- Calculate geometric and energetic properties about these disulfides\n- Create binary and octant structural classes by characterizing the disulfide torsional angles into *n* classes\n- Build idealized disulfide bonds from dihedral angle input\n- Find disulfide neighbors based on dihedral angle input\n- Overlap disulfides onto a common frame of reference for display\n- Build protein backbones from backbone phi, psi dihedral angle templates\n- More in development\n\n*See [API Reference](https://suchanek.github.io/proteusPy/proteusPy.html) for the API documentation with examples*.\n\n# Requirements\n\n1. PC running MacOS, Linux, Windows with git, git-lfs, make and C compiler installed.\n2. 8 GB RAM\n3. 1 GB disk space\n\n# Installation\n\nIt's simplest to clone the repo via GitHub since it contains all of the notebooks, data and test programs. I highly recommend using Miniforge since it includes mamba. The installation instructions below assume a clean install with no package manager or compiler installed.\n\n## MacOS/Linux\n\n- Install Miniforge: <https://github.com/conda-forge/miniforge> (existing Anaconda installations are fine but please install mamba)\n- Install git-lfs:\n  - <https://help.github.com/en/github/managing-large-files/installing-git-large-file-storage>\n- Install `make` on your system.\n- From a shell prompt while sitting in your repo dir:\n\n  ```console\n  $ git clone https://github.com/suchanek/proteusPy.git\n  $ cd proteusPy\n  $ make pkg\n  $ conda activate proteusPy\n  $ make install\n  ```\n\n## Windows\n\n- Install Miniforge: <https://github.com/conda-forge/miniforge> (existing Anaconda installations are fine but please install mamba)\n- Install git for Windows and configure for Bash:\n  - <https://git-scm.com/download/win>\n- Install git-lfs:\n  - <https://git-lfs.github.com/>\n- Install GNU make:\n  - <https://gnuwin32.sourceforge.net/packages/make.htm>\n- Open a Miniforge prompt and cd into your repo dir:\n  \n  ```console\n  (base) C:\\Users\\egs\\repos> git clone https://github.com/suchanek/proteusPy.git\n  (base) C:\\Users\\egs\\repos> cd proteusPy\n  (base) C:\\Users\\egs\\repos\\proteuspy> make pkg\n  (base) C:\\Users\\egs\\repos>\\proteuspy> conda activate proteusPy\n  (proteusPy) C:\\Users\\egs\\repos> make install\n  ```\n\n# Testing\n\n``pytest`` and docstring testing for the modules are in place. To run them first install the package normally and then ``cd`` into the repository and run:\n\n```console\n$ pip install proteusPy[dev]\n$ make tests\n```\n\nThe modules will run their docstring tests and disulfide visualization windows will open. Simply close them. If all goes normally there will be no errors. \n\nDocstring testing is sensitive to formatting; occasionally the ``black`` formatter changes the docstrings. As a result there may be some docstring tests that fail.\n\n# Usage\n\nOnce the package is installed it's possible to load, visualize and analyze the Disulfide bonds in the RCSB Disulfide database. The general approach is:\n\n- Load the database\n- Access disulfide(s)\n- Analyze\n- Visualize\n\nA simple example to display the lowest energy disulfide in the database is shown below:\n\n```python\nimport proteusPy as pp\n\nPDB_SS = pp.Load_PDB_SS(verbose=True)\n\nbest_ss = PDB_SS[\"2q7q_75D_140D\"]\nbest_ss.display(style=\"sb\", light=True)\n```\n\nThe [notebooks](https://github.com/suchanek/proteusPy/blob/master/notebooks/) directory contains my Jupyter notebooks and is a good place to start:\n\n- [Analysis_2q7q.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Analysis_2q7q.ipynb) provides an example of visualizing the lowest energy Disulfide contained in the database and searching for nearest neighbors on the basis of conformational similarity.\n- [Anearest_relatives.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Anearest_relatives.ipynb) gives an example of searching for disulfides based on sequence similarity.\n\nThe [programs](https://github.com/suchanek/proteusPy/tree/master/programs) subdirectory contains the primary programs for downloading the RCSB disulfide-containing structure files, extracting the disulfides and creating the disulfide database:\n\n- [DisulfideDownloader.py](https://github.com/suchanek/proteusPy/blob/master/programs/DisulfideDownloader.py): Downloads the raw RCSB structure files. The download consists of over 35,000 .ent files and took about twelve hours on a 200Mb internet connection. It is necessary to have these files locally to build the database. The download is about 35GB in size.\n- [DisulfideExtractor_mp.py](https://github.com/suchanek/proteusPy/blob/master/proteusPy/DisulfideExtractor_mp.py): Extracts the disulfides and creates the database loaders. This program is fully multi-processing, and one can specify the number of cores to use for the extract. The downloaded PDB files must be in $PDB/good. On my 14 core MacbookPro M3 Max the extraction of over 36,000 files and creation of the Disulfide loaders takes a bit over two minutes. This is in contrast to the initial single-threaded version present in the initial release, which takes almost an hour to run! This program is now a part of the module itself and may be invoked with:\n  \n  ```python\n  proteusPy.DisulfideExtractor --help\n  ```\n\n- [DisulfideClass_Analysis.py](https://github.com/suchanek/proteusPy/blob/master/programs/DisulfideClass_Analysis.py): Extracts consensus structures for the binary, sextant and octant classes. Each consensus class is the average structure in torsional space for that class. The number of members of each class is determined by the `cutoff` chosen at the time of program run. These can be found in the `DATA_DIR` directory. This analysis is ongoing.\n- [qt5viewer.py](https://github.com/suchanek/proteusPy/blob/master/programs/qt5viewer.py): A simple PyQt5 viewer to examine disulfides in the database. Currently not working under Linux since I can't seem to get PyQt5 to build.\n  This program is now a part of the module itself and may be invoked with, (while within the environment):\n\n    ```console\n     proteusPy.qt5viewer\n     ```\n\nThe first time one loads the database via [Load_PDB_SS()](https://suchanek.github.io/proteusPy/proteusPy/DisulfideLoader.html#Load_PDB_SS) the system download full DisulfideList object. Once downloaded the ``DisulfideLoader`` is initialized, the binary, sextant and octant classdicts built, and the loaders saved.\n\n## Quickstart\n\nAfter installation is complete launch jupyter:\n\n```console\n$ jupyter notebook \n```\n\nand open [Analysis_2q7q.ipynb](https://github.com/suchanek/proteusPy/blob/master/notebooks/Analysis_2q7q.ipynb). This notebook looks at the disulfide bond with the lowest energy in the entire database. There are several other notebooks in this directory that illustrate using the program. Some of these reflect active development work so may not be 'fully baked'.\n\n## Visualizing the Disulfide Database\n\n`proteusPy` now has four ways of visualizing the Disulfides in the database. I'll describe these briefly below:\n\n1) PyVista (built-in) - `proteusPy` utilizes the excellent PyVista library for visualization and manipulation of the Disulfides within the database. These routines are readily accessible from within the Jupyter notebook environment. It uses the VTK library on the backend and provides high-level access to 3D rendering. The menu strip provided in the Disulfide visualization windows allows the user to turn borders, rulers, bounding boxes on and off and reset the orientations. Please try them out! There is also a button for *local* vs *server* rendering. *Local* rendering is usually much smoother. To manipulate:\n     - Click and drag your mouse to rotate\n     - Use the mouse wheel to zoom (3 finger zoom on trackpad)\n\n2) [rcsb_viewer.py](https://github.com/suchanek/proteusPy/blob/master/viewer/rcsb_viewer.py) - This is a `panel`-based program to display the database interactively. Launch as shown, (replace the path with your own path):\n\n   ```console\n   $ panel serve ~/repos/proteusPy/viewer/rcsb_viewer.py --show --autoreload\n   ```\n\n3) rcsb_viewer `Docker` version -  I've created a `Docker` image of the viewer. It's available on `DockerHub` at `egsuchanek/rcsb_viewer:latest`, as well as on GitHub at: `ghcr.io/suchanek/rcsb_viewer`. It's possible to build the image for MacOS or Linux by going into the `viewer` directory and executing:\n\n  ```console\n  $ docker build -t rcsb_viewer .\n  ```\nIt's also possible to simply pull the Docker image directly from DockerHub and run it via:\n\n  ```console\n    $ docker run -d  -p 5006:5006  --n rcsb_viewer --restart unless-stopped egsuchanek/rcsb_viewer:latest\n  ```\n\n1) [qt5_viewer.py](https://github.com/suchanek/proteusPy/blob/master/proteusPy/qt5_viewer.py) - I have added a pyqt5-based viewer into proteusPy itself. This is similar to the ``Panel`` program but uses ``pyqt5`` for rendering. This works under Macos and Windows, but can't run under Linux due to the inability to install pyqt5. If you'd like to try it out under MacOS or Windows install proteusPy as above. After installation install the pyqt5 libraries with:\n\n```console\n  $ pip install proteusPy[pyqt5]\n  ```\n\nTo launch the program simply type:\n\n```console\n  $ proteusPy.qt5_viewer\n  ```\n\n\n## Pymol Integration\n\nI have integrated ``proteusPy`` with the wonderful visualization program ``Pymol`` in order to visualize Disulfides within the context of their parent protein. To use this feature one must have ``Pymol`` installed on the local machine:\n\n  ```console\n  $ brew install pymol\n  ```\n\nTo visualize the lowest energy structure in the database:\n\n```python\nfrom proteusPy import Load_PDB_SS, display_ss_pymol\n\npdb = Load_PDB_SS(verbose=True, subset=False, cutoff=8.0)\ndisplay_ss_pymol('2q7q', chain='D', proximal=75, distal=140, ray=False, solvent=True, sas=True, fname='2q7q.png')\n\n```\n\nThis will display disulfide 75-140 in chain D and save an image to file 2q7q.png. Hit the return key to close the window.\n\n## Performance\n\n- Manipulating and searching through long lists of disulfides can take time. I've added progress bars for many of these operations.\n- Rendering many disulfides in `pyvista` can also take time to load and may be slow to display in real time, depending on your hardware. I added optimization to reduce cylinder complexity as a function of total cylinders rendered, but it can still be less than perfect. The faster your GPU the better!\n\n## Contributing/Reporting\n\nI welcome anyone interested in collaborating on proteusPy! Feel free to contact me at mailto:suchanek@mac.com, fork the repository: <https://github.com/suchanek/proteusPy/> and get coding. Issues can be reported to <https://github.com/suchanek/proteusPy/issues>.\n\n## Citing proteusPy\n\nThe proteusPy package was developed by Eric G. Suchanek, PhD. If you find it useful in your research and wish to cite it please use the following BibTeX entry:\n\n```\n@article{Suchanek2024,\n  doi = {10.21105/joss.06169},\n  url = {https://doi.org/10.21105/joss.06169},\n  year = {2024},\n  publisher = {The Open Journal},\n  volume = {9},\n  number = {100},\n  pages = {6169},\n  author = {Eric G. Suchanek},\n  title = {proteusPy: A Python Package for Protein Structure and Disulfide Bond Modeling and Analysis},\n  journal = {Journal of Open Source Software}\n}\n@software{proteusPy2024,\n  author = {Eric G. Suchanek, PhD},\n  title = {proteusPy: A Package for Modeling and Analyzing Proteins of Known Structure},\n  year = {2024},\n  publisher = {GitHub},\n  version = {0.96},\n  journal = {GitHub repository},\n  url = {https://github.com/suchanek/proteusPy}\n}\n```\n\n## Publications\n\n- [proteusPy: A Python Package for Protein Structure and Disulfide Bond Modeling and Analysis](https://joss.theoj.org/papers/10.21105/joss.06169)\n- [Computer-aided Strategies for Protein Design](https://doi.org/10.1021/bi00368a023)\n- [An engineered intersubunit disulfide enhances the stability and DNA binding of the N-terminal domain of .lambda. repressor](https://doi.org/10.1021/bi00368a024)\n- [Analysis of disulfide bonds in protein structures](http://dx.doi.org/10.1111/j.1538-7836.2010.03894.x)\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "proteusPy - Protein Structure Analysis and Modeling Tools",
    "version": "0.98.5",
    "project_urls": {
        "Documentation": "https://suchanek.github.io/proteusPy/",
        "Source": "https://github.com/suchanek/proteusPy/",
        "Tracker": "https://github.com/suchanek/proteusPy/issues"
    },
    "split_keywords": [
        "proteuspy",
        " suchanek",
        " disulfide"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "817a50b6775fc06b6a2f48a2718966becbda02ab77259b8eac11d1a9fd3f273d",
                "md5": "22ffcb3331773397248d346815de73dc",
                "sha256": "66d27ae8a252e12126a99b5127b799651c4eb793ac9f6870536f91f6051d7ea7"
            },
            "downloads": -1,
            "filename": "proteusPy-0.98.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22ffcb3331773397248d346815de73dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 276893,
            "upload_time": "2025-01-23T20:25:57",
            "upload_time_iso_8601": "2025-01-23T20:25:57.566665Z",
            "url": "https://files.pythonhosted.org/packages/81/7a/50b6775fc06b6a2f48a2718966becbda02ab77259b8eac11d1a9fd3f273d/proteusPy-0.98.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3868b76ce0c63a610620952e2f1eb92f4c84883b66383b273116aab0f771438c",
                "md5": "e444d232739d3587338e26965b3e5cae",
                "sha256": "266262deecb9a6187900c3621e0505ace9c4006128eabcbbba9bc2cacdd89bf3"
            },
            "downloads": -1,
            "filename": "proteuspy-0.98.5.tar.gz",
            "has_sig": false,
            "md5_digest": "e444d232739d3587338e26965b3e5cae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 274270,
            "upload_time": "2025-01-23T20:25:59",
            "upload_time_iso_8601": "2025-01-23T20:25:59.787714Z",
            "url": "https://files.pythonhosted.org/packages/38/68/b76ce0c63a610620952e2f1eb92f4c84883b66383b273116aab0f771438c/proteuspy-0.98.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-23 20:25:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "suchanek",
    "github_project": "proteusPy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "proteuspy"
}
        
Elapsed time: 1.15006s