pdb2reaction extract¶
Usage: pdb2reaction extract [OPTIONS]
Extract an active site model around substrate residues (from a PDB or residue
IDs/names), with biochemically aware truncation and optional link-H; supports
multi-structure input and multi-MODEL output.
Options:
--help-advanced Show all options (including advanced settings)
and exit.
-i, --input TEXT Protein-substrate complex PDB(s). If multiple,
they must have identical atom counts and
ordering. [required]
-c, --center TEXT Substrate specification: a PDB path, a
comma/space-separated residue-ID list like
'123,124' or 'A:123,B:456' (insertion codes
supported), or a residue-name list like
'GPP,SAM'. [required]
-o, --output TEXT Output PDB path(s). One path for multi-MODEL
PDB, or N paths for per-file output. If
omitted: single input -> model.pdb; multiple
inputs -> model_{filename}.pdb.
-r, --radius FLOAT Cutoff (angstrom) around substrate atoms for
active site model inclusion. [default: 2.6]
--radius-het2het FLOAT Cutoff (angstrom) for substrate hetero-atom
(non-C/H) to neighbor hetero-atom proximity. 0
disables. [default: 0]
--include-h2o / --no-include-h2o
Include waters (HOH/WAT/TIP3/SOL). [default:
include-h2o]
--exclude-backbone / --no-exclude-backbone
Delete main-chain atoms from non-substrate
amino acids. [default: no-exclude-backbone]
--add-linkh / --no-add-linkh Add carbon-only link-H at 1.09 angstrom along
cut-bond directions. [default: add-linkh]
--selected-resn TEXT Comma/space-separated residue IDs to force-
include.
--modified-residue TEXT Comma-separated residue names (with optional
charge) to treat as amino acids for backbone
truncation and charge assignment. Examples:
'HD1,HD2,HD3' (charge defaults to 0) or
'HD1:0,SEP:-2'.
-l, --ligand-charge TEXT Total charge number or per-resname mapping
like 'GPP:-3,SAM:1'.
-v, --verbose / --no-verbose Enable INFO-level logging. [default: v]
--out-json / --no-out-json Write machine-readable result.json next to the
output PDB. [default: no-out-json]
-h, --help Show this message and exit.