🔬 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 | Provenance | Actions |
|---|---|---|---|---|
| pdb_select-0.1.2.tar.gz | 574.2 kB | Without provenance | Details for pdb_select-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdb_select-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pdb_select-0.1.2-py3-none-any.whl |
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
|
Security for pdb-select 0.1.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.