Skip to main content

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 using average residue pKa values
  • Create Calvados3 topology for Duello

Install

pip install pdb2xyz

Usage

It is recommended that you fix your atomistic PDB file before converting using e.g. pdbfixer.

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)
  --chains [CHAINS ...]
                        List of chain IDs to include (default: all chains)

Metadata

Release files for pdb2xyz 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdb2xyz 0.3.0
File Size Uploaded Provenance
pdb2xyz-0.3.0.tar.gz 38.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pdb2xyz 0.3.0
File Interpreter ABI Platform
pdb2xyz-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.7 kB

Release files / pdb2xyz-0.3.0.tar.gz

Download URL pdb2xyz-0.3.0.tar.gz
Size 38.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45450d1255b77fbd70f800f2a0d83ee2ea7fc9b20c8720a3bac2581326547ac6
BLAKE2b-256 checksum
How to use checksums
8fe64ef2bf95b170e4bb6eab478768fac0bb197daa756dde8aff9c9f982fad92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / pdb2xyz-0.3.0-py3-none-any.whl

Download URL pdb2xyz-0.3.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f2c8d33fba319b9b95fb75357c0d069b0f62565baf5687d58085aef6a7be5aa
BLAKE2b-256 checksum
How to use checksums
391f03f9f16de85ff080f7fadd14372fec99dab1365db773a0b7e5ef8ebc17ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Security for pdb2xyz 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page