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
Release files for viennaptm-pymol 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| viennaptm_pymol-0.1.0.tar.gz | 592.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| viennaptm_pymol-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 611.3 kB
Release files / viennaptm_pymol-0.1.0.tar.gz
| Download URL | viennaptm_pymol-0.1.0.tar.gz |
|---|---|
| Size | 592.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae5ccb128f59363430f3bab6610f6d84fa9702cfc284ad7e8a1a62b67c116a63
|
|
BLAKE2b-256 checksum How to use checksums |
2e64ba0754798a02cd571a78f0bd1f7572ca51db9cc138d2efee61bf0ed4ca96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / viennaptm_pymol-0.1.0-py3-none-any.whl
| Download URL | viennaptm_pymol-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec8f050b70afb9364b295b124edae53396c7b2f008c381b7e07159b7990a5a74
|
|
BLAKE2b-256 checksum How to use checksums |
76f709a78472cbeb5ddc721d7decf5d7ebd4da8855c8aafd3f36349b2d45ecfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|