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.2.0.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.2.0-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: viennaptm-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 e6880620d068c26dd05eab105a241974a57e94e5412777bcf7021b39f19ec076
MD5 90bf016624d5757eabd20fe84267203c
BLAKE2b-256 f0118d32067789d902f853a2644e7070e5e76cbcdbdb989e78126665d169f5ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: viennaptm-0.2.0-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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b482adc6f836f0fedf527a942857cf45107502fc8cde26537955b981e4834269
MD5 749701f0c48035510b10cea0efa250fa
BLAKE2b-256 5d98cdfa71a5df97e42d0a5ca6834aa93b3a689cf4a144ffd275c55bb4f53642

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