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 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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdb2xyz-0.3.0.tar.gz.
File metadata
- Download URL: pdb2xyz-0.3.0.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45450d1255b77fbd70f800f2a0d83ee2ea7fc9b20c8720a3bac2581326547ac6
|
|
| MD5 |
016bc9a28f739d8b4bebcb9ec2326121
|
|
| BLAKE2b-256 |
8fe64ef2bf95b170e4bb6eab478768fac0bb197daa756dde8aff9c9f982fad92
|
File details
Details for the file pdb2xyz-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pdb2xyz-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f2c8d33fba319b9b95fb75357c0d069b0f62565baf5687d58085aef6a7be5aa
|
|
| MD5 |
7dfa74763056c0362bb668d66afe3a28
|
|
| BLAKE2b-256 |
391f03f9f16de85ff080f7fadd14372fec99dab1365db773a0b7e5ef8ebc17ae
|