Skip to main content

Python package to apply post-translational modifications to protein structures.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viennaptm-0.1.3.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viennaptm-0.1.3-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file viennaptm-0.1.3.tar.gz.

File metadata

  • Download URL: viennaptm-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for viennaptm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 471b4f09b71735fc0efd968ef61a73434ae547ebf0ff419ad6057af631967b2a
MD5 3c524cd71c6ef808dc67e32a3a7039dd
BLAKE2b-256 5a9618fcf933d355abe222f1fc705b2ea8beaa577018d4fc9d4e2a3cb374372e

See more details on using hashes here.

File details

Details for the file viennaptm-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: viennaptm-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for viennaptm-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66a63beef3cf266a99a319220949bf271607fb9aa9958f554b8c7af8653a8ca0
MD5 64b680f88d4ce1c21aff60f186c06426
BLAKE2b-256 74f6e35c23f84ee8ec28811d95e5c0ad40b7be1e233f612b78ccfc9c68df563e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page