ts_graphs()
The topologically distinct TS channels from reactants to products (CCV).
Usage
ts_graphs(reactants: StereoMolGraph, products: StereoMolGraph, extra_breaks: int = 2) -> list[StereoReactionGraph]
ts_graphs(reactants: MolGraph, products: MolGraph, extra_breaks: int = 2) -> list[ReactionGraph]Each graph is in the reactants’ atom order, and each channel is one elementary step that changes something (P44): the channel where nothing changes is never returned, so a degenerate reaction (CH4 + CH3 → CH3 + CH4) gives its bond-changing channels.
With stereo inputs, the channels are the stereo-distinct ones whose two sides are the given reactants and products (stereo-aware isomorphism). If the two sides differ only in stereo, a channel with no bond changes and exactly one stereo change that needs no bonds (a rotation about a bond LS, or an inversion at a lone-pair centre) comes first. Otherwise, each topological channel’s LS are enumerated at the sites its reaction touches, so diastereotopic atoms give separate channels (the two H of C3 in (R)-butan-2-ol, say), and every other LS stays unchanged: a channel that would need a stereo change at an untouched site is not one step, and is dropped. The ts slots are left empty: the TS-slot rules (P70) are the low-T scheme’s (P84), so low_t(ch) sets them, and stereoisomers(low_t(ch)) gives the TS stereoisomers of a channel (a rotation’s two twisted TSs, P39). So the channels are one per topology and side stereo.
extra_breaks is the most bonds the search breaks and re-forms beyond those the bond counts require.
Raises
TypeError-
If the two graphs are not both MolGraphs or both StereoMolGraphs.
GraphError- If their charge or spin differ.