enumerate_protonation_states
Enumerate a small molecule's protonation states across a pH window with Dimorphite-DL (Ropp et al. 2019): each ionisable group it recognizes (substructures with pKa means and spreads taken from measured pKa values) is kept protonated, deprotonated or both, and every combination is returned as SMILES. Reproduces Dimorphite-DL 2.1.0, including that it neutralizes charged groups first and keeps only the part it neutralized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| ph_max | No | upper end of the pH window. | |
| ph_min | No | lower end of the pH window. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| molecule | Yes | the structure: SMILES or a molfile. | |
| precision | No | how many standard deviations of each group's pKa widen its window, 0–10. | |
| max_variants | No | stop enumerating past this many states (later groups are then not visited). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | Yes | per ionisable site: Dimorphite name, SMARTS, each pKa (mean, stdev, state) and its atoms on the input (0-based, implicit hydrogens), or null when they do not map | |
| capped | Yes | true when the enumeration stopped at max_variants | |
| states | Yes | every protonation state as canonical SMILES, sorted | |
| summary | Yes | the enumeration in words, generated from this run, with its caveats |