🔬 PDB/MMCIF segment selector
PDB file segmentation tool, extract specific chains and residue ranges from PDB/MMCIF files.
Installation
pip install pdb-select
Usage
pdb-select --help
Usage: pdb-select [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-select select --help
Usage: pdb-select 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-select 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-select 0.1.2
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_select-0.1.2.tar.gz | 574.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdb_select-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 582.5 kB
Release files / pdb_select-0.1.2.tar.gz
| Download URL | pdb_select-0.1.2.tar.gz |
|---|---|
| Size | 574.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf2af76b4aa61c0d09c39af44dca9509466a248add3cac4a3827c4fa02c1e038
|
|
BLAKE2b-256 checksum How to use checksums |
963fd55863b1566f6b6da77fe843d86a59e103b34a11d943cc4c60c2222fc7d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / pdb_select-0.1.2-py3-none-any.whl
| Download URL | pdb_select-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af32da39e7fcbda1f8dd2881a6bcd98877f56e7e00bf7f7df3c3bb8dd26ee414
|
|
BLAKE2b-256 checksum How to use checksums |
08d4f1df96a1ccbb67e5cb661d46787485f76b3b1d55e87ccfebb42d2c5c68fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|