Skip to main content

🔬 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]                                                                                                                   
                                                                                                                                               
 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, if not provided, will use input file name with _selected.pdb suffix in current    │
│                                          working directory                                                                                  │
│                                          [required]                                                                                         │
│ *  --segment             -s      <str>   Segments to select in the format chain:start-end (e.g., A:1-10). Repeatable. [required]            │
│    --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.                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

example:

pdb-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:1-10 -s B:20-30

Metadata

Release files for pdb-select 0.1.1

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

Source distribution (sdist)

Source distribution for pdb-select 0.1.1
File Size Uploaded
pdb_select-0.1.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdb-select 0.1.1
File Interpreter ABI Platform
pdb_select-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / pdb_select-0.1.1.tar.gz

Download URL pdb_select-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
be8aa3d53a4baf72b01a34bc8f35a56d840ad9433cba7d5cc04e46bcd3cd9910
BLAKE2b-256 checksum
How to use checksums
f7d4fbafd60ae3adf1c37e3bd2069d5cf3b8d1a7d68c2e3f11b96eacb7e6cf3b
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.1-py3-none-any.whl

Download URL pdb_select-0.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
289cc7076c64e0d08b2cbee54618ffbfd4caf50813c16d30c212af802287d83c
BLAKE2b-256 checksum
How to use checksums
13be43f74eb5d0fda7d7a8a4a5f8f81c09ac4ddfa9ffc2f56c0d39a2d1af0a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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