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.

Developer note

Check whether it works:

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.3.tar.gz (2.2 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.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maestro2charmmgui-0.1.3.tar.gz
  • Upload date:
  • Size: 2.2 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.3.tar.gz
Algorithm Hash digest
SHA256 449ffe6ed38849351b3fac81b95da89e17ed197cf682c1531375a37c117e0d94
MD5 de5b612b3e9da5dd6054ac4064f7d141
BLAKE2b-256 54261b1e01c5d904c08485e101ee8b4f654a4b953941d0048f14300f57f05b62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maestro2charmmgui-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a9bc8956489ae078050e8562036428ce2f4d0291b1e4cff40bb3b04309eb87f6
MD5 0138d4e7a0328ef3d9e632399f1fead6
BLAKE2b-256 19de20f9c9328f17a4211189a90b48c16138161fa1c47e3972f3aff1264767d0

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