🔬 PDB/MMCIF segment selector
Formerly published on PyPI as
pdb-select. That name is deprecated — usepdb-md.
PDB file segmentation tool, extract specific chains and residue ranges from PDB/MMCIF files.
Installation
pip install pdb-md
Usage
pdb-md --help
Usage: pdb-md [OPTIONS] COMMAND [ARGS]...
Segment selector for PDB/MMCIF Structure file
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ select Select segments from a PDB or MMCIF structure file. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
⚠️ Warning: Sequence index matching to Uniprot only be tested in AlphaFold PDB files.
Check for SIFTS
pdb-md select --help
Usage: pdb-md select [OPTIONS]
Select segments from a PDB or MMCIF structure file.
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --input -I <path> Input PDB or MMCIF file [required] │
│ --output -O <path> Output PDB file, defaults to <input stem>_selected.pdb in the current working directory │
│ * --segment -s <str> Segments to select, either 'chain' (whole chain, e.g. A) or 'chain:start-end' (e.g. A:1-10). Repeatable. [required] │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
example:
pdb-md select -I znf263_all_hs7_30_0.54_0.37_model_0.cif -O znf263_all_hs7_30_0.54_0.37_model_0_selected.pdb -s A:369-683 -s B -s C -s D -s E -s F -s G -s H -s I -s J -s K:1-47 -s L:29-75
change from
to
Metadata
Release files for pdb-md 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdb_md-0.1.0.tar.gz | 574.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdb_md-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 582.4 kB
Release files / pdb_md-0.1.0.tar.gz
| Download URL | pdb_md-0.1.0.tar.gz |
|---|---|
| Size | 574.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
654154528791ae68632679aa42e51b04400247b907577e93da6943ebdc30d0da
|
|
BLAKE2b-256 checksum How to use checksums |
b96de6f42131d297086ab434e511ba9986faa7cf47ef40dc4e5f98ced4d99f30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / pdb_md-0.1.0-py3-none-any.whl
| Download URL | pdb_md-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
559007195f88feadd424d567ff63fe0e61acc68ecfed4c3fce4c07fcf60ff192
|
|
BLAKE2b-256 checksum How to use checksums |
dbd13ca4ace5d45e5f6d71d91696c9a73eecad5bcdb217700c14fdbd150d6fde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|