PyMOL plugin for ViennaPTM post-translational modification library
Project description
ViennaPTM PyMOL plugin
This plugin is used for applying ViennaPTM post-translational modifications to protein side-chains directly inside PyMOL.
It should be compatible with both the proprietary and the open-source version of PyMOL.
Installation
There are two different ways to install the plugin, either via direct installation of the library or by importing a zip file from the plugin manager dialog within PyMOL.
Using a dedicated conda environment (recommended)
# create an environment and install the version of PyMOL you need
# here, it uses the open-source iteration
conda create --name viennaptm_pymol python=3.11
conda activate viennaptm_pymol
conda install -c conda-forge "pymol-open-source>=3.1.0" "numpy<2"
# install the plugin from the pypi server, it will register itself directly
pip install viennaptm-pymol
In order for the plugin to show up, you need to restart PyMOL if it was open at the time of installation.
Troubleshoot: If the plugin does not load automatically, try to execute teh installation manually.
viennaptm-pymol-install
Using a zip file
Install the dependencies first (the following only registers the plugin with PyMOL):
pip install viennaptm-pymol
Then:
- Download
viennaptm-<version>.zipfrom the GitHub Releases page. - In
PyMOL, open Plugin -> Plugin Manager -> Install and select the ZIP file. - Restart
PyMOL.
Developer's notice: Locations of PyMOL plugins
Open-source PyMOL scans **$PYMOL_DATA/startup/**. The install tries to copy the startup wrapper there when that directory is writable (typical for conda envs). Otherwise it falls back to ~/.pymol/startup/ and registers that path with PyMOL.
Usage
-
Launch
PyMOL. If you are using a dedicated environment, first activate it:conda activate viennaptm_pymol pymol
-
Load a protein structure.
-
Select a residue (click an atom or
select resi 50 and chain A).
- Open Plugin -> ViennaPTM -> Modify selected residue…
- Choose a modification and click Apply modification.
- The structure is updated in place, or a new object is created if Make copy is checked.
- Save or export the structure as needed.
If multiple residues are selected, a separate picker dialog lets you choose one residue to modify.
Authors / Contributors
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 viennaptm_pymol-0.1.0.tar.gz.
File metadata
- Download URL: viennaptm_pymol-0.1.0.tar.gz
- Upload date:
- Size: 592.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae5ccb128f59363430f3bab6610f6d84fa9702cfc284ad7e8a1a62b67c116a63
|
|
| MD5 |
fc8edc2480a925adea29fd039be1b9cf
|
|
| BLAKE2b-256 |
2e64ba0754798a02cd571a78f0bd1f7572ca51db9cc138d2efee61bf0ed4ca96
|
File details
Details for the file viennaptm_pymol-0.1.0-py3-none-any.whl.
File metadata
- Download URL: viennaptm_pymol-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec8f050b70afb9364b295b124edae53396c7b2f008c381b7e07159b7990a5a74
|
|
| MD5 |
fdd84dcdff0cccb59c53bc87bcb3142e
|
|
| BLAKE2b-256 |
76f709a78472cbeb5ddc721d7decf5d7ebd4da8855c8aafd3f36349b2d45ecfc
|