Skip to main content
ViennaPTM logo

ViennaPTM 3.0: Modify proteins with post-translational modifications

Coverage Status
PyPI version
License
Python Version


Table of Contents


Overview

protein example

ViennaPTM is a software tool developed in the group of Prof. Bojan Žagrović at the Max Perutz Labs & University of Vienna. It enables the automated and chemically realistic introduction of PTMs into protein three-dimensional structures provided as PDB files.

ViennaPTM currently supports 256 different enzymatic and non-enzymatic PTMs and performs geometrically accurate placement of modifications at user-defined sites (see List of PTMs for a complete list).

Optionally, users can perform a subsequent energy minimization using the GROMACS molecular simulation package. This removes unfavorable steric orientations and makes the structure amenable to downstream processing.

ViennaPTM is designed to support structural and computational applications, such as molecular dynamics simulations and structural analysis. Force-field parameters are provided for the widely used GROMOS 45A3, 54A7, and 54A8 force-fields, with direct compatibility with GROMACS.

For full documentation, tutorials, and API reference, please visit the ViennaPTM Documentation.

Installation

For detailed installation instructions, refer to the Installation page, and for a step-by-step tutorial, consult the Tutorial page in the Documentation.

Create a new conda environment (optional)

conda create --name viennaptm python=3.11
conda activate viennaptm

Latest stable release

# Install the minimal package
pip install viennaptm

Install with development dependencies

# Install additional dependencies for 3D protein rendering
pip install viennaptm[render]

# Install additional dependencies for running tests
pip install viennaptm[test]

# Install additional dependencies for documentation generation
pip install viennaptm[docs]

Install from source

# Clone the repository
# SSH alternative: git@github.com:viennaptm/viennaptm.git
git clone https://github.com/viennaptm/viennaptm.git
cd viennaptm

# Install from source
# Add "-e" to install in editable (developer) mode
pip install .

Install GROMACS (optional)

GROMACS is required only if you wish to perform energy minimization on modified structures.

conda install conda-forge::gromacs

Usage

Entrypoint:

For more information, refer to the Entrypoint page in the documentation.

# Activate the conda environment
conda activate viennaptm

# Use the entrypoint to run ViennaPTM
viennaptm --input tests/data/1vii.pdb \
          --modify "A:50=V3H" \
          --output testoutput.pdb

API:

For more information, refer to the API page in the documentation.

modifier = Modifier()
structure = modifier.modify(
    structure=structure,
    chain_identifier="A",
    residue_number=50,
    target_abbreviation="V3H"
)

Contributing

Contributions from the community are highly welcome. Please consult the CONTRIBUTE.md before submitting changes, in order to help keep the code base maintainable, robust, and efficient.

License

  • Code: Apache-2 (see code licence for more details)
  • Resources [including modification libraries]: Attribution-NonCommercial 4.0 International (see library licence for more details)

Logo and Trademarks

The project name and logo are the property of the project maintainers. You may use the logo to refer to or link to this project, but not in a way that suggests endorsement or affiliation with derivative works without prior permission.

Authors / Contributors

Release files for viennaptm 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viennaptm 0.2.0
File Size Uploaded
viennaptm-0.2.0.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for viennaptm 0.2.0
File Interpreter ABI Platform
viennaptm-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 MB

Release files / viennaptm-0.2.0.tar.gz

Download URL viennaptm-0.2.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
e6880620d068c26dd05eab105a241974a57e94e5412777bcf7021b39f19ec076
BLAKE2b-256 checksum
How to use checksums
f0118d32067789d902f853a2644e7070e5e76cbcdbdb989e78126665d169f5ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / viennaptm-0.2.0-py3-none-any.whl

Download URL viennaptm-0.2.0-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b482adc6f836f0fedf527a942857cf45107502fc8cde26537955b981e4834269
BLAKE2b-256 checksum
How to use checksums
5d98cdfa71a5df97e42d0a5ca6834aa93b3a689cf4a144ffd275c55bb4f53642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page