Skip to main content

PDB Format transformation from Maestro to CHARMM-GUI. This can make the CHARMM-GUI recognise the original orientation of the hydrogen atoms generated by Maestro.

Project description

Maestro2CharmmGUI

PDB Format transformation from Maestro to CHARMM-GUI. This can make the CHARMM-GUI recognise the original orientation of the hydrogen atoms generated by Maestro.

Get started

# install by pypi
pip install maestro2charmmgui

# install by poetry
poetry add maestro2charmmgui
from maestro2charmmgui.rename import transform_with_resname

# rename the atoms by using a residue-based corresponding dictionary with a single function
input = "path/to/pdbfile.pdb"
output = "path/to/pdbfile_charmm.pdb"

transform_with_resname(input, output)

For further usage, see the jupyter notebook for renaming the hydrogens defined in Maestro into CHARMM's definition.

Change log

0.1.5

  • addional hydrogen at terminal nitrogen renaming (H -> HT3)
  • change the order of the conditions of universal modifications of the hydrogen and the termini atoms' modification

Developer note

Check whether it works:

poetry run pytest

# 2 passed, 1 warnining

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

maestro2charmmgui-0.1.5.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

maestro2charmmgui-0.1.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file maestro2charmmgui-0.1.5.tar.gz.

File metadata

  • Download URL: maestro2charmmgui-0.1.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-107-generic

File hashes

Hashes for maestro2charmmgui-0.1.5.tar.gz
Algorithm Hash digest
SHA256 38047a76f08c2be8b78b624a28047e5f5130384759a9454fa2f6f6e06f28087d
MD5 e970598b76ceae03eabacbc6fa47f644
BLAKE2b-256 b75bc2f32dda8b0f59864d741675df68aa22a6a70b0b1999e9b1de3223037308

See more details on using hashes here.

File details

Details for the file maestro2charmmgui-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: maestro2charmmgui-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Linux/5.15.0-107-generic

File hashes

Hashes for maestro2charmmgui-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 816a551a940436247b2d3f0fd393d717cd6d9b770fda5291575c04a5a056fa4a
MD5 78a737f2d1d4112a4107de7c8ee61500
BLAKE2b-256 e019296424d6e79f4b66d9b3137b1246009519a30fcaf556241e018c77115412

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