Skip to main content

Convert PDB structures to coarse grained XYZ files

Project description

Convert PDB → Coarse Grained XYZ files

pdb2xyz is a small tool to convert atomistic protein structures to coarse grained representations where residues are reduced to one or two interactions siters. Meant to construct models for use with the Calvados force field in the Duello and Faunus software.

Features

  • Convert PDB to XYZ
  • Optional off-center sites for ionizable side-chains
  • N and C terminal handling
  • SS-bond handling
  • Partial charge approximation according to pH
  • Create Calvados3 atom list for Duello / Faunus

Install

pip install pdb2xyz

Usage

usage: pdb2xyz [-h] -i INFILE -o OUTFILE [-t TOP] [--pH PH] [--alpha ALPHA] [--sidechains]

Convert PDB files to XYZ format

options:
  -h, --help            show this help message and exit
  -i INFILE, --infile INFILE
                        Input PDB file path
  -o OUTFILE, --outfile OUTFILE
                        Output XYZ file path
  -t TOP, --top TOP     Output topology path (default: topology.yaml)
  --pH PH               pH value (default: 7.0)
  --alpha ALPHA         Excess polarizability (default: 0.0)
  --sidechains          Off-center ionizable sidechains (default: disabled)

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

pdb2xyz-0.2.0.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

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

pdb2xyz-0.2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdb2xyz-0.2.0.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for pdb2xyz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6b2608c60d5022d13e54664bb5d6c010532a776c8e112bd403ffcaafdedd6494
MD5 c89461799f3058c7afa1c17d1a244c53
BLAKE2b-256 440666df6c940c4b8df6e2f4b67f6f17f422d136bfcddac7bbbb6137705f36f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdb2xyz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for pdb2xyz-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fe1abfb11c44358c73b82bbad51b23f2a4b0e911c6a9f84fad6df7d725a08c4
MD5 2d69e522c59d097dafe551c44975c43b
BLAKE2b-256 61b49ead62f26fdc68ca1be79db0baa8ebe4dd988e611ff33e72a879b8a7f050

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