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.4.tar.gz (3.3 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.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maestro2charmmgui-0.1.4.tar.gz
  • Upload date:
  • Size: 3.3 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.4.tar.gz
Algorithm Hash digest
SHA256 c0085c1cf2c8b791eac8d25924ebf0c32baa64596510f51a4e900028e83c3ef7
MD5 79fb6e8defb993b0939aaf82e4a55739
BLAKE2b-256 445c2a63b2a2e3256c7ffdef94e5c16b07c43f3d7df447fa036ca5d36539337a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maestro2charmmgui-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae9f11b214ae27da6fa194356db056a6439a1995a6c9f5ea00536797b57332d
MD5 c0eb6f22892f3e520df7a4ebfbd2c03e
BLAKE2b-256 427e9cb85dfb7b033dd5e7e941bc2e0250b19d74664eb4441ae637e617bbbdc1

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