# ProteinStructureVisualizer
Author: Susan Ling
BIOEN537: Computational Systems Biology. University of Washington, Seattle.
A python package designed to visualize 3D structures of monomeric proteins from PDB files.
License: MIT
Current version: 1.0.6
Last updated: 2024-12-09
## Background
Proteins are essential to biological functions, interacting with other proteins, nucleic acids, and organic molecules. Understanding and visualizing protein structures and interactions facilitates a mechanistic understanding of their roles and has applications across fields such as protein engineering and disease treatment. However, current platforms used to achieve this such as PyMOL are complex and require a steep learning curve, making them challenging for students and scientists new to structural biology.
In this package, is a simple GUI for visualizing 3D structures of monomeric proteins from PDB files. The GUI allows users to load PDB files, visualize the protein structure in 3D either as an atom point cloud or a backbone graph, and highlight specific amino acid residues.
## Installation
### Package Dependencies
This package requires Python 3.7 or higher and the following Python packages:
- pandas: Data manipulation and analysis
- plotly: Interactive visualization
- networkx: Graph operations and analysis
- biopandas: Handling PDB files
- prody: Protein structure analysis
- graphein: Protein structure graphs
- tkinter: GUI framework (this is a built-in Python package, so it should be installed on your system)
These dependencies will be automatically installed when installing the package using pip.
Please note that for Mac users with M1 or M2 chips, you may need to separately install the 'prody' package using conda. This is due to an incompatibility with the 'prody' package with M1 or M2 chips. This can be done by running the following command:
```bash
conda install -c conda-forge prody
```
To install the package, run the following command:
### Installing Package
```bash
pip install ProteinStructureVisualizer
```
## GUI Usage
To use the GUI, run the following command:
```bash
python -m protein_structure_visualizer
```
or
```bash
protein-visualizer
```
This will open a window where the user can load in a PDB file (Select PDB File) and visualize the protein structure in 3D. The user will then see a menu with options to visualize the protein structure as an atom point cloud (View Atom Point Cloud) or a backbone graph (View 3D Backbone Graph). This will open a window in the user's default web browser displaying the selected visualization. Once the user is finished, they can exit the GUI by clicking the "x" button in the top left corner of the window. This will display a prompt asking the user if they would like to exit the application. If the user clicks "OK", the GUI will close and the application will terminate. If the user clicks "Cancel", the GUI will continue running.
Please refer to the github repository for visual examples of the GUI: https://github.com/srling1125/ProteinStructureVisualizer.
Raw data
{
"_id": null,
"home_page": null,
"name": "ProteinStructureVisualizer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "protein, structure, visualization, bioinformatics",
"author": null,
"author_email": "Susan Ling <srling@uw.edu>",
"download_url": "https://files.pythonhosted.org/packages/52/1a/a733d48fd95ef878b7ee86c89af639a50ee6f1da4e7d2d60942cfff56a5b/proteinstructurevisualizer-1.0.6.tar.gz",
"platform": null,
"description": "# ProteinStructureVisualizer\n\nAuthor: Susan Ling\n\nBIOEN537: Computational Systems Biology. University of Washington, Seattle. \n\nA python package designed to visualize 3D structures of monomeric proteins from PDB files. \n\nLicense: MIT\nCurrent version: 1.0.6\nLast updated: 2024-12-09\n\n## Background \n\nProteins are essential to biological functions, interacting with other proteins, nucleic acids, and organic molecules. Understanding and visualizing protein structures and interactions facilitates a mechanistic understanding of their roles and has applications across fields such as protein engineering and disease treatment. However, current platforms used to achieve this such as PyMOL are complex and require a steep learning curve, making them challenging for students and scientists new to structural biology.\n\nIn this package, is a simple GUI for visualizing 3D structures of monomeric proteins from PDB files. The GUI allows users to load PDB files, visualize the protein structure in 3D either as an atom point cloud or a backbone graph, and highlight specific amino acid residues. \n\n## Installation\n\n### Package Dependencies\n\nThis package requires Python 3.7 or higher and the following Python packages:\n\n- pandas: Data manipulation and analysis\n- plotly: Interactive visualization\n- networkx: Graph operations and analysis \n- biopandas: Handling PDB files\n- prody: Protein structure analysis\n- graphein: Protein structure graphs\n- tkinter: GUI framework (this is a built-in Python package, so it should be installed on your system)\n\nThese dependencies will be automatically installed when installing the package using pip. \n\nPlease note that for Mac users with M1 or M2 chips, you may need to separately install the 'prody' package using conda. This is due to an incompatibility with the 'prody' package with M1 or M2 chips. This can be done by running the following command:\n\n```bash\nconda install -c conda-forge prody\n```\n\nTo install the package, run the following command:\n\n### Installing Package\n```bash\npip install ProteinStructureVisualizer\n```\n\n## GUI Usage\n\nTo use the GUI, run the following command:\n\n```bash\npython -m protein_structure_visualizer\n```\nor\n\n```bash\nprotein-visualizer\n```\n\nThis will open a window where the user can load in a PDB file (Select PDB File) and visualize the protein structure in 3D. The user will then see a menu with options to visualize the protein structure as an atom point cloud (View Atom Point Cloud) or a backbone graph (View 3D Backbone Graph). This will open a window in the user's default web browser displaying the selected visualization. Once the user is finished, they can exit the GUI by clicking the \"x\" button in the top left corner of the window. This will display a prompt asking the user if they would like to exit the application. If the user clicks \"OK\", the GUI will close and the application will terminate. If the user clicks \"Cancel\", the GUI will continue running. \n\nPlease refer to the github repository for visual examples of the GUI: https://github.com/srling1125/ProteinStructureVisualizer. \n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool for 3D visualization of monomeric protein structures from PDB files",
"version": "1.0.6",
"project_urls": {
"homepage": "https://github.com/srling1125/ProteinStructureVisualizer"
},
"split_keywords": [
"protein",
" structure",
" visualization",
" bioinformatics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3f8526dfb6c50a0500c584a53e912efa6fcedbdc1465245723f0319feb096c63",
"md5": "c56e7937ebcd727b4658bbbf6b6b7a91",
"sha256": "484a1082024ee8d3e16b8cb866d6cfddbe81a23ab1eaa42718812e1d13b9878e"
},
"downloads": -1,
"filename": "ProteinStructureVisualizer-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c56e7937ebcd727b4658bbbf6b6b7a91",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 7805,
"upload_time": "2024-12-10T02:38:19",
"upload_time_iso_8601": "2024-12-10T02:38:19.732958Z",
"url": "https://files.pythonhosted.org/packages/3f/85/26dfb6c50a0500c584a53e912efa6fcedbdc1465245723f0319feb096c63/ProteinStructureVisualizer-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "521aa733d48fd95ef878b7ee86c89af639a50ee6f1da4e7d2d60942cfff56a5b",
"md5": "c464438f9497bbf60744f14dbc851ea2",
"sha256": "73de44787febf034c22db1a762731072e7abd12115caab922b91647f75e7b72c"
},
"downloads": -1,
"filename": "proteinstructurevisualizer-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "c464438f9497bbf60744f14dbc851ea2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 8636,
"upload_time": "2024-12-10T02:38:21",
"upload_time_iso_8601": "2024-12-10T02:38:21.865344Z",
"url": "https://files.pythonhosted.org/packages/52/1a/a733d48fd95ef878b7ee86c89af639a50ee6f1da4e7d2d60942cfff56a5b/proteinstructurevisualizer-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-10 02:38:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "srling1125",
"github_project": "ProteinStructureVisualizer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "proteinstructurevisualizer"
}